#define protected public #define private public #include "core.h" #include "_cgo_export.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class MyQAbstractAnimation: public QAbstractAnimation { public: MyQAbstractAnimation(QObject *parent) : QAbstractAnimation(parent) {}; void setCurrentTime(int msecs) { callbackQAbstractAnimation_SetCurrentTime(this, this->objectName().toUtf8().data(), msecs); }; void Signal_CurrentLoopChanged(int currentLoop) { callbackQAbstractAnimation_CurrentLoopChanged(this, this->objectName().toUtf8().data(), currentLoop); }; void Signal_DirectionChanged(QAbstractAnimation::Direction newDirection) { callbackQAbstractAnimation_DirectionChanged(this, this->objectName().toUtf8().data(), newDirection); }; int duration() const { return callbackQAbstractAnimation_Duration(const_cast(this), this->objectName().toUtf8().data()); }; bool event(QEvent * event) { return callbackQAbstractAnimation_Event(this, this->objectName().toUtf8().data(), event) != 0; }; void Signal_Finished() { callbackQAbstractAnimation_Finished(this, this->objectName().toUtf8().data()); }; void pause() { callbackQAbstractAnimation_Pause(this, this->objectName().toUtf8().data()); }; void resume() { callbackQAbstractAnimation_Resume(this, this->objectName().toUtf8().data()); }; void setPaused(bool paused) { callbackQAbstractAnimation_SetPaused(this, this->objectName().toUtf8().data(), paused); }; void start(QAbstractAnimation::DeletionPolicy policy) { callbackQAbstractAnimation_Start(this, this->objectName().toUtf8().data(), policy); }; void Signal_StateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { callbackQAbstractAnimation_StateChanged(this, this->objectName().toUtf8().data(), newState, oldState); }; void stop() { callbackQAbstractAnimation_Stop(this, this->objectName().toUtf8().data()); }; void updateCurrentTime(int currentTime) { callbackQAbstractAnimation_UpdateCurrentTime(this, this->objectName().toUtf8().data(), currentTime); }; void updateDirection(QAbstractAnimation::Direction direction) { callbackQAbstractAnimation_UpdateDirection(this, this->objectName().toUtf8().data(), direction); }; void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { callbackQAbstractAnimation_UpdateState(this, this->objectName().toUtf8().data(), newState, oldState); }; void timerEvent(QTimerEvent * event) { callbackQAbstractAnimation_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQAbstractAnimation_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractAnimation_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQAbstractAnimation_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQAbstractAnimation_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractAnimation_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractAnimation_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractAnimation_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; int QAbstractAnimation_CurrentLoop(void* ptr) { return static_cast(ptr)->currentLoop(); } int QAbstractAnimation_CurrentTime(void* ptr) { return static_cast(ptr)->currentTime(); } int QAbstractAnimation_Direction(void* ptr) { return static_cast(ptr)->direction(); } int QAbstractAnimation_LoopCount(void* ptr) { return static_cast(ptr)->loopCount(); } void QAbstractAnimation_SetCurrentTime(void* ptr, int msecs) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentTime", Q_ARG(int, msecs)); } void QAbstractAnimation_SetDirection(void* ptr, int direction) { static_cast(ptr)->setDirection(static_cast(direction)); } void QAbstractAnimation_SetLoopCount(void* ptr, int loopCount) { static_cast(ptr)->setLoopCount(loopCount); } int QAbstractAnimation_State(void* ptr) { return static_cast(ptr)->state(); } void* QAbstractAnimation_NewQAbstractAnimation(void* parent) { return new MyQAbstractAnimation(static_cast(parent)); } void QAbstractAnimation_ConnectCurrentLoopChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QAbstractAnimation::currentLoopChanged), static_cast(ptr), static_cast(&MyQAbstractAnimation::Signal_CurrentLoopChanged)); } void QAbstractAnimation_DisconnectCurrentLoopChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractAnimation::currentLoopChanged), static_cast(ptr), static_cast(&MyQAbstractAnimation::Signal_CurrentLoopChanged)); } void QAbstractAnimation_CurrentLoopChanged(void* ptr, int currentLoop) { static_cast(ptr)->currentLoopChanged(currentLoop); } int QAbstractAnimation_CurrentLoopTime(void* ptr) { return static_cast(ptr)->currentLoopTime(); } void QAbstractAnimation_ConnectDirectionChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QAbstractAnimation::directionChanged), static_cast(ptr), static_cast(&MyQAbstractAnimation::Signal_DirectionChanged)); } void QAbstractAnimation_DisconnectDirectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractAnimation::directionChanged), static_cast(ptr), static_cast(&MyQAbstractAnimation::Signal_DirectionChanged)); } void QAbstractAnimation_DirectionChanged(void* ptr, int newDirection) { static_cast(ptr)->directionChanged(static_cast(newDirection)); } int QAbstractAnimation_Duration(void* ptr) { return static_cast(ptr)->duration(); } int QAbstractAnimation_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } int QAbstractAnimation_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QAbstractAnimation::event(static_cast(event)); } void QAbstractAnimation_ConnectFinished(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QAbstractAnimation::finished), static_cast(ptr), static_cast(&MyQAbstractAnimation::Signal_Finished)); } void QAbstractAnimation_DisconnectFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractAnimation::finished), static_cast(ptr), static_cast(&MyQAbstractAnimation::Signal_Finished)); } void QAbstractAnimation_Finished(void* ptr) { static_cast(ptr)->finished(); } void* QAbstractAnimation_Group(void* ptr) { return static_cast(ptr)->group(); } void QAbstractAnimation_Pause(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "pause"); } void QAbstractAnimation_Resume(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resume"); } void QAbstractAnimation_SetPaused(void* ptr, int paused) { QMetaObject::invokeMethod(static_cast(ptr), "setPaused", Q_ARG(bool, paused != 0)); } void QAbstractAnimation_Start(void* ptr, int policy) { QMetaObject::invokeMethod(static_cast(ptr), "start", Q_ARG(QAbstractAnimation::DeletionPolicy, static_cast(policy))); } void QAbstractAnimation_ConnectStateChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QAbstractAnimation::stateChanged), static_cast(ptr), static_cast(&MyQAbstractAnimation::Signal_StateChanged)); } void QAbstractAnimation_DisconnectStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractAnimation::stateChanged), static_cast(ptr), static_cast(&MyQAbstractAnimation::Signal_StateChanged)); } void QAbstractAnimation_StateChanged(void* ptr, int newState, int oldState) { static_cast(ptr)->stateChanged(static_cast(newState), static_cast(oldState)); } void QAbstractAnimation_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } int QAbstractAnimation_TotalDuration(void* ptr) { return static_cast(ptr)->totalDuration(); } void QAbstractAnimation_UpdateCurrentTime(void* ptr, int currentTime) { static_cast(ptr)->updateCurrentTime(currentTime); } void QAbstractAnimation_UpdateDirection(void* ptr, int direction) { static_cast(ptr)->updateDirection(static_cast(direction)); } void QAbstractAnimation_UpdateDirectionDefault(void* ptr, int direction) { static_cast(ptr)->QAbstractAnimation::updateDirection(static_cast(direction)); } void QAbstractAnimation_UpdateState(void* ptr, int newState, int oldState) { static_cast(ptr)->updateState(static_cast(newState), static_cast(oldState)); } void QAbstractAnimation_UpdateStateDefault(void* ptr, int newState, int oldState) { static_cast(ptr)->QAbstractAnimation::updateState(static_cast(newState), static_cast(oldState)); } void QAbstractAnimation_DestroyQAbstractAnimation(void* ptr) { static_cast(ptr)->~QAbstractAnimation(); } void QAbstractAnimation_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QAbstractAnimation_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractAnimation::timerEvent(static_cast(event)); } void QAbstractAnimation_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QAbstractAnimation_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractAnimation::childEvent(static_cast(event)); } void QAbstractAnimation_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QAbstractAnimation_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractAnimation::connectNotify(*static_cast(sign)); } void QAbstractAnimation_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QAbstractAnimation_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractAnimation::customEvent(static_cast(event)); } void QAbstractAnimation_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QAbstractAnimation_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QAbstractAnimation::deleteLater(); } void QAbstractAnimation_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QAbstractAnimation_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractAnimation::disconnectNotify(*static_cast(sign)); } int QAbstractAnimation_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QAbstractAnimation_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QAbstractAnimation::eventFilter(static_cast(watched), static_cast(event)); } void* QAbstractAnimation_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QAbstractAnimation_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QAbstractAnimation::metaObject()); } class MyQAbstractEventDispatcher: public QAbstractEventDispatcher { public: void Signal_AboutToBlock() { callbackQAbstractEventDispatcher_AboutToBlock(this, this->objectName().toUtf8().data()); }; void Signal_Awake() { callbackQAbstractEventDispatcher_Awake(this, this->objectName().toUtf8().data()); }; void flush() { callbackQAbstractEventDispatcher_Flush(this, this->objectName().toUtf8().data()); }; void interrupt() { callbackQAbstractEventDispatcher_Interrupt(this, this->objectName().toUtf8().data()); }; bool processEvents(QEventLoop::ProcessEventsFlags flags) { return callbackQAbstractEventDispatcher_ProcessEvents(this, this->objectName().toUtf8().data(), flags) != 0; }; #ifdef Q_OS_WIN bool registerEventNotifier(QWinEventNotifier * notifier) { return callbackQAbstractEventDispatcher_RegisterEventNotifier(this, this->objectName().toUtf8().data(), notifier) != 0; }; #endif void registerSocketNotifier(QSocketNotifier * notifier) { callbackQAbstractEventDispatcher_RegisterSocketNotifier(this, this->objectName().toUtf8().data(), notifier); }; void registerTimer(int timerId, int interval, Qt::TimerType timerType, QObject * object) { callbackQAbstractEventDispatcher_RegisterTimer4(this, this->objectName().toUtf8().data(), timerId, interval, timerType, object); }; int remainingTime(int timerId) { return callbackQAbstractEventDispatcher_RemainingTime(this, this->objectName().toUtf8().data(), timerId); }; #ifdef Q_OS_WIN void unregisterEventNotifier(QWinEventNotifier * notifier) { callbackQAbstractEventDispatcher_UnregisterEventNotifier(this, this->objectName().toUtf8().data(), notifier); }; #endif void unregisterSocketNotifier(QSocketNotifier * notifier) { callbackQAbstractEventDispatcher_UnregisterSocketNotifier(this, this->objectName().toUtf8().data(), notifier); }; bool unregisterTimer(int timerId) { return callbackQAbstractEventDispatcher_UnregisterTimer(this, this->objectName().toUtf8().data(), timerId) != 0; }; bool unregisterTimers(QObject * object) { return callbackQAbstractEventDispatcher_UnregisterTimers(this, this->objectName().toUtf8().data(), object) != 0; }; void wakeUp() { callbackQAbstractEventDispatcher_WakeUp(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQAbstractEventDispatcher_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQAbstractEventDispatcher_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractEventDispatcher_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQAbstractEventDispatcher_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQAbstractEventDispatcher_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractEventDispatcher_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQAbstractEventDispatcher_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractEventDispatcher_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractEventDispatcher_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void QAbstractEventDispatcher_ConnectAboutToBlock(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QAbstractEventDispatcher::aboutToBlock), static_cast(ptr), static_cast(&MyQAbstractEventDispatcher::Signal_AboutToBlock)); } void QAbstractEventDispatcher_DisconnectAboutToBlock(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractEventDispatcher::aboutToBlock), static_cast(ptr), static_cast(&MyQAbstractEventDispatcher::Signal_AboutToBlock)); } void QAbstractEventDispatcher_AboutToBlock(void* ptr) { static_cast(ptr)->aboutToBlock(); } void QAbstractEventDispatcher_ConnectAwake(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QAbstractEventDispatcher::awake), static_cast(ptr), static_cast(&MyQAbstractEventDispatcher::Signal_Awake)); } void QAbstractEventDispatcher_DisconnectAwake(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractEventDispatcher::awake), static_cast(ptr), static_cast(&MyQAbstractEventDispatcher::Signal_Awake)); } void QAbstractEventDispatcher_Awake(void* ptr) { static_cast(ptr)->awake(); } int QAbstractEventDispatcher_FilterNativeEvent(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->filterNativeEvent(QByteArray(eventType), message, &result); } void QAbstractEventDispatcher_Flush(void* ptr) { static_cast(ptr)->flush(); } void QAbstractEventDispatcher_InstallNativeEventFilter(void* ptr, void* filterObj) { static_cast(ptr)->installNativeEventFilter(static_cast(filterObj)); } void* QAbstractEventDispatcher_QAbstractEventDispatcher_Instance(void* thread) { return QAbstractEventDispatcher::instance(static_cast(thread)); } void QAbstractEventDispatcher_Interrupt(void* ptr) { static_cast(ptr)->interrupt(); } int QAbstractEventDispatcher_ProcessEvents(void* ptr, int flags) { return static_cast(ptr)->processEvents(static_cast(flags)); } int QAbstractEventDispatcher_RegisterEventNotifier(void* ptr, void* notifier) { #ifdef Q_OS_WIN return static_cast(ptr)->registerEventNotifier(static_cast(notifier)); #else return false; #endif } void QAbstractEventDispatcher_RegisterSocketNotifier(void* ptr, void* notifier) { static_cast(ptr)->registerSocketNotifier(static_cast(notifier)); } int QAbstractEventDispatcher_RegisterTimer(void* ptr, int interval, int timerType, void* object) { return static_cast(ptr)->registerTimer(interval, static_cast(timerType), static_cast(object)); } void QAbstractEventDispatcher_RegisterTimer4(void* ptr, int timerId, int interval, int timerType, void* object) { static_cast(ptr)->registerTimer(timerId, interval, static_cast(timerType), static_cast(object)); } int QAbstractEventDispatcher_RemainingTime(void* ptr, int timerId) { return static_cast(ptr)->remainingTime(timerId); } void QAbstractEventDispatcher_RemoveNativeEventFilter(void* ptr, void* filter) { static_cast(ptr)->removeNativeEventFilter(static_cast(filter)); } void QAbstractEventDispatcher_UnregisterEventNotifier(void* ptr, void* notifier) { #ifdef Q_OS_WIN static_cast(ptr)->unregisterEventNotifier(static_cast(notifier)); #endif } void QAbstractEventDispatcher_UnregisterSocketNotifier(void* ptr, void* notifier) { static_cast(ptr)->unregisterSocketNotifier(static_cast(notifier)); } int QAbstractEventDispatcher_UnregisterTimer(void* ptr, int timerId) { return static_cast(ptr)->unregisterTimer(timerId); } int QAbstractEventDispatcher_UnregisterTimers(void* ptr, void* object) { return static_cast(ptr)->unregisterTimers(static_cast(object)); } void QAbstractEventDispatcher_WakeUp(void* ptr) { static_cast(ptr)->wakeUp(); } void QAbstractEventDispatcher_DestroyQAbstractEventDispatcher(void* ptr) { static_cast(ptr)->~QAbstractEventDispatcher(); } void QAbstractEventDispatcher_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QAbstractEventDispatcher_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractEventDispatcher::timerEvent(static_cast(event)); } void QAbstractEventDispatcher_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QAbstractEventDispatcher_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractEventDispatcher::childEvent(static_cast(event)); } void QAbstractEventDispatcher_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QAbstractEventDispatcher_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractEventDispatcher::connectNotify(*static_cast(sign)); } void QAbstractEventDispatcher_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QAbstractEventDispatcher_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractEventDispatcher::customEvent(static_cast(event)); } void QAbstractEventDispatcher_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QAbstractEventDispatcher_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QAbstractEventDispatcher::deleteLater(); } void QAbstractEventDispatcher_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QAbstractEventDispatcher_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractEventDispatcher::disconnectNotify(*static_cast(sign)); } int QAbstractEventDispatcher_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QAbstractEventDispatcher_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QAbstractEventDispatcher::event(static_cast(e)); } int QAbstractEventDispatcher_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QAbstractEventDispatcher_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QAbstractEventDispatcher::eventFilter(static_cast(watched), static_cast(event)); } void* QAbstractEventDispatcher_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QAbstractEventDispatcher_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QAbstractEventDispatcher::metaObject()); } class MyQAbstractItemModel: public QAbstractItemModel { public: MyQAbstractItemModel(QObject *parent) : QAbstractItemModel(parent) {}; QModelIndex sibling(int row, int column, const QModelIndex & index) const { return *static_cast(callbackQAbstractItemModel_Sibling(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(index))); }; QModelIndex buddy(const QModelIndex & index) const { return *static_cast(callbackQAbstractItemModel_Buddy(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQAbstractItemModel_CanDropMimeData(const_cast(this), this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; bool canFetchMore(const QModelIndex & parent) const { return callbackQAbstractItemModel_CanFetchMore(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; int columnCount(const QModelIndex & parent) const { return callbackQAbstractItemModel_ColumnCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; void Signal_ColumnsAboutToBeInserted(const QModelIndex & parent, int first, int last) { callbackQAbstractItemModel_ColumnsAboutToBeInserted(this, this->objectName().toUtf8().data(), new QModelIndex(parent), first, last); }; void Signal_ColumnsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationColumn) { callbackQAbstractItemModel_ColumnsAboutToBeMoved(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceStart, sourceEnd, new QModelIndex(destinationParent), destinationColumn); }; void Signal_ColumnsAboutToBeRemoved(const QModelIndex & parent, int first, int last) { callbackQAbstractItemModel_ColumnsAboutToBeRemoved(this, this->objectName().toUtf8().data(), new QModelIndex(parent), first, last); }; void Signal_ColumnsInserted(const QModelIndex & parent, int first, int last) { callbackQAbstractItemModel_ColumnsInserted(this, this->objectName().toUtf8().data(), new QModelIndex(parent), first, last); }; void Signal_ColumnsMoved(const QModelIndex & parent, int start, int end, const QModelIndex & destination, int column) { callbackQAbstractItemModel_ColumnsMoved(this, this->objectName().toUtf8().data(), new QModelIndex(parent), start, end, new QModelIndex(destination), column); }; void Signal_ColumnsRemoved(const QModelIndex & parent, int first, int last) { callbackQAbstractItemModel_ColumnsRemoved(this, this->objectName().toUtf8().data(), new QModelIndex(parent), first, last); }; QVariant data(const QModelIndex & index, int role) const { return *static_cast(callbackQAbstractItemModel_Data(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index), role)); }; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractItemModel_DropMimeData(this, this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; void fetchMore(const QModelIndex & parent) { callbackQAbstractItemModel_FetchMore(this, this->objectName().toUtf8().data(), new QModelIndex(parent)); }; Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast(callbackQAbstractItemModel_Flags(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool hasChildren(const QModelIndex & parent) const { return callbackQAbstractItemModel_HasChildren(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast(callbackQAbstractItemModel_HeaderData(const_cast(this), this->objectName().toUtf8().data(), section, orientation, role)); }; void Signal_HeaderDataChanged(Qt::Orientation orientation, int first, int last) { callbackQAbstractItemModel_HeaderDataChanged(this, this->objectName().toUtf8().data(), orientation, first, last); }; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQAbstractItemModel_Index(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(parent))); }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_InsertColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_InsertRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; QStringList mimeTypes() const { return QString(callbackQAbstractItemModel_MimeTypes(const_cast(this), this->objectName().toUtf8().data())).split("|", QString::SkipEmptyParts); }; void Signal_ModelAboutToBeReset() { callbackQAbstractItemModel_ModelAboutToBeReset(this, this->objectName().toUtf8().data()); }; void Signal_ModelReset() { callbackQAbstractItemModel_ModelReset(this, this->objectName().toUtf8().data()); }; bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQAbstractItemModel_MoveColumns(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceColumn, count, new QModelIndex(destinationParent), destinationChild) != 0; }; bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQAbstractItemModel_MoveRows(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceRow, count, new QModelIndex(destinationParent), destinationChild) != 0; }; QModelIndex parent(const QModelIndex & index) const { return *static_cast(callbackQAbstractItemModel_Parent(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_RemoveColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractItemModel_RemoveRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; void resetInternalData() { callbackQAbstractItemModel_ResetInternalData(this, this->objectName().toUtf8().data()); }; void revert() { callbackQAbstractItemModel_Revert(this, this->objectName().toUtf8().data()); }; int rowCount(const QModelIndex & parent) const { return callbackQAbstractItemModel_RowCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; void Signal_RowsAboutToBeInserted(const QModelIndex & parent, int start, int end) { callbackQAbstractItemModel_RowsAboutToBeInserted(this, this->objectName().toUtf8().data(), new QModelIndex(parent), start, end); }; void Signal_RowsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationRow) { callbackQAbstractItemModel_RowsAboutToBeMoved(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceStart, sourceEnd, new QModelIndex(destinationParent), destinationRow); }; void Signal_RowsAboutToBeRemoved(const QModelIndex & parent, int first, int last) { callbackQAbstractItemModel_RowsAboutToBeRemoved(this, this->objectName().toUtf8().data(), new QModelIndex(parent), first, last); }; void Signal_RowsInserted(const QModelIndex & parent, int first, int last) { callbackQAbstractItemModel_RowsInserted(this, this->objectName().toUtf8().data(), new QModelIndex(parent), first, last); }; void Signal_RowsMoved(const QModelIndex & parent, int start, int end, const QModelIndex & destination, int row) { callbackQAbstractItemModel_RowsMoved(this, this->objectName().toUtf8().data(), new QModelIndex(parent), start, end, new QModelIndex(destination), row); }; void Signal_RowsRemoved(const QModelIndex & parent, int first, int last) { callbackQAbstractItemModel_RowsRemoved(this, this->objectName().toUtf8().data(), new QModelIndex(parent), first, last); }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQAbstractItemModel_SetData(this, this->objectName().toUtf8().data(), new QModelIndex(index), new QVariant(value), role) != 0; }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQAbstractItemModel_SetHeaderData(this, this->objectName().toUtf8().data(), section, orientation, new QVariant(value), role) != 0; }; void sort(int column, Qt::SortOrder order) { callbackQAbstractItemModel_Sort(this, this->objectName().toUtf8().data(), column, order); }; QSize span(const QModelIndex & index) const { return *static_cast(callbackQAbstractItemModel_Span(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool submit() { return callbackQAbstractItemModel_Submit(this, this->objectName().toUtf8().data()) != 0; }; Qt::DropActions supportedDragActions() const { return static_cast(callbackQAbstractItemModel_SupportedDragActions(const_cast(this), this->objectName().toUtf8().data())); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQAbstractItemModel_SupportedDropActions(const_cast(this), this->objectName().toUtf8().data())); }; void timerEvent(QTimerEvent * event) { callbackQAbstractItemModel_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQAbstractItemModel_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractItemModel_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQAbstractItemModel_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQAbstractItemModel_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractItemModel_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQAbstractItemModel_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractItemModel_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractItemModel_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QAbstractItemModel_Sibling(void* ptr, int row, int column, void* index) { return new QModelIndex(static_cast(ptr)->sibling(row, column, *static_cast(index))); } void* QAbstractItemModel_SiblingDefault(void* ptr, int row, int column, void* index) { return new QModelIndex(static_cast(ptr)->QAbstractItemModel::sibling(row, column, *static_cast(index))); } void* QAbstractItemModel_NewQAbstractItemModel(void* parent) { return new MyQAbstractItemModel(static_cast(parent)); } void QAbstractItemModel_BeginInsertColumns(void* ptr, void* parent, int first, int last) { static_cast(ptr)->beginInsertColumns(*static_cast(parent), first, last); } void QAbstractItemModel_BeginInsertRows(void* ptr, void* parent, int first, int last) { static_cast(ptr)->beginInsertRows(*static_cast(parent), first, last); } int QAbstractItemModel_BeginMoveColumns(void* ptr, void* sourceParent, int sourceFirst, int sourceLast, void* destinationParent, int destinationChild) { return static_cast(ptr)->beginMoveColumns(*static_cast(sourceParent), sourceFirst, sourceLast, *static_cast(destinationParent), destinationChild); } int QAbstractItemModel_BeginMoveRows(void* ptr, void* sourceParent, int sourceFirst, int sourceLast, void* destinationParent, int destinationChild) { return static_cast(ptr)->beginMoveRows(*static_cast(sourceParent), sourceFirst, sourceLast, *static_cast(destinationParent), destinationChild); } void QAbstractItemModel_BeginRemoveColumns(void* ptr, void* parent, int first, int last) { static_cast(ptr)->beginRemoveColumns(*static_cast(parent), first, last); } void QAbstractItemModel_BeginRemoveRows(void* ptr, void* parent, int first, int last) { static_cast(ptr)->beginRemoveRows(*static_cast(parent), first, last); } void QAbstractItemModel_BeginResetModel(void* ptr) { static_cast(ptr)->beginResetModel(); } void* QAbstractItemModel_Buddy(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->buddy(*static_cast(index))); } void* QAbstractItemModel_BuddyDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QAbstractItemModel::buddy(*static_cast(index))); } int QAbstractItemModel_CanDropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractItemModel_CanDropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QAbstractItemModel::canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractItemModel_CanFetchMore(void* ptr, void* parent) { return static_cast(ptr)->canFetchMore(*static_cast(parent)); } int QAbstractItemModel_CanFetchMoreDefault(void* ptr, void* parent) { return static_cast(ptr)->QAbstractItemModel::canFetchMore(*static_cast(parent)); } void QAbstractItemModel_ChangePersistentIndex(void* ptr, void* from, void* to) { static_cast(ptr)->changePersistentIndex(*static_cast(from), *static_cast(to)); } int QAbstractItemModel_ColumnCount(void* ptr, void* parent) { return static_cast(ptr)->columnCount(*static_cast(parent)); } void QAbstractItemModel_ConnectColumnsAboutToBeInserted(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::columnsAboutToBeInserted, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsAboutToBeInserted)); } void QAbstractItemModel_DisconnectColumnsAboutToBeInserted(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::columnsAboutToBeInserted, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsAboutToBeInserted)); } void QAbstractItemModel_ConnectColumnsAboutToBeMoved(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::columnsAboutToBeMoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsAboutToBeMoved)); } void QAbstractItemModel_DisconnectColumnsAboutToBeMoved(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::columnsAboutToBeMoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsAboutToBeMoved)); } void QAbstractItemModel_ConnectColumnsAboutToBeRemoved(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::columnsAboutToBeRemoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsAboutToBeRemoved)); } void QAbstractItemModel_DisconnectColumnsAboutToBeRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::columnsAboutToBeRemoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsAboutToBeRemoved)); } void QAbstractItemModel_ConnectColumnsInserted(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::columnsInserted, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsInserted)); } void QAbstractItemModel_DisconnectColumnsInserted(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::columnsInserted, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsInserted)); } void QAbstractItemModel_ConnectColumnsMoved(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::columnsMoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsMoved)); } void QAbstractItemModel_DisconnectColumnsMoved(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::columnsMoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsMoved)); } void QAbstractItemModel_ConnectColumnsRemoved(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::columnsRemoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsRemoved)); } void QAbstractItemModel_DisconnectColumnsRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::columnsRemoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ColumnsRemoved)); } void* QAbstractItemModel_CreateIndex(void* ptr, int row, int column, void* p) { return new QModelIndex(static_cast(ptr)->createIndex(row, column, p)); } void* QAbstractItemModel_Data(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->data(*static_cast(index), role)); } int QAbstractItemModel_DropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractItemModel_DropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QAbstractItemModel::dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } void QAbstractItemModel_EndInsertColumns(void* ptr) { static_cast(ptr)->endInsertColumns(); } void QAbstractItemModel_EndInsertRows(void* ptr) { static_cast(ptr)->endInsertRows(); } void QAbstractItemModel_EndMoveColumns(void* ptr) { static_cast(ptr)->endMoveColumns(); } void QAbstractItemModel_EndMoveRows(void* ptr) { static_cast(ptr)->endMoveRows(); } void QAbstractItemModel_EndRemoveColumns(void* ptr) { static_cast(ptr)->endRemoveColumns(); } void QAbstractItemModel_EndRemoveRows(void* ptr) { static_cast(ptr)->endRemoveRows(); } void QAbstractItemModel_EndResetModel(void* ptr) { static_cast(ptr)->endResetModel(); } void QAbstractItemModel_FetchMore(void* ptr, void* parent) { static_cast(ptr)->fetchMore(*static_cast(parent)); } void QAbstractItemModel_FetchMoreDefault(void* ptr, void* parent) { static_cast(ptr)->QAbstractItemModel::fetchMore(*static_cast(parent)); } int QAbstractItemModel_Flags(void* ptr, void* index) { return static_cast(ptr)->flags(*static_cast(index)); } int QAbstractItemModel_FlagsDefault(void* ptr, void* index) { return static_cast(ptr)->QAbstractItemModel::flags(*static_cast(index)); } int QAbstractItemModel_HasChildren(void* ptr, void* parent) { return static_cast(ptr)->hasChildren(*static_cast(parent)); } int QAbstractItemModel_HasChildrenDefault(void* ptr, void* parent) { return static_cast(ptr)->QAbstractItemModel::hasChildren(*static_cast(parent)); } int QAbstractItemModel_HasIndex(void* ptr, int row, int column, void* parent) { return static_cast(ptr)->hasIndex(row, column, *static_cast(parent)); } void* QAbstractItemModel_HeaderData(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->headerData(section, static_cast(orientation), role)); } void* QAbstractItemModel_HeaderDataDefault(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->QAbstractItemModel::headerData(section, static_cast(orientation), role)); } void QAbstractItemModel_ConnectHeaderDataChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemModel::headerDataChanged), static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_HeaderDataChanged)); } void QAbstractItemModel_DisconnectHeaderDataChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemModel::headerDataChanged), static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_HeaderDataChanged)); } void QAbstractItemModel_HeaderDataChanged(void* ptr, int orientation, int first, int last) { static_cast(ptr)->headerDataChanged(static_cast(orientation), first, last); } void* QAbstractItemModel_Index(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->index(row, column, *static_cast(parent))); } int QAbstractItemModel_InsertColumn(void* ptr, int column, void* parent) { return static_cast(ptr)->insertColumn(column, *static_cast(parent)); } int QAbstractItemModel_InsertColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->insertColumns(column, count, *static_cast(parent)); } int QAbstractItemModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QAbstractItemModel::insertColumns(column, count, *static_cast(parent)); } int QAbstractItemModel_InsertRow(void* ptr, int row, void* parent) { return static_cast(ptr)->insertRow(row, *static_cast(parent)); } int QAbstractItemModel_InsertRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->insertRows(row, count, *static_cast(parent)); } int QAbstractItemModel_InsertRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QAbstractItemModel::insertRows(row, count, *static_cast(parent)); } char* QAbstractItemModel_MimeTypes(void* ptr) { return static_cast(ptr)->mimeTypes().join("|").toUtf8().data(); } char* QAbstractItemModel_MimeTypesDefault(void* ptr) { return static_cast(ptr)->QAbstractItemModel::mimeTypes().join("|").toUtf8().data(); } void QAbstractItemModel_ConnectModelAboutToBeReset(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::modelAboutToBeReset, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ModelAboutToBeReset)); } void QAbstractItemModel_DisconnectModelAboutToBeReset(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::modelAboutToBeReset, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ModelAboutToBeReset)); } void QAbstractItemModel_ConnectModelReset(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::modelReset, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ModelReset)); } void QAbstractItemModel_DisconnectModelReset(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::modelReset, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_ModelReset)); } int QAbstractItemModel_MoveColumn(void* ptr, void* sourceParent, int sourceColumn, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveColumn(*static_cast(sourceParent), sourceColumn, *static_cast(destinationParent), destinationChild); } int QAbstractItemModel_MoveColumns(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QAbstractItemModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QAbstractItemModel::moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QAbstractItemModel_MoveRow(void* ptr, void* sourceParent, int sourceRow, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveRow(*static_cast(sourceParent), sourceRow, *static_cast(destinationParent), destinationChild); } int QAbstractItemModel_MoveRows(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } int QAbstractItemModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QAbstractItemModel::moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } void* QAbstractItemModel_Parent(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->parent(*static_cast(index))); } int QAbstractItemModel_RemoveColumn(void* ptr, int column, void* parent) { return static_cast(ptr)->removeColumn(column, *static_cast(parent)); } int QAbstractItemModel_RemoveColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->removeColumns(column, count, *static_cast(parent)); } int QAbstractItemModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QAbstractItemModel::removeColumns(column, count, *static_cast(parent)); } int QAbstractItemModel_RemoveRow(void* ptr, int row, void* parent) { return static_cast(ptr)->removeRow(row, *static_cast(parent)); } int QAbstractItemModel_RemoveRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->removeRows(row, count, *static_cast(parent)); } int QAbstractItemModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QAbstractItemModel::removeRows(row, count, *static_cast(parent)); } void QAbstractItemModel_ResetInternalData(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resetInternalData"); } void QAbstractItemModel_Revert(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "revert"); } void QAbstractItemModel_RevertDefault(void* ptr) { static_cast(ptr)->QAbstractItemModel::revert(); } int QAbstractItemModel_RowCount(void* ptr, void* parent) { return static_cast(ptr)->rowCount(*static_cast(parent)); } void QAbstractItemModel_ConnectRowsAboutToBeInserted(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::rowsAboutToBeInserted, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsAboutToBeInserted)); } void QAbstractItemModel_DisconnectRowsAboutToBeInserted(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::rowsAboutToBeInserted, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsAboutToBeInserted)); } void QAbstractItemModel_ConnectRowsAboutToBeMoved(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::rowsAboutToBeMoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsAboutToBeMoved)); } void QAbstractItemModel_DisconnectRowsAboutToBeMoved(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::rowsAboutToBeMoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsAboutToBeMoved)); } void QAbstractItemModel_ConnectRowsAboutToBeRemoved(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::rowsAboutToBeRemoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsAboutToBeRemoved)); } void QAbstractItemModel_DisconnectRowsAboutToBeRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::rowsAboutToBeRemoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsAboutToBeRemoved)); } void QAbstractItemModel_ConnectRowsInserted(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::rowsInserted, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsInserted)); } void QAbstractItemModel_DisconnectRowsInserted(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::rowsInserted, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsInserted)); } void QAbstractItemModel_ConnectRowsMoved(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::rowsMoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsMoved)); } void QAbstractItemModel_DisconnectRowsMoved(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::rowsMoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsMoved)); } void QAbstractItemModel_ConnectRowsRemoved(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractItemModel::rowsRemoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsRemoved)); } void QAbstractItemModel_DisconnectRowsRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractItemModel::rowsRemoved, static_cast(ptr), static_cast(&MyQAbstractItemModel::Signal_RowsRemoved)); } int QAbstractItemModel_SetData(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->setData(*static_cast(index), *static_cast(value), role); } int QAbstractItemModel_SetDataDefault(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->QAbstractItemModel::setData(*static_cast(index), *static_cast(value), role); } int QAbstractItemModel_SetHeaderData(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->setHeaderData(section, static_cast(orientation), *static_cast(value), role); } int QAbstractItemModel_SetHeaderDataDefault(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->QAbstractItemModel::setHeaderData(section, static_cast(orientation), *static_cast(value), role); } void QAbstractItemModel_Sort(void* ptr, int column, int order) { static_cast(ptr)->sort(column, static_cast(order)); } void QAbstractItemModel_SortDefault(void* ptr, int column, int order) { static_cast(ptr)->QAbstractItemModel::sort(column, static_cast(order)); } void* QAbstractItemModel_Span(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->span(*static_cast(index))).width(), static_cast(static_cast(ptr)->span(*static_cast(index))).height()); } void* QAbstractItemModel_SpanDefault(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->QAbstractItemModel::span(*static_cast(index))).width(), static_cast(static_cast(ptr)->QAbstractItemModel::span(*static_cast(index))).height()); } int QAbstractItemModel_Submit(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "submit", Q_RETURN_ARG(bool, returnArg)); return returnArg; } int QAbstractItemModel_SubmitDefault(void* ptr) { return static_cast(ptr)->QAbstractItemModel::submit(); } int QAbstractItemModel_SupportedDragActions(void* ptr) { return static_cast(ptr)->supportedDragActions(); } int QAbstractItemModel_SupportedDragActionsDefault(void* ptr) { return static_cast(ptr)->QAbstractItemModel::supportedDragActions(); } int QAbstractItemModel_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } int QAbstractItemModel_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QAbstractItemModel::supportedDropActions(); } void QAbstractItemModel_DestroyQAbstractItemModel(void* ptr) { static_cast(ptr)->~QAbstractItemModel(); } void QAbstractItemModel_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QAbstractItemModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractItemModel::timerEvent(static_cast(event)); } void QAbstractItemModel_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QAbstractItemModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractItemModel::childEvent(static_cast(event)); } void QAbstractItemModel_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QAbstractItemModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractItemModel::connectNotify(*static_cast(sign)); } void QAbstractItemModel_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QAbstractItemModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractItemModel::customEvent(static_cast(event)); } void QAbstractItemModel_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QAbstractItemModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QAbstractItemModel::deleteLater(); } void QAbstractItemModel_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QAbstractItemModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractItemModel::disconnectNotify(*static_cast(sign)); } int QAbstractItemModel_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QAbstractItemModel_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QAbstractItemModel::event(static_cast(e)); } int QAbstractItemModel_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QAbstractItemModel_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QAbstractItemModel::eventFilter(static_cast(watched), static_cast(event)); } void* QAbstractItemModel_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QAbstractItemModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QAbstractItemModel::metaObject()); } class MyQAbstractListModel: public QAbstractListModel { public: MyQAbstractListModel(QObject *parent) : QAbstractListModel(parent) {}; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQAbstractListModel_Index(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(parent))); }; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractListModel_DropMimeData(this, this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast(callbackQAbstractListModel_Flags(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast(callbackQAbstractListModel_Sibling(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(idx))); }; QModelIndex buddy(const QModelIndex & index) const { return *static_cast(callbackQAbstractListModel_Buddy(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQAbstractListModel_CanDropMimeData(const_cast(this), this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; bool canFetchMore(const QModelIndex & parent) const { return callbackQAbstractListModel_CanFetchMore(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; int columnCount(const QModelIndex & parent) const { return callbackQAbstractListModel_ColumnCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; QVariant data(const QModelIndex & index, int role) const { return *static_cast(callbackQAbstractListModel_Data(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index), role)); }; void fetchMore(const QModelIndex & parent) { callbackQAbstractListModel_FetchMore(this, this->objectName().toUtf8().data(), new QModelIndex(parent)); }; bool hasChildren(const QModelIndex & parent) const { return callbackQAbstractListModel_HasChildren(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast(callbackQAbstractListModel_HeaderData(const_cast(this), this->objectName().toUtf8().data(), section, orientation, role)); }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractListModel_InsertColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractListModel_InsertRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; QStringList mimeTypes() const { return QString(callbackQAbstractListModel_MimeTypes(const_cast(this), this->objectName().toUtf8().data())).split("|", QString::SkipEmptyParts); }; bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQAbstractListModel_MoveColumns(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceColumn, count, new QModelIndex(destinationParent), destinationChild) != 0; }; bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQAbstractListModel_MoveRows(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceRow, count, new QModelIndex(destinationParent), destinationChild) != 0; }; QModelIndex parent(const QModelIndex & index) const { return *static_cast(callbackQAbstractListModel_Parent(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractListModel_RemoveColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractListModel_RemoveRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; void resetInternalData() { callbackQAbstractListModel_ResetInternalData(this, this->objectName().toUtf8().data()); }; void revert() { callbackQAbstractListModel_Revert(this, this->objectName().toUtf8().data()); }; int rowCount(const QModelIndex & parent) const { return callbackQAbstractListModel_RowCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQAbstractListModel_SetData(this, this->objectName().toUtf8().data(), new QModelIndex(index), new QVariant(value), role) != 0; }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQAbstractListModel_SetHeaderData(this, this->objectName().toUtf8().data(), section, orientation, new QVariant(value), role) != 0; }; void sort(int column, Qt::SortOrder order) { callbackQAbstractListModel_Sort(this, this->objectName().toUtf8().data(), column, order); }; QSize span(const QModelIndex & index) const { return *static_cast(callbackQAbstractListModel_Span(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool submit() { return callbackQAbstractListModel_Submit(this, this->objectName().toUtf8().data()) != 0; }; Qt::DropActions supportedDragActions() const { return static_cast(callbackQAbstractListModel_SupportedDragActions(const_cast(this), this->objectName().toUtf8().data())); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQAbstractListModel_SupportedDropActions(const_cast(this), this->objectName().toUtf8().data())); }; void timerEvent(QTimerEvent * event) { callbackQAbstractListModel_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQAbstractListModel_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractListModel_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQAbstractListModel_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQAbstractListModel_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractListModel_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQAbstractListModel_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractListModel_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractListModel_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QAbstractListModel_Index(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->index(row, column, *static_cast(parent))); } void* QAbstractListModel_IndexDefault(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->QAbstractListModel::index(row, column, *static_cast(parent))); } void* QAbstractListModel_NewQAbstractListModel(void* parent) { return new MyQAbstractListModel(static_cast(parent)); } int QAbstractListModel_DropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractListModel_DropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QAbstractListModel::dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractListModel_Flags(void* ptr, void* index) { return static_cast(ptr)->flags(*static_cast(index)); } int QAbstractListModel_FlagsDefault(void* ptr, void* index) { return static_cast(ptr)->QAbstractListModel::flags(*static_cast(index)); } void* QAbstractListModel_Sibling(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->sibling(row, column, *static_cast(idx))); } void* QAbstractListModel_SiblingDefault(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->QAbstractListModel::sibling(row, column, *static_cast(idx))); } void QAbstractListModel_DestroyQAbstractListModel(void* ptr) { static_cast(ptr)->~QAbstractListModel(); } void* QAbstractListModel_Buddy(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->buddy(*static_cast(index))); } void* QAbstractListModel_BuddyDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QAbstractListModel::buddy(*static_cast(index))); } int QAbstractListModel_CanDropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractListModel_CanDropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QAbstractListModel::canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractListModel_CanFetchMore(void* ptr, void* parent) { return static_cast(ptr)->canFetchMore(*static_cast(parent)); } int QAbstractListModel_CanFetchMoreDefault(void* ptr, void* parent) { return static_cast(ptr)->QAbstractListModel::canFetchMore(*static_cast(parent)); } int QAbstractListModel_ColumnCount(void* ptr, void* parent) { return static_cast(ptr)->columnCount(*static_cast(parent)); } int QAbstractListModel_ColumnCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QAbstractListModel::columnCount(*static_cast(parent)); } void* QAbstractListModel_Data(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->data(*static_cast(index), role)); } void QAbstractListModel_FetchMore(void* ptr, void* parent) { static_cast(ptr)->fetchMore(*static_cast(parent)); } void QAbstractListModel_FetchMoreDefault(void* ptr, void* parent) { static_cast(ptr)->QAbstractListModel::fetchMore(*static_cast(parent)); } int QAbstractListModel_HasChildren(void* ptr, void* parent) { return static_cast(ptr)->hasChildren(*static_cast(parent)); } int QAbstractListModel_HasChildrenDefault(void* ptr, void* parent) { return static_cast(ptr)->QAbstractListModel::hasChildren(*static_cast(parent)); } void* QAbstractListModel_HeaderData(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->headerData(section, static_cast(orientation), role)); } void* QAbstractListModel_HeaderDataDefault(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->QAbstractListModel::headerData(section, static_cast(orientation), role)); } int QAbstractListModel_InsertColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->insertColumns(column, count, *static_cast(parent)); } int QAbstractListModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QAbstractListModel::insertColumns(column, count, *static_cast(parent)); } int QAbstractListModel_InsertRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->insertRows(row, count, *static_cast(parent)); } int QAbstractListModel_InsertRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QAbstractListModel::insertRows(row, count, *static_cast(parent)); } char* QAbstractListModel_MimeTypes(void* ptr) { return static_cast(ptr)->mimeTypes().join("|").toUtf8().data(); } char* QAbstractListModel_MimeTypesDefault(void* ptr) { return static_cast(ptr)->QAbstractListModel::mimeTypes().join("|").toUtf8().data(); } int QAbstractListModel_MoveColumns(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QAbstractListModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QAbstractListModel::moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QAbstractListModel_MoveRows(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } int QAbstractListModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QAbstractListModel::moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } void* QAbstractListModel_Parent(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->parent(*static_cast(index))); } void* QAbstractListModel_ParentDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QAbstractListModel::parent(*static_cast(index))); } int QAbstractListModel_RemoveColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->removeColumns(column, count, *static_cast(parent)); } int QAbstractListModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QAbstractListModel::removeColumns(column, count, *static_cast(parent)); } int QAbstractListModel_RemoveRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->removeRows(row, count, *static_cast(parent)); } int QAbstractListModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QAbstractListModel::removeRows(row, count, *static_cast(parent)); } void QAbstractListModel_ResetInternalData(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resetInternalData"); } void QAbstractListModel_ResetInternalDataDefault(void* ptr) { static_cast(ptr)->QAbstractListModel::resetInternalData(); } void QAbstractListModel_Revert(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "revert"); } void QAbstractListModel_RevertDefault(void* ptr) { static_cast(ptr)->QAbstractListModel::revert(); } int QAbstractListModel_RowCount(void* ptr, void* parent) { return static_cast(ptr)->rowCount(*static_cast(parent)); } int QAbstractListModel_SetData(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->setData(*static_cast(index), *static_cast(value), role); } int QAbstractListModel_SetDataDefault(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->QAbstractListModel::setData(*static_cast(index), *static_cast(value), role); } int QAbstractListModel_SetHeaderData(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->setHeaderData(section, static_cast(orientation), *static_cast(value), role); } int QAbstractListModel_SetHeaderDataDefault(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->QAbstractListModel::setHeaderData(section, static_cast(orientation), *static_cast(value), role); } void QAbstractListModel_Sort(void* ptr, int column, int order) { static_cast(ptr)->sort(column, static_cast(order)); } void QAbstractListModel_SortDefault(void* ptr, int column, int order) { static_cast(ptr)->QAbstractListModel::sort(column, static_cast(order)); } void* QAbstractListModel_Span(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->span(*static_cast(index))).width(), static_cast(static_cast(ptr)->span(*static_cast(index))).height()); } void* QAbstractListModel_SpanDefault(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->QAbstractListModel::span(*static_cast(index))).width(), static_cast(static_cast(ptr)->QAbstractListModel::span(*static_cast(index))).height()); } int QAbstractListModel_Submit(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "submit", Q_RETURN_ARG(bool, returnArg)); return returnArg; } int QAbstractListModel_SubmitDefault(void* ptr) { return static_cast(ptr)->QAbstractListModel::submit(); } int QAbstractListModel_SupportedDragActions(void* ptr) { return static_cast(ptr)->supportedDragActions(); } int QAbstractListModel_SupportedDragActionsDefault(void* ptr) { return static_cast(ptr)->QAbstractListModel::supportedDragActions(); } int QAbstractListModel_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } int QAbstractListModel_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QAbstractListModel::supportedDropActions(); } void QAbstractListModel_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QAbstractListModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractListModel::timerEvent(static_cast(event)); } void QAbstractListModel_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QAbstractListModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractListModel::childEvent(static_cast(event)); } void QAbstractListModel_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QAbstractListModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractListModel::connectNotify(*static_cast(sign)); } void QAbstractListModel_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QAbstractListModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractListModel::customEvent(static_cast(event)); } void QAbstractListModel_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QAbstractListModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QAbstractListModel::deleteLater(); } void QAbstractListModel_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QAbstractListModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractListModel::disconnectNotify(*static_cast(sign)); } int QAbstractListModel_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QAbstractListModel_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QAbstractListModel::event(static_cast(e)); } int QAbstractListModel_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QAbstractListModel_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QAbstractListModel::eventFilter(static_cast(watched), static_cast(event)); } void* QAbstractListModel_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QAbstractListModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QAbstractListModel::metaObject()); } class MyQAbstractNativeEventFilter: public QAbstractNativeEventFilter { public: QString _objectName; QString objectNameAbs() const { return this->_objectName; }; void setObjectNameAbs(const QString &name) { this->_objectName = name; }; MyQAbstractNativeEventFilter() : QAbstractNativeEventFilter() {}; bool nativeEventFilter(const QByteArray & eventType, void * message, long * result) { return callbackQAbstractNativeEventFilter_NativeEventFilter(this, this->objectNameAbs().toUtf8().data(), QString(eventType).toUtf8().data(), message, *result) != 0; }; }; void* QAbstractNativeEventFilter_NewQAbstractNativeEventFilter() { return new MyQAbstractNativeEventFilter(); } int QAbstractNativeEventFilter_NativeEventFilter(void* ptr, char* eventType, void* message, long result) { return static_cast(ptr)->nativeEventFilter(QByteArray(eventType), message, &result); } void QAbstractNativeEventFilter_DestroyQAbstractNativeEventFilter(void* ptr) { static_cast(ptr)->~QAbstractNativeEventFilter(); } char* QAbstractNativeEventFilter_ObjectNameAbs(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->objectNameAbs().toUtf8().data(); } return QString("QAbstractNativeEventFilter_BASE").toUtf8().data(); } void QAbstractNativeEventFilter_SetObjectNameAbs(void* ptr, char* name) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setObjectNameAbs(QString(name)); } } class MyQAbstractProxyModel: public QAbstractProxyModel { public: MyQAbstractProxyModel(QObject *parent) : QAbstractProxyModel(parent) {}; QModelIndex buddy(const QModelIndex & index) const { return *static_cast(callbackQAbstractProxyModel_Buddy(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQAbstractProxyModel_CanDropMimeData(const_cast(this), this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; bool canFetchMore(const QModelIndex & parent) const { return callbackQAbstractProxyModel_CanFetchMore(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; QVariant data(const QModelIndex & proxyIndex, int role) const { return *static_cast(callbackQAbstractProxyModel_Data(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(proxyIndex), role)); }; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractProxyModel_DropMimeData(this, this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; void fetchMore(const QModelIndex & parent) { callbackQAbstractProxyModel_FetchMore(this, this->objectName().toUtf8().data(), new QModelIndex(parent)); }; Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast(callbackQAbstractProxyModel_Flags(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool hasChildren(const QModelIndex & parent) const { return callbackQAbstractProxyModel_HasChildren(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast(callbackQAbstractProxyModel_HeaderData(const_cast(this), this->objectName().toUtf8().data(), section, orientation, role)); }; QModelIndex mapFromSource(const QModelIndex & sourceIndex) const { return *static_cast(callbackQAbstractProxyModel_MapFromSource(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(sourceIndex))); }; QItemSelection mapSelectionFromSource(const QItemSelection & sourceSelection) const { return *static_cast(callbackQAbstractProxyModel_MapSelectionFromSource(const_cast(this), this->objectName().toUtf8().data(), new QItemSelection(sourceSelection))); }; QItemSelection mapSelectionToSource(const QItemSelection & proxySelection) const { return *static_cast(callbackQAbstractProxyModel_MapSelectionToSource(const_cast(this), this->objectName().toUtf8().data(), new QItemSelection(proxySelection))); }; QModelIndex mapToSource(const QModelIndex & proxyIndex) const { return *static_cast(callbackQAbstractProxyModel_MapToSource(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(proxyIndex))); }; QStringList mimeTypes() const { return QString(callbackQAbstractProxyModel_MimeTypes(const_cast(this), this->objectName().toUtf8().data())).split("|", QString::SkipEmptyParts); }; void resetInternalData() { callbackQAbstractProxyModel_ResetInternalData(this, this->objectName().toUtf8().data()); }; void revert() { callbackQAbstractProxyModel_Revert(this, this->objectName().toUtf8().data()); }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQAbstractProxyModel_SetData(this, this->objectName().toUtf8().data(), new QModelIndex(index), new QVariant(value), role) != 0; }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQAbstractProxyModel_SetHeaderData(this, this->objectName().toUtf8().data(), section, orientation, new QVariant(value), role) != 0; }; void setSourceModel(QAbstractItemModel * sourceModel) { callbackQAbstractProxyModel_SetSourceModel(this, this->objectName().toUtf8().data(), sourceModel); }; QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast(callbackQAbstractProxyModel_Sibling(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(idx))); }; void sort(int column, Qt::SortOrder order) { callbackQAbstractProxyModel_Sort(this, this->objectName().toUtf8().data(), column, order); }; void Signal_SourceModelChanged() { callbackQAbstractProxyModel_SourceModelChanged(this, this->objectName().toUtf8().data()); }; QSize span(const QModelIndex & index) const { return *static_cast(callbackQAbstractProxyModel_Span(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool submit() { return callbackQAbstractProxyModel_Submit(this, this->objectName().toUtf8().data()) != 0; }; Qt::DropActions supportedDragActions() const { return static_cast(callbackQAbstractProxyModel_SupportedDragActions(const_cast(this), this->objectName().toUtf8().data())); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQAbstractProxyModel_SupportedDropActions(const_cast(this), this->objectName().toUtf8().data())); }; int columnCount(const QModelIndex & parent) const { return callbackQAbstractProxyModel_ColumnCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQAbstractProxyModel_Index(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(parent))); }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractProxyModel_InsertColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractProxyModel_InsertRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQAbstractProxyModel_MoveColumns(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceColumn, count, new QModelIndex(destinationParent), destinationChild) != 0; }; bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQAbstractProxyModel_MoveRows(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceRow, count, new QModelIndex(destinationParent), destinationChild) != 0; }; QModelIndex parent(const QModelIndex & index) const { return *static_cast(callbackQAbstractProxyModel_Parent(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractProxyModel_RemoveColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractProxyModel_RemoveRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; int rowCount(const QModelIndex & parent) const { return callbackQAbstractProxyModel_RowCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; void timerEvent(QTimerEvent * event) { callbackQAbstractProxyModel_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQAbstractProxyModel_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractProxyModel_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQAbstractProxyModel_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQAbstractProxyModel_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractProxyModel_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQAbstractProxyModel_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractProxyModel_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractProxyModel_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QAbstractProxyModel_NewQAbstractProxyModel(void* parent) { return new MyQAbstractProxyModel(static_cast(parent)); } void* QAbstractProxyModel_Buddy(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->buddy(*static_cast(index))); } void* QAbstractProxyModel_BuddyDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QAbstractProxyModel::buddy(*static_cast(index))); } int QAbstractProxyModel_CanDropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractProxyModel_CanDropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QAbstractProxyModel::canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractProxyModel_CanFetchMore(void* ptr, void* parent) { return static_cast(ptr)->canFetchMore(*static_cast(parent)); } int QAbstractProxyModel_CanFetchMoreDefault(void* ptr, void* parent) { return static_cast(ptr)->QAbstractProxyModel::canFetchMore(*static_cast(parent)); } void* QAbstractProxyModel_Data(void* ptr, void* proxyIndex, int role) { return new QVariant(static_cast(ptr)->data(*static_cast(proxyIndex), role)); } void* QAbstractProxyModel_DataDefault(void* ptr, void* proxyIndex, int role) { return new QVariant(static_cast(ptr)->QAbstractProxyModel::data(*static_cast(proxyIndex), role)); } int QAbstractProxyModel_DropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractProxyModel_DropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QAbstractProxyModel::dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } void QAbstractProxyModel_FetchMore(void* ptr, void* parent) { static_cast(ptr)->fetchMore(*static_cast(parent)); } void QAbstractProxyModel_FetchMoreDefault(void* ptr, void* parent) { static_cast(ptr)->QAbstractProxyModel::fetchMore(*static_cast(parent)); } int QAbstractProxyModel_Flags(void* ptr, void* index) { return static_cast(ptr)->flags(*static_cast(index)); } int QAbstractProxyModel_FlagsDefault(void* ptr, void* index) { return static_cast(ptr)->QAbstractProxyModel::flags(*static_cast(index)); } int QAbstractProxyModel_HasChildren(void* ptr, void* parent) { return static_cast(ptr)->hasChildren(*static_cast(parent)); } int QAbstractProxyModel_HasChildrenDefault(void* ptr, void* parent) { return static_cast(ptr)->QAbstractProxyModel::hasChildren(*static_cast(parent)); } void* QAbstractProxyModel_HeaderData(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->headerData(section, static_cast(orientation), role)); } void* QAbstractProxyModel_HeaderDataDefault(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->QAbstractProxyModel::headerData(section, static_cast(orientation), role)); } void* QAbstractProxyModel_MapFromSource(void* ptr, void* sourceIndex) { return new QModelIndex(static_cast(ptr)->mapFromSource(*static_cast(sourceIndex))); } void* QAbstractProxyModel_MapSelectionFromSource(void* ptr, void* sourceSelection) { return new QItemSelection(static_cast(ptr)->mapSelectionFromSource(*static_cast(sourceSelection))); } void* QAbstractProxyModel_MapSelectionFromSourceDefault(void* ptr, void* sourceSelection) { return new QItemSelection(static_cast(ptr)->QAbstractProxyModel::mapSelectionFromSource(*static_cast(sourceSelection))); } void* QAbstractProxyModel_MapSelectionToSource(void* ptr, void* proxySelection) { return new QItemSelection(static_cast(ptr)->mapSelectionToSource(*static_cast(proxySelection))); } void* QAbstractProxyModel_MapSelectionToSourceDefault(void* ptr, void* proxySelection) { return new QItemSelection(static_cast(ptr)->QAbstractProxyModel::mapSelectionToSource(*static_cast(proxySelection))); } void* QAbstractProxyModel_MapToSource(void* ptr, void* proxyIndex) { return new QModelIndex(static_cast(ptr)->mapToSource(*static_cast(proxyIndex))); } char* QAbstractProxyModel_MimeTypes(void* ptr) { return static_cast(ptr)->mimeTypes().join("|").toUtf8().data(); } char* QAbstractProxyModel_MimeTypesDefault(void* ptr) { return static_cast(ptr)->QAbstractProxyModel::mimeTypes().join("|").toUtf8().data(); } void QAbstractProxyModel_ResetInternalData(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resetInternalData"); } void QAbstractProxyModel_Revert(void* ptr) { static_cast(ptr)->revert(); } void QAbstractProxyModel_RevertDefault(void* ptr) { static_cast(ptr)->QAbstractProxyModel::revert(); } int QAbstractProxyModel_SetData(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->setData(*static_cast(index), *static_cast(value), role); } int QAbstractProxyModel_SetDataDefault(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->QAbstractProxyModel::setData(*static_cast(index), *static_cast(value), role); } int QAbstractProxyModel_SetHeaderData(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->setHeaderData(section, static_cast(orientation), *static_cast(value), role); } int QAbstractProxyModel_SetHeaderDataDefault(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->QAbstractProxyModel::setHeaderData(section, static_cast(orientation), *static_cast(value), role); } void QAbstractProxyModel_SetSourceModel(void* ptr, void* sourceModel) { static_cast(ptr)->setSourceModel(static_cast(sourceModel)); } void QAbstractProxyModel_SetSourceModelDefault(void* ptr, void* sourceModel) { static_cast(ptr)->QAbstractProxyModel::setSourceModel(static_cast(sourceModel)); } void* QAbstractProxyModel_Sibling(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->sibling(row, column, *static_cast(idx))); } void* QAbstractProxyModel_SiblingDefault(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->QAbstractProxyModel::sibling(row, column, *static_cast(idx))); } void QAbstractProxyModel_Sort(void* ptr, int column, int order) { static_cast(ptr)->sort(column, static_cast(order)); } void QAbstractProxyModel_SortDefault(void* ptr, int column, int order) { static_cast(ptr)->QAbstractProxyModel::sort(column, static_cast(order)); } void* QAbstractProxyModel_SourceModel(void* ptr) { return static_cast(ptr)->sourceModel(); } void QAbstractProxyModel_ConnectSourceModelChanged(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractProxyModel::sourceModelChanged, static_cast(ptr), static_cast(&MyQAbstractProxyModel::Signal_SourceModelChanged)); } void QAbstractProxyModel_DisconnectSourceModelChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractProxyModel::sourceModelChanged, static_cast(ptr), static_cast(&MyQAbstractProxyModel::Signal_SourceModelChanged)); } void* QAbstractProxyModel_Span(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->span(*static_cast(index))).width(), static_cast(static_cast(ptr)->span(*static_cast(index))).height()); } void* QAbstractProxyModel_SpanDefault(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->QAbstractProxyModel::span(*static_cast(index))).width(), static_cast(static_cast(ptr)->QAbstractProxyModel::span(*static_cast(index))).height()); } int QAbstractProxyModel_Submit(void* ptr) { return static_cast(ptr)->submit(); } int QAbstractProxyModel_SubmitDefault(void* ptr) { return static_cast(ptr)->QAbstractProxyModel::submit(); } int QAbstractProxyModel_SupportedDragActions(void* ptr) { return static_cast(ptr)->supportedDragActions(); } int QAbstractProxyModel_SupportedDragActionsDefault(void* ptr) { return static_cast(ptr)->QAbstractProxyModel::supportedDragActions(); } int QAbstractProxyModel_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } int QAbstractProxyModel_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QAbstractProxyModel::supportedDropActions(); } void QAbstractProxyModel_DestroyQAbstractProxyModel(void* ptr) { static_cast(ptr)->~QAbstractProxyModel(); } int QAbstractProxyModel_ColumnCount(void* ptr, void* parent) { return static_cast(ptr)->columnCount(*static_cast(parent)); } void* QAbstractProxyModel_Index(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->index(row, column, *static_cast(parent))); } int QAbstractProxyModel_InsertColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->insertColumns(column, count, *static_cast(parent)); } int QAbstractProxyModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QAbstractProxyModel::insertColumns(column, count, *static_cast(parent)); } int QAbstractProxyModel_InsertRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->insertRows(row, count, *static_cast(parent)); } int QAbstractProxyModel_InsertRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QAbstractProxyModel::insertRows(row, count, *static_cast(parent)); } int QAbstractProxyModel_MoveColumns(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QAbstractProxyModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QAbstractProxyModel::moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QAbstractProxyModel_MoveRows(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } int QAbstractProxyModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QAbstractProxyModel::moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } void* QAbstractProxyModel_Parent(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->parent(*static_cast(index))); } int QAbstractProxyModel_RemoveColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->removeColumns(column, count, *static_cast(parent)); } int QAbstractProxyModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QAbstractProxyModel::removeColumns(column, count, *static_cast(parent)); } int QAbstractProxyModel_RemoveRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->removeRows(row, count, *static_cast(parent)); } int QAbstractProxyModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QAbstractProxyModel::removeRows(row, count, *static_cast(parent)); } int QAbstractProxyModel_RowCount(void* ptr, void* parent) { return static_cast(ptr)->rowCount(*static_cast(parent)); } void QAbstractProxyModel_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QAbstractProxyModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractProxyModel::timerEvent(static_cast(event)); } void QAbstractProxyModel_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QAbstractProxyModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractProxyModel::childEvent(static_cast(event)); } void QAbstractProxyModel_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QAbstractProxyModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractProxyModel::connectNotify(*static_cast(sign)); } void QAbstractProxyModel_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QAbstractProxyModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractProxyModel::customEvent(static_cast(event)); } void QAbstractProxyModel_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QAbstractProxyModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QAbstractProxyModel::deleteLater(); } void QAbstractProxyModel_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QAbstractProxyModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractProxyModel::disconnectNotify(*static_cast(sign)); } int QAbstractProxyModel_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QAbstractProxyModel_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QAbstractProxyModel::event(static_cast(e)); } int QAbstractProxyModel_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QAbstractProxyModel_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QAbstractProxyModel::eventFilter(static_cast(watched), static_cast(event)); } void* QAbstractProxyModel_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QAbstractProxyModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QAbstractProxyModel::metaObject()); } class MyQAbstractState: public QAbstractState { public: MyQAbstractState(QState *parent) : QAbstractState(parent) {}; void Signal_ActiveChanged(bool active) { callbackQAbstractState_ActiveChanged(this, this->objectName().toUtf8().data(), active); }; void Signal_Entered() { callbackQAbstractState_Entered(this, this->objectName().toUtf8().data()); }; bool event(QEvent * e) { return callbackQAbstractState_Event(this, this->objectName().toUtf8().data(), e) != 0; }; void Signal_Exited() { callbackQAbstractState_Exited(this, this->objectName().toUtf8().data()); }; void onEntry(QEvent * event) { callbackQAbstractState_OnEntry(this, this->objectName().toUtf8().data(), event); }; void onExit(QEvent * event) { callbackQAbstractState_OnExit(this, this->objectName().toUtf8().data(), event); }; void timerEvent(QTimerEvent * event) { callbackQAbstractState_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQAbstractState_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractState_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQAbstractState_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQAbstractState_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractState_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractState_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractState_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QAbstractState_NewQAbstractState(void* parent) { return new MyQAbstractState(static_cast(parent)); } int QAbstractState_Active(void* ptr) { return static_cast(ptr)->active(); } void QAbstractState_ConnectActiveChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QAbstractState::activeChanged), static_cast(ptr), static_cast(&MyQAbstractState::Signal_ActiveChanged)); } void QAbstractState_DisconnectActiveChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractState::activeChanged), static_cast(ptr), static_cast(&MyQAbstractState::Signal_ActiveChanged)); } void QAbstractState_ActiveChanged(void* ptr, int active) { static_cast(ptr)->activeChanged(active != 0); } void QAbstractState_ConnectEntered(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractState::entered, static_cast(ptr), static_cast(&MyQAbstractState::Signal_Entered)); } void QAbstractState_DisconnectEntered(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractState::entered, static_cast(ptr), static_cast(&MyQAbstractState::Signal_Entered)); } int QAbstractState_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QAbstractState_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QAbstractState::event(static_cast(e)); } void QAbstractState_ConnectExited(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractState::exited, static_cast(ptr), static_cast(&MyQAbstractState::Signal_Exited)); } void QAbstractState_DisconnectExited(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractState::exited, static_cast(ptr), static_cast(&MyQAbstractState::Signal_Exited)); } void* QAbstractState_Machine(void* ptr) { return static_cast(ptr)->machine(); } void QAbstractState_OnEntry(void* ptr, void* event) { static_cast(ptr)->onEntry(static_cast(event)); } void QAbstractState_OnExit(void* ptr, void* event) { static_cast(ptr)->onExit(static_cast(event)); } void* QAbstractState_ParentState(void* ptr) { return static_cast(ptr)->parentState(); } void QAbstractState_DestroyQAbstractState(void* ptr) { static_cast(ptr)->~QAbstractState(); } void QAbstractState_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QAbstractState_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractState::timerEvent(static_cast(event)); } void QAbstractState_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QAbstractState_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractState::childEvent(static_cast(event)); } void QAbstractState_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QAbstractState_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractState::connectNotify(*static_cast(sign)); } void QAbstractState_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QAbstractState_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractState::customEvent(static_cast(event)); } void QAbstractState_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QAbstractState_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QAbstractState::deleteLater(); } void QAbstractState_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QAbstractState_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractState::disconnectNotify(*static_cast(sign)); } int QAbstractState_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QAbstractState_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QAbstractState::eventFilter(static_cast(watched), static_cast(event)); } void* QAbstractState_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QAbstractState_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QAbstractState::metaObject()); } class MyQAbstractTableModel: public QAbstractTableModel { public: MyQAbstractTableModel(QObject *parent) : QAbstractTableModel(parent) {}; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQAbstractTableModel_Index(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(parent))); }; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQAbstractTableModel_DropMimeData(this, this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast(callbackQAbstractTableModel_Flags(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast(callbackQAbstractTableModel_Sibling(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(idx))); }; QModelIndex buddy(const QModelIndex & index) const { return *static_cast(callbackQAbstractTableModel_Buddy(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQAbstractTableModel_CanDropMimeData(const_cast(this), this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; bool canFetchMore(const QModelIndex & parent) const { return callbackQAbstractTableModel_CanFetchMore(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; int columnCount(const QModelIndex & parent) const { return callbackQAbstractTableModel_ColumnCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; QVariant data(const QModelIndex & index, int role) const { return *static_cast(callbackQAbstractTableModel_Data(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index), role)); }; void fetchMore(const QModelIndex & parent) { callbackQAbstractTableModel_FetchMore(this, this->objectName().toUtf8().data(), new QModelIndex(parent)); }; bool hasChildren(const QModelIndex & parent) const { return callbackQAbstractTableModel_HasChildren(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast(callbackQAbstractTableModel_HeaderData(const_cast(this), this->objectName().toUtf8().data(), section, orientation, role)); }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractTableModel_InsertColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractTableModel_InsertRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; QStringList mimeTypes() const { return QString(callbackQAbstractTableModel_MimeTypes(const_cast(this), this->objectName().toUtf8().data())).split("|", QString::SkipEmptyParts); }; bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQAbstractTableModel_MoveColumns(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceColumn, count, new QModelIndex(destinationParent), destinationChild) != 0; }; bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQAbstractTableModel_MoveRows(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceRow, count, new QModelIndex(destinationParent), destinationChild) != 0; }; QModelIndex parent(const QModelIndex & index) const { return *static_cast(callbackQAbstractTableModel_Parent(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQAbstractTableModel_RemoveColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQAbstractTableModel_RemoveRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; void resetInternalData() { callbackQAbstractTableModel_ResetInternalData(this, this->objectName().toUtf8().data()); }; void revert() { callbackQAbstractTableModel_Revert(this, this->objectName().toUtf8().data()); }; int rowCount(const QModelIndex & parent) const { return callbackQAbstractTableModel_RowCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQAbstractTableModel_SetData(this, this->objectName().toUtf8().data(), new QModelIndex(index), new QVariant(value), role) != 0; }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQAbstractTableModel_SetHeaderData(this, this->objectName().toUtf8().data(), section, orientation, new QVariant(value), role) != 0; }; void sort(int column, Qt::SortOrder order) { callbackQAbstractTableModel_Sort(this, this->objectName().toUtf8().data(), column, order); }; QSize span(const QModelIndex & index) const { return *static_cast(callbackQAbstractTableModel_Span(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool submit() { return callbackQAbstractTableModel_Submit(this, this->objectName().toUtf8().data()) != 0; }; Qt::DropActions supportedDragActions() const { return static_cast(callbackQAbstractTableModel_SupportedDragActions(const_cast(this), this->objectName().toUtf8().data())); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQAbstractTableModel_SupportedDropActions(const_cast(this), this->objectName().toUtf8().data())); }; void timerEvent(QTimerEvent * event) { callbackQAbstractTableModel_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQAbstractTableModel_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractTableModel_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQAbstractTableModel_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQAbstractTableModel_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractTableModel_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQAbstractTableModel_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractTableModel_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractTableModel_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QAbstractTableModel_Index(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->index(row, column, *static_cast(parent))); } void* QAbstractTableModel_IndexDefault(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->QAbstractTableModel::index(row, column, *static_cast(parent))); } void* QAbstractTableModel_NewQAbstractTableModel(void* parent) { return new MyQAbstractTableModel(static_cast(parent)); } int QAbstractTableModel_DropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractTableModel_DropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QAbstractTableModel::dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractTableModel_Flags(void* ptr, void* index) { return static_cast(ptr)->flags(*static_cast(index)); } int QAbstractTableModel_FlagsDefault(void* ptr, void* index) { return static_cast(ptr)->QAbstractTableModel::flags(*static_cast(index)); } void* QAbstractTableModel_Sibling(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->sibling(row, column, *static_cast(idx))); } void* QAbstractTableModel_SiblingDefault(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->QAbstractTableModel::sibling(row, column, *static_cast(idx))); } void QAbstractTableModel_DestroyQAbstractTableModel(void* ptr) { static_cast(ptr)->~QAbstractTableModel(); } void* QAbstractTableModel_Buddy(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->buddy(*static_cast(index))); } void* QAbstractTableModel_BuddyDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QAbstractTableModel::buddy(*static_cast(index))); } int QAbstractTableModel_CanDropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractTableModel_CanDropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QAbstractTableModel::canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QAbstractTableModel_CanFetchMore(void* ptr, void* parent) { return static_cast(ptr)->canFetchMore(*static_cast(parent)); } int QAbstractTableModel_CanFetchMoreDefault(void* ptr, void* parent) { return static_cast(ptr)->QAbstractTableModel::canFetchMore(*static_cast(parent)); } int QAbstractTableModel_ColumnCount(void* ptr, void* parent) { return static_cast(ptr)->columnCount(*static_cast(parent)); } void* QAbstractTableModel_Data(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->data(*static_cast(index), role)); } void QAbstractTableModel_FetchMore(void* ptr, void* parent) { static_cast(ptr)->fetchMore(*static_cast(parent)); } void QAbstractTableModel_FetchMoreDefault(void* ptr, void* parent) { static_cast(ptr)->QAbstractTableModel::fetchMore(*static_cast(parent)); } int QAbstractTableModel_HasChildren(void* ptr, void* parent) { return static_cast(ptr)->hasChildren(*static_cast(parent)); } int QAbstractTableModel_HasChildrenDefault(void* ptr, void* parent) { return static_cast(ptr)->QAbstractTableModel::hasChildren(*static_cast(parent)); } void* QAbstractTableModel_HeaderData(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->headerData(section, static_cast(orientation), role)); } void* QAbstractTableModel_HeaderDataDefault(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->QAbstractTableModel::headerData(section, static_cast(orientation), role)); } int QAbstractTableModel_InsertColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->insertColumns(column, count, *static_cast(parent)); } int QAbstractTableModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QAbstractTableModel::insertColumns(column, count, *static_cast(parent)); } int QAbstractTableModel_InsertRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->insertRows(row, count, *static_cast(parent)); } int QAbstractTableModel_InsertRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QAbstractTableModel::insertRows(row, count, *static_cast(parent)); } char* QAbstractTableModel_MimeTypes(void* ptr) { return static_cast(ptr)->mimeTypes().join("|").toUtf8().data(); } char* QAbstractTableModel_MimeTypesDefault(void* ptr) { return static_cast(ptr)->QAbstractTableModel::mimeTypes().join("|").toUtf8().data(); } int QAbstractTableModel_MoveColumns(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QAbstractTableModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QAbstractTableModel::moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QAbstractTableModel_MoveRows(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } int QAbstractTableModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QAbstractTableModel::moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } void* QAbstractTableModel_Parent(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->parent(*static_cast(index))); } void* QAbstractTableModel_ParentDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QAbstractTableModel::parent(*static_cast(index))); } int QAbstractTableModel_RemoveColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->removeColumns(column, count, *static_cast(parent)); } int QAbstractTableModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QAbstractTableModel::removeColumns(column, count, *static_cast(parent)); } int QAbstractTableModel_RemoveRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->removeRows(row, count, *static_cast(parent)); } int QAbstractTableModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QAbstractTableModel::removeRows(row, count, *static_cast(parent)); } void QAbstractTableModel_ResetInternalData(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resetInternalData"); } void QAbstractTableModel_ResetInternalDataDefault(void* ptr) { static_cast(ptr)->QAbstractTableModel::resetInternalData(); } void QAbstractTableModel_Revert(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "revert"); } void QAbstractTableModel_RevertDefault(void* ptr) { static_cast(ptr)->QAbstractTableModel::revert(); } int QAbstractTableModel_RowCount(void* ptr, void* parent) { return static_cast(ptr)->rowCount(*static_cast(parent)); } int QAbstractTableModel_SetData(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->setData(*static_cast(index), *static_cast(value), role); } int QAbstractTableModel_SetDataDefault(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->QAbstractTableModel::setData(*static_cast(index), *static_cast(value), role); } int QAbstractTableModel_SetHeaderData(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->setHeaderData(section, static_cast(orientation), *static_cast(value), role); } int QAbstractTableModel_SetHeaderDataDefault(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->QAbstractTableModel::setHeaderData(section, static_cast(orientation), *static_cast(value), role); } void QAbstractTableModel_Sort(void* ptr, int column, int order) { static_cast(ptr)->sort(column, static_cast(order)); } void QAbstractTableModel_SortDefault(void* ptr, int column, int order) { static_cast(ptr)->QAbstractTableModel::sort(column, static_cast(order)); } void* QAbstractTableModel_Span(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->span(*static_cast(index))).width(), static_cast(static_cast(ptr)->span(*static_cast(index))).height()); } void* QAbstractTableModel_SpanDefault(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->QAbstractTableModel::span(*static_cast(index))).width(), static_cast(static_cast(ptr)->QAbstractTableModel::span(*static_cast(index))).height()); } int QAbstractTableModel_Submit(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "submit", Q_RETURN_ARG(bool, returnArg)); return returnArg; } int QAbstractTableModel_SubmitDefault(void* ptr) { return static_cast(ptr)->QAbstractTableModel::submit(); } int QAbstractTableModel_SupportedDragActions(void* ptr) { return static_cast(ptr)->supportedDragActions(); } int QAbstractTableModel_SupportedDragActionsDefault(void* ptr) { return static_cast(ptr)->QAbstractTableModel::supportedDragActions(); } int QAbstractTableModel_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } int QAbstractTableModel_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QAbstractTableModel::supportedDropActions(); } void QAbstractTableModel_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QAbstractTableModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractTableModel::timerEvent(static_cast(event)); } void QAbstractTableModel_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QAbstractTableModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractTableModel::childEvent(static_cast(event)); } void QAbstractTableModel_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QAbstractTableModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractTableModel::connectNotify(*static_cast(sign)); } void QAbstractTableModel_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QAbstractTableModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractTableModel::customEvent(static_cast(event)); } void QAbstractTableModel_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QAbstractTableModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QAbstractTableModel::deleteLater(); } void QAbstractTableModel_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QAbstractTableModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractTableModel::disconnectNotify(*static_cast(sign)); } int QAbstractTableModel_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QAbstractTableModel_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QAbstractTableModel::event(static_cast(e)); } int QAbstractTableModel_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QAbstractTableModel_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QAbstractTableModel::eventFilter(static_cast(watched), static_cast(event)); } void* QAbstractTableModel_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QAbstractTableModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QAbstractTableModel::metaObject()); } class MyQAbstractTransition: public QAbstractTransition { public: MyQAbstractTransition(QState *sourceState) : QAbstractTransition(sourceState) {}; bool event(QEvent * e) { return callbackQAbstractTransition_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventTest(QEvent * event) { return callbackQAbstractTransition_EventTest(this, this->objectName().toUtf8().data(), event) != 0; }; void onTransition(QEvent * event) { callbackQAbstractTransition_OnTransition(this, this->objectName().toUtf8().data(), event); }; void Signal_TargetStateChanged() { callbackQAbstractTransition_TargetStateChanged(this, this->objectName().toUtf8().data()); }; void Signal_TargetStatesChanged() { callbackQAbstractTransition_TargetStatesChanged(this, this->objectName().toUtf8().data()); }; void Signal_Triggered() { callbackQAbstractTransition_Triggered(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQAbstractTransition_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQAbstractTransition_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractTransition_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQAbstractTransition_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQAbstractTransition_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractTransition_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractTransition_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractTransition_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QAbstractTransition_NewQAbstractTransition(void* sourceState) { return new MyQAbstractTransition(static_cast(sourceState)); } void QAbstractTransition_AddAnimation(void* ptr, void* animation) { static_cast(ptr)->addAnimation(static_cast(animation)); } int QAbstractTransition_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QAbstractTransition_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QAbstractTransition::event(static_cast(e)); } int QAbstractTransition_EventTest(void* ptr, void* event) { return static_cast(ptr)->eventTest(static_cast(event)); } void* QAbstractTransition_Machine(void* ptr) { return static_cast(ptr)->machine(); } void QAbstractTransition_OnTransition(void* ptr, void* event) { static_cast(ptr)->onTransition(static_cast(event)); } void QAbstractTransition_RemoveAnimation(void* ptr, void* animation) { static_cast(ptr)->removeAnimation(static_cast(animation)); } void QAbstractTransition_SetTargetState(void* ptr, void* target) { static_cast(ptr)->setTargetState(static_cast(target)); } void QAbstractTransition_SetTransitionType(void* ptr, int ty) { static_cast(ptr)->setTransitionType(static_cast(ty)); } void* QAbstractTransition_SourceState(void* ptr) { return static_cast(ptr)->sourceState(); } void* QAbstractTransition_TargetState(void* ptr) { return static_cast(ptr)->targetState(); } void QAbstractTransition_ConnectTargetStateChanged(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractTransition::targetStateChanged, static_cast(ptr), static_cast(&MyQAbstractTransition::Signal_TargetStateChanged)); } void QAbstractTransition_DisconnectTargetStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractTransition::targetStateChanged, static_cast(ptr), static_cast(&MyQAbstractTransition::Signal_TargetStateChanged)); } void QAbstractTransition_ConnectTargetStatesChanged(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractTransition::targetStatesChanged, static_cast(ptr), static_cast(&MyQAbstractTransition::Signal_TargetStatesChanged)); } void QAbstractTransition_DisconnectTargetStatesChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractTransition::targetStatesChanged, static_cast(ptr), static_cast(&MyQAbstractTransition::Signal_TargetStatesChanged)); } int QAbstractTransition_TransitionType(void* ptr) { return static_cast(ptr)->transitionType(); } void QAbstractTransition_ConnectTriggered(void* ptr) { QObject::connect(static_cast(ptr), &QAbstractTransition::triggered, static_cast(ptr), static_cast(&MyQAbstractTransition::Signal_Triggered)); } void QAbstractTransition_DisconnectTriggered(void* ptr) { QObject::disconnect(static_cast(ptr), &QAbstractTransition::triggered, static_cast(ptr), static_cast(&MyQAbstractTransition::Signal_Triggered)); } void QAbstractTransition_DestroyQAbstractTransition(void* ptr) { static_cast(ptr)->~QAbstractTransition(); } void QAbstractTransition_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QAbstractTransition_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractTransition::timerEvent(static_cast(event)); } void QAbstractTransition_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QAbstractTransition_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractTransition::childEvent(static_cast(event)); } void QAbstractTransition_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QAbstractTransition_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractTransition::connectNotify(*static_cast(sign)); } void QAbstractTransition_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QAbstractTransition_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QAbstractTransition::customEvent(static_cast(event)); } void QAbstractTransition_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QAbstractTransition_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QAbstractTransition::deleteLater(); } void QAbstractTransition_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QAbstractTransition_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAbstractTransition::disconnectNotify(*static_cast(sign)); } int QAbstractTransition_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QAbstractTransition_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QAbstractTransition::eventFilter(static_cast(watched), static_cast(event)); } void* QAbstractTransition_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QAbstractTransition_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QAbstractTransition::metaObject()); } class MyQAnimationGroup: public QAnimationGroup { public: MyQAnimationGroup(QObject *parent) : QAnimationGroup(parent) {}; bool event(QEvent * event) { return callbackQAnimationGroup_Event(this, this->objectName().toUtf8().data(), event) != 0; }; void setCurrentTime(int msecs) { callbackQAnimationGroup_SetCurrentTime(this, this->objectName().toUtf8().data(), msecs); }; int duration() const { return callbackQAnimationGroup_Duration(const_cast(this), this->objectName().toUtf8().data()); }; void pause() { callbackQAnimationGroup_Pause(this, this->objectName().toUtf8().data()); }; void resume() { callbackQAnimationGroup_Resume(this, this->objectName().toUtf8().data()); }; void setPaused(bool paused) { callbackQAnimationGroup_SetPaused(this, this->objectName().toUtf8().data(), paused); }; void start(QAbstractAnimation::DeletionPolicy policy) { callbackQAnimationGroup_Start(this, this->objectName().toUtf8().data(), policy); }; void stop() { callbackQAnimationGroup_Stop(this, this->objectName().toUtf8().data()); }; void updateCurrentTime(int currentTime) { callbackQAnimationGroup_UpdateCurrentTime(this, this->objectName().toUtf8().data(), currentTime); }; void updateDirection(QAbstractAnimation::Direction direction) { callbackQAnimationGroup_UpdateDirection(this, this->objectName().toUtf8().data(), direction); }; void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { callbackQAnimationGroup_UpdateState(this, this->objectName().toUtf8().data(), newState, oldState); }; void timerEvent(QTimerEvent * event) { callbackQAnimationGroup_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQAnimationGroup_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQAnimationGroup_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQAnimationGroup_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQAnimationGroup_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAnimationGroup_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAnimationGroup_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAnimationGroup_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QAnimationGroup_NewQAnimationGroup(void* parent) { return new MyQAnimationGroup(static_cast(parent)); } void QAnimationGroup_AddAnimation(void* ptr, void* animation) { static_cast(ptr)->addAnimation(static_cast(animation)); } void* QAnimationGroup_AnimationAt(void* ptr, int index) { return static_cast(ptr)->animationAt(index); } int QAnimationGroup_AnimationCount(void* ptr) { return static_cast(ptr)->animationCount(); } void QAnimationGroup_Clear(void* ptr) { static_cast(ptr)->clear(); } int QAnimationGroup_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } int QAnimationGroup_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QAnimationGroup::event(static_cast(event)); } int QAnimationGroup_IndexOfAnimation(void* ptr, void* animation) { return static_cast(ptr)->indexOfAnimation(static_cast(animation)); } void QAnimationGroup_InsertAnimation(void* ptr, int index, void* animation) { static_cast(ptr)->insertAnimation(index, static_cast(animation)); } void QAnimationGroup_RemoveAnimation(void* ptr, void* animation) { static_cast(ptr)->removeAnimation(static_cast(animation)); } void* QAnimationGroup_TakeAnimation(void* ptr, int index) { return static_cast(ptr)->takeAnimation(index); } void QAnimationGroup_DestroyQAnimationGroup(void* ptr) { static_cast(ptr)->~QAnimationGroup(); } void QAnimationGroup_SetCurrentTime(void* ptr, int msecs) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentTime", Q_ARG(int, msecs)); } void QAnimationGroup_SetCurrentTimeDefault(void* ptr, int msecs) { static_cast(ptr)->QAnimationGroup::setCurrentTime(msecs); } int QAnimationGroup_Duration(void* ptr) { return static_cast(ptr)->duration(); } void QAnimationGroup_Pause(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "pause"); } void QAnimationGroup_PauseDefault(void* ptr) { static_cast(ptr)->QAnimationGroup::pause(); } void QAnimationGroup_Resume(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resume"); } void QAnimationGroup_ResumeDefault(void* ptr) { static_cast(ptr)->QAnimationGroup::resume(); } void QAnimationGroup_SetPaused(void* ptr, int paused) { QMetaObject::invokeMethod(static_cast(ptr), "setPaused", Q_ARG(bool, paused != 0)); } void QAnimationGroup_SetPausedDefault(void* ptr, int paused) { static_cast(ptr)->QAnimationGroup::setPaused(paused != 0); } void QAnimationGroup_Start(void* ptr, int policy) { QMetaObject::invokeMethod(static_cast(ptr), "start", Q_ARG(QAbstractAnimation::DeletionPolicy, static_cast(policy))); } void QAnimationGroup_StartDefault(void* ptr, int policy) { static_cast(ptr)->QAnimationGroup::start(static_cast(policy)); } void QAnimationGroup_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } void QAnimationGroup_StopDefault(void* ptr) { static_cast(ptr)->QAnimationGroup::stop(); } void QAnimationGroup_UpdateCurrentTime(void* ptr, int currentTime) { static_cast(ptr)->updateCurrentTime(currentTime); } void QAnimationGroup_UpdateDirection(void* ptr, int direction) { static_cast(ptr)->updateDirection(static_cast(direction)); } void QAnimationGroup_UpdateDirectionDefault(void* ptr, int direction) { static_cast(ptr)->QAnimationGroup::updateDirection(static_cast(direction)); } void QAnimationGroup_UpdateState(void* ptr, int newState, int oldState) { static_cast(ptr)->updateState(static_cast(newState), static_cast(oldState)); } void QAnimationGroup_UpdateStateDefault(void* ptr, int newState, int oldState) { static_cast(ptr)->QAnimationGroup::updateState(static_cast(newState), static_cast(oldState)); } void QAnimationGroup_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QAnimationGroup_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QAnimationGroup::timerEvent(static_cast(event)); } void QAnimationGroup_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QAnimationGroup_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QAnimationGroup::childEvent(static_cast(event)); } void QAnimationGroup_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QAnimationGroup_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAnimationGroup::connectNotify(*static_cast(sign)); } void QAnimationGroup_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QAnimationGroup_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QAnimationGroup::customEvent(static_cast(event)); } void QAnimationGroup_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QAnimationGroup_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QAnimationGroup::deleteLater(); } void QAnimationGroup_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QAnimationGroup_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QAnimationGroup::disconnectNotify(*static_cast(sign)); } int QAnimationGroup_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QAnimationGroup_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QAnimationGroup::eventFilter(static_cast(watched), static_cast(event)); } void* QAnimationGroup_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QAnimationGroup_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QAnimationGroup::metaObject()); } int QAssociativeIterable_Size(void* ptr) { return static_cast(ptr)->size(); } void* QAssociativeIterable_Value(void* ptr, void* key) { return new QVariant(static_cast(ptr)->value(*static_cast(key))); } void QBasicTimer_Start(void* ptr, int msec, void* object) { static_cast(ptr)->start(msec, static_cast(object)); } void* QBasicTimer_NewQBasicTimer() { return new QBasicTimer(); } int QBasicTimer_IsActive(void* ptr) { return static_cast(ptr)->isActive(); } void QBasicTimer_Start2(void* ptr, int msec, int timerType, void* obj) { static_cast(ptr)->start(msec, static_cast(timerType), static_cast(obj)); } void QBasicTimer_Stop(void* ptr) { static_cast(ptr)->stop(); } int QBasicTimer_TimerId(void* ptr) { return static_cast(ptr)->timerId(); } void QBasicTimer_DestroyQBasicTimer(void* ptr) { static_cast(ptr)->~QBasicTimer(); } void* QBitArray_NewQBitArray() { return new QBitArray(); } void* QBitArray_NewQBitArray4(void* other) { return new QBitArray(*static_cast(other)); } void* QBitArray_NewQBitArray3(void* other) { return new QBitArray(*static_cast(other)); } void* QBitArray_NewQBitArray2(int size, int value) { return new QBitArray(size, value != 0); } int QBitArray_At(void* ptr, int i) { return static_cast(ptr)->at(i); } void QBitArray_Clear(void* ptr) { static_cast(ptr)->clear(); } void QBitArray_ClearBit(void* ptr, int i) { static_cast(ptr)->clearBit(i); } int QBitArray_Count(void* ptr) { return static_cast(ptr)->count(); } int QBitArray_Count2(void* ptr, int on) { return static_cast(ptr)->count(on != 0); } int QBitArray_Fill(void* ptr, int value, int size) { return static_cast(ptr)->fill(value != 0, size); } void QBitArray_Fill2(void* ptr, int value, int begin, int end) { static_cast(ptr)->fill(value != 0, begin, end); } int QBitArray_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QBitArray_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } void QBitArray_Resize(void* ptr, int size) { static_cast(ptr)->resize(size); } void QBitArray_SetBit(void* ptr, int i) { static_cast(ptr)->setBit(i); } void QBitArray_SetBit2(void* ptr, int i, int value) { static_cast(ptr)->setBit(i, value != 0); } int QBitArray_Size(void* ptr) { return static_cast(ptr)->size(); } void QBitArray_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } int QBitArray_TestBit(void* ptr, int i) { return static_cast(ptr)->testBit(i); } int QBitArray_ToggleBit(void* ptr, int i) { return static_cast(ptr)->toggleBit(i); } void QBitArray_Truncate(void* ptr, int pos) { static_cast(ptr)->truncate(pos); } class MyQBuffer: public QBuffer { public: MyQBuffer(QByteArray *byteArray, QObject *parent) : QBuffer(byteArray, parent) {}; MyQBuffer(QObject *parent) : QBuffer(parent) {}; bool atEnd() const { return callbackQBuffer_AtEnd(const_cast(this), this->objectName().toUtf8().data()) != 0; }; bool canReadLine() const { return callbackQBuffer_CanReadLine(const_cast(this), this->objectName().toUtf8().data()) != 0; }; void close() { callbackQBuffer_Close(this, this->objectName().toUtf8().data()); }; bool open(QIODevice::OpenMode flags) { return callbackQBuffer_Open(this, this->objectName().toUtf8().data(), flags) != 0; }; qint64 pos() const { return static_cast(callbackQBuffer_Pos(const_cast(this), this->objectName().toUtf8().data())); }; bool seek(qint64 pos) { return callbackQBuffer_Seek(this, this->objectName().toUtf8().data(), static_cast(pos)) != 0; }; qint64 size() const { return static_cast(callbackQBuffer_Size(const_cast(this), this->objectName().toUtf8().data())); }; qint64 writeData(const char * data, qint64 len) { return static_cast(callbackQBuffer_WriteData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(len))); }; qint64 bytesAvailable() const { return static_cast(callbackQBuffer_BytesAvailable(const_cast(this), this->objectName().toUtf8().data())); }; qint64 bytesToWrite() const { return static_cast(callbackQBuffer_BytesToWrite(const_cast(this), this->objectName().toUtf8().data())); }; bool isSequential() const { return callbackQBuffer_IsSequential(const_cast(this), this->objectName().toUtf8().data()) != 0; }; qint64 readLineData(char * data, qint64 maxSize) { return static_cast(callbackQBuffer_ReadLineData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(maxSize))); }; bool reset() { return callbackQBuffer_Reset(this, this->objectName().toUtf8().data()) != 0; }; bool waitForBytesWritten(int msecs) { return callbackQBuffer_WaitForBytesWritten(this, this->objectName().toUtf8().data(), msecs) != 0; }; bool waitForReadyRead(int msecs) { return callbackQBuffer_WaitForReadyRead(this, this->objectName().toUtf8().data(), msecs) != 0; }; void timerEvent(QTimerEvent * event) { callbackQBuffer_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQBuffer_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQBuffer_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQBuffer_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQBuffer_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQBuffer_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQBuffer_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQBuffer_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQBuffer_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QBuffer_NewQBuffer2(char* byteArray, void* parent) { return new MyQBuffer(new QByteArray(byteArray), static_cast(parent)); } void* QBuffer_NewQBuffer(void* parent) { return new MyQBuffer(static_cast(parent)); } int QBuffer_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } int QBuffer_AtEndDefault(void* ptr) { return static_cast(ptr)->QBuffer::atEnd(); } char* QBuffer_Buffer(void* ptr) { return QString(static_cast(ptr)->buffer()).toUtf8().data(); } char* QBuffer_Buffer2(void* ptr) { return QString(static_cast(ptr)->buffer()).toUtf8().data(); } int QBuffer_CanReadLine(void* ptr) { return static_cast(ptr)->canReadLine(); } int QBuffer_CanReadLineDefault(void* ptr) { return static_cast(ptr)->QBuffer::canReadLine(); } void QBuffer_Close(void* ptr) { static_cast(ptr)->close(); } void QBuffer_CloseDefault(void* ptr) { static_cast(ptr)->QBuffer::close(); } char* QBuffer_Data(void* ptr) { return QString(static_cast(ptr)->data()).toUtf8().data(); } int QBuffer_Open(void* ptr, int flags) { return static_cast(ptr)->open(static_cast(flags)); } int QBuffer_OpenDefault(void* ptr, int flags) { return static_cast(ptr)->QBuffer::open(static_cast(flags)); } long long QBuffer_Pos(void* ptr) { return static_cast(static_cast(ptr)->pos()); } long long QBuffer_PosDefault(void* ptr) { return static_cast(static_cast(ptr)->QBuffer::pos()); } int QBuffer_Seek(void* ptr, long long pos) { return static_cast(ptr)->seek(static_cast(pos)); } int QBuffer_SeekDefault(void* ptr, long long pos) { return static_cast(ptr)->QBuffer::seek(static_cast(pos)); } void QBuffer_SetBuffer(void* ptr, char* byteArray) { static_cast(ptr)->setBuffer(new QByteArray(byteArray)); } void QBuffer_SetData(void* ptr, char* data) { static_cast(ptr)->setData(QByteArray(data)); } void QBuffer_SetData2(void* ptr, char* data, int size) { static_cast(ptr)->setData(const_cast(data), size); } long long QBuffer_Size(void* ptr) { return static_cast(static_cast(ptr)->size()); } long long QBuffer_SizeDefault(void* ptr) { return static_cast(static_cast(ptr)->QBuffer::size()); } long long QBuffer_WriteData(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->writeData(const_cast(data), static_cast(len))); } long long QBuffer_WriteDataDefault(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->QBuffer::writeData(const_cast(data), static_cast(len))); } void QBuffer_DestroyQBuffer(void* ptr) { static_cast(ptr)->~QBuffer(); } long long QBuffer_BytesAvailable(void* ptr) { return static_cast(static_cast(ptr)->bytesAvailable()); } long long QBuffer_BytesAvailableDefault(void* ptr) { return static_cast(static_cast(ptr)->QBuffer::bytesAvailable()); } long long QBuffer_BytesToWrite(void* ptr) { return static_cast(static_cast(ptr)->bytesToWrite()); } long long QBuffer_BytesToWriteDefault(void* ptr) { return static_cast(static_cast(ptr)->QBuffer::bytesToWrite()); } int QBuffer_IsSequential(void* ptr) { return static_cast(ptr)->isSequential(); } int QBuffer_IsSequentialDefault(void* ptr) { return static_cast(ptr)->QBuffer::isSequential(); } long long QBuffer_ReadLineData(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->readLineData(data, static_cast(maxSize))); } long long QBuffer_ReadLineDataDefault(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->QBuffer::readLineData(data, static_cast(maxSize))); } int QBuffer_Reset(void* ptr) { return static_cast(ptr)->reset(); } int QBuffer_ResetDefault(void* ptr) { return static_cast(ptr)->QBuffer::reset(); } int QBuffer_WaitForBytesWritten(void* ptr, int msecs) { return static_cast(ptr)->waitForBytesWritten(msecs); } int QBuffer_WaitForBytesWrittenDefault(void* ptr, int msecs) { return static_cast(ptr)->QBuffer::waitForBytesWritten(msecs); } int QBuffer_WaitForReadyRead(void* ptr, int msecs) { return static_cast(ptr)->waitForReadyRead(msecs); } int QBuffer_WaitForReadyReadDefault(void* ptr, int msecs) { return static_cast(ptr)->QBuffer::waitForReadyRead(msecs); } void QBuffer_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QBuffer_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QBuffer::timerEvent(static_cast(event)); } void QBuffer_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QBuffer_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QBuffer::childEvent(static_cast(event)); } void QBuffer_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QBuffer_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QBuffer::connectNotify(*static_cast(sign)); } void QBuffer_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QBuffer_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QBuffer::customEvent(static_cast(event)); } void QBuffer_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QBuffer_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QBuffer::deleteLater(); } void QBuffer_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QBuffer_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QBuffer::disconnectNotify(*static_cast(sign)); } int QBuffer_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QBuffer_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QBuffer::event(static_cast(e)); } int QBuffer_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QBuffer_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QBuffer::eventFilter(static_cast(watched), static_cast(event)); } void* QBuffer_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QBuffer_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QBuffer::metaObject()); } char* QByteArrayList_Join(void* ptr) { return QString(static_cast(ptr)->join()).toUtf8().data(); } char* QByteArrayList_Join3(void* ptr, char* separator) { return QString(static_cast(ptr)->join(*separator)).toUtf8().data(); } char* QByteArrayList_Join2(void* ptr, char* separator) { return QString(static_cast(ptr)->join(QByteArray(separator))).toUtf8().data(); } void* QByteArrayMatcher_NewQByteArrayMatcher() { return new QByteArrayMatcher(); } void* QByteArrayMatcher_NewQByteArrayMatcher2(char* pattern) { return new QByteArrayMatcher(QByteArray(pattern)); } void* QByteArrayMatcher_NewQByteArrayMatcher4(void* other) { return new QByteArrayMatcher(*static_cast(other)); } void* QByteArrayMatcher_NewQByteArrayMatcher3(char* pattern, int length) { return new QByteArrayMatcher(const_cast(pattern), length); } int QByteArrayMatcher_IndexIn(void* ptr, char* ba, int from) { return static_cast(ptr)->indexIn(QByteArray(ba), from); } int QByteArrayMatcher_IndexIn2(void* ptr, char* str, int len, int from) { return static_cast(ptr)->indexIn(const_cast(str), len, from); } char* QByteArrayMatcher_Pattern(void* ptr) { return QString(static_cast(ptr)->pattern()).toUtf8().data(); } void QByteArrayMatcher_SetPattern(void* ptr, char* pattern) { static_cast(ptr)->setPattern(QByteArray(pattern)); } void QByteArrayMatcher_DestroyQByteArrayMatcher(void* ptr) { static_cast(ptr)->~QByteArrayMatcher(); } void* QChar_NewQChar() { return new QChar(); } void* QChar_NewQChar8(void* ch) { return new QChar(*static_cast(ch)); } void* QChar_NewQChar7(int ch) { return new QChar(static_cast(ch)); } void* QChar_NewQChar9(char* ch) { return new QChar(*ch); } void* QChar_NewQChar6(int code) { return new QChar(code); } int QChar_Category(void* ptr) { return static_cast(ptr)->category(); } int QChar_QChar_CurrentUnicodeVersion() { return QChar::currentUnicodeVersion(); } char* QChar_Decomposition(void* ptr) { return static_cast(ptr)->decomposition().toUtf8().data(); } int QChar_DecompositionTag(void* ptr) { return static_cast(ptr)->decompositionTag(); } int QChar_DigitValue(void* ptr) { return static_cast(ptr)->digitValue(); } int QChar_Direction(void* ptr) { return static_cast(ptr)->direction(); } int QChar_HasMirrored(void* ptr) { return static_cast(ptr)->hasMirrored(); } int QChar_IsDigit(void* ptr) { return static_cast(ptr)->isDigit(); } int QChar_IsHighSurrogate(void* ptr) { return static_cast(ptr)->isHighSurrogate(); } int QChar_IsLetter(void* ptr) { return static_cast(ptr)->isLetter(); } int QChar_IsLetterOrNumber(void* ptr) { return static_cast(ptr)->isLetterOrNumber(); } int QChar_IsLower(void* ptr) { return static_cast(ptr)->isLower(); } int QChar_IsLowSurrogate(void* ptr) { return static_cast(ptr)->isLowSurrogate(); } int QChar_IsMark(void* ptr) { return static_cast(ptr)->isMark(); } int QChar_IsNonCharacter(void* ptr) { return static_cast(ptr)->isNonCharacter(); } int QChar_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QChar_IsNumber(void* ptr) { return static_cast(ptr)->isNumber(); } int QChar_IsPrint(void* ptr) { return static_cast(ptr)->isPrint(); } int QChar_IsPunct(void* ptr) { return static_cast(ptr)->isPunct(); } int QChar_IsSpace(void* ptr) { return static_cast(ptr)->isSpace(); } int QChar_IsSurrogate(void* ptr) { return static_cast(ptr)->isSurrogate(); } int QChar_IsSymbol(void* ptr) { return static_cast(ptr)->isSymbol(); } int QChar_IsTitleCase(void* ptr) { return static_cast(ptr)->isTitleCase(); } int QChar_IsUpper(void* ptr) { return static_cast(ptr)->isUpper(); } int QChar_JoiningType(void* ptr) { return static_cast(ptr)->joiningType(); } int QChar_Script(void* ptr) { return static_cast(ptr)->script(); } char* QChar_ToLatin1(void* ptr) { return QString(static_cast(ptr)->toLatin1()).toUtf8().data(); } int QChar_UnicodeVersion(void* ptr) { return static_cast(ptr)->unicodeVersion(); } void* QChildEvent_NewQChildEvent(int ty, void* child) { return new QChildEvent(static_cast(ty), static_cast(child)); } int QChildEvent_Added(void* ptr) { return static_cast(ptr)->added(); } void* QChildEvent_Child(void* ptr) { return static_cast(ptr)->child(); } int QChildEvent_Polished(void* ptr) { return static_cast(ptr)->polished(); } int QChildEvent_Removed(void* ptr) { return static_cast(ptr)->removed(); } int QCollator_CaseSensitivity(void* ptr) { return static_cast(ptr)->caseSensitivity(); } int QCollator_IgnorePunctuation(void* ptr) { return static_cast(ptr)->ignorePunctuation(); } int QCollator_NumericMode(void* ptr) { return static_cast(ptr)->numericMode(); } void QCollator_SetCaseSensitivity(void* ptr, int sensitivity) { static_cast(ptr)->setCaseSensitivity(static_cast(sensitivity)); } void QCollator_SetIgnorePunctuation(void* ptr, int on) { static_cast(ptr)->setIgnorePunctuation(on != 0); } void QCollator_SetNumericMode(void* ptr, int on) { static_cast(ptr)->setNumericMode(on != 0); } void* QCollator_NewQCollator3(void* other) { return new QCollator(*static_cast(other)); } void* QCollator_NewQCollator2(void* other) { return new QCollator(*static_cast(other)); } void* QCollator_NewQCollator(void* locale) { return new QCollator(*static_cast(locale)); } void* QCollator_Locale(void* ptr) { return new QLocale(static_cast(ptr)->locale()); } void QCollator_SetLocale(void* ptr, void* locale) { static_cast(ptr)->setLocale(*static_cast(locale)); } void QCollator_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void QCollator_DestroyQCollator(void* ptr) { static_cast(ptr)->~QCollator(); } int QCollator_Compare3(void* ptr, void* s1, int len1, void* s2, int len2) { return static_cast(ptr)->compare(static_cast(s1), len1, static_cast(s2), len2); } int QCollator_Compare(void* ptr, char* s1, char* s2) { return static_cast(ptr)->compare(QString(s1), QString(s2)); } int QCollator_Compare2(void* ptr, void* s1, void* s2) { return static_cast(ptr)->compare(*static_cast(s1), *static_cast(s2)); } void* QCollator_SortKey(void* ptr, char* stri) { return new QCollatorSortKey(static_cast(ptr)->sortKey(QString(stri))); } void* QCollatorSortKey_NewQCollatorSortKey(void* other) { return new QCollatorSortKey(*static_cast(other)); } void QCollatorSortKey_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void QCollatorSortKey_DestroyQCollatorSortKey(void* ptr) { static_cast(ptr)->~QCollatorSortKey(); } int QCollatorSortKey_Compare(void* ptr, void* otherKey) { return static_cast(ptr)->compare(*static_cast(otherKey)); } void* QCommandLineOption_NewQCommandLineOption5(void* other) { return new QCommandLineOption(*static_cast(other)); } void* QCommandLineOption_NewQCommandLineOption(char* name) { return new QCommandLineOption(QString(name)); } void* QCommandLineOption_NewQCommandLineOption3(char* name, char* description, char* valueName, char* defaultValue) { return new QCommandLineOption(QString(name), QString(description), QString(valueName), QString(defaultValue)); } void* QCommandLineOption_NewQCommandLineOption2(char* names) { return new QCommandLineOption(QString(names).split("|", QString::SkipEmptyParts)); } void* QCommandLineOption_NewQCommandLineOption4(char* names, char* description, char* valueName, char* defaultValue) { return new QCommandLineOption(QString(names).split("|", QString::SkipEmptyParts), QString(description), QString(valueName), QString(defaultValue)); } char* QCommandLineOption_DefaultValues(void* ptr) { return static_cast(ptr)->defaultValues().join("|").toUtf8().data(); } char* QCommandLineOption_Description(void* ptr) { return static_cast(ptr)->description().toUtf8().data(); } char* QCommandLineOption_Names(void* ptr) { return static_cast(ptr)->names().join("|").toUtf8().data(); } void QCommandLineOption_SetDefaultValue(void* ptr, char* defaultValue) { static_cast(ptr)->setDefaultValue(QString(defaultValue)); } void QCommandLineOption_SetDefaultValues(void* ptr, char* defaultValues) { static_cast(ptr)->setDefaultValues(QString(defaultValues).split("|", QString::SkipEmptyParts)); } void QCommandLineOption_SetDescription(void* ptr, char* description) { static_cast(ptr)->setDescription(QString(description)); } void QCommandLineOption_SetValueName(void* ptr, char* valueName) { static_cast(ptr)->setValueName(QString(valueName)); } void QCommandLineOption_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } char* QCommandLineOption_ValueName(void* ptr) { return static_cast(ptr)->valueName().toUtf8().data(); } void QCommandLineOption_DestroyQCommandLineOption(void* ptr) { static_cast(ptr)->~QCommandLineOption(); } void* QCommandLineParser_NewQCommandLineParser() { return new QCommandLineParser(); } void* QCommandLineParser_AddHelpOption(void* ptr) { return new QCommandLineOption(static_cast(ptr)->addHelpOption()); } int QCommandLineParser_AddOption(void* ptr, void* option) { return static_cast(ptr)->addOption(*static_cast(option)); } void QCommandLineParser_AddPositionalArgument(void* ptr, char* name, char* description, char* syntax) { static_cast(ptr)->addPositionalArgument(QString(name), QString(description), QString(syntax)); } void* QCommandLineParser_AddVersionOption(void* ptr) { return new QCommandLineOption(static_cast(ptr)->addVersionOption()); } char* QCommandLineParser_ApplicationDescription(void* ptr) { return static_cast(ptr)->applicationDescription().toUtf8().data(); } void QCommandLineParser_ClearPositionalArguments(void* ptr) { static_cast(ptr)->clearPositionalArguments(); } char* QCommandLineParser_ErrorText(void* ptr) { return static_cast(ptr)->errorText().toUtf8().data(); } char* QCommandLineParser_HelpText(void* ptr) { return static_cast(ptr)->helpText().toUtf8().data(); } int QCommandLineParser_IsSet2(void* ptr, void* option) { return static_cast(ptr)->isSet(*static_cast(option)); } int QCommandLineParser_IsSet(void* ptr, char* name) { return static_cast(ptr)->isSet(QString(name)); } char* QCommandLineParser_OptionNames(void* ptr) { return static_cast(ptr)->optionNames().join("|").toUtf8().data(); } int QCommandLineParser_Parse(void* ptr, char* arguments) { return static_cast(ptr)->parse(QString(arguments).split("|", QString::SkipEmptyParts)); } char* QCommandLineParser_PositionalArguments(void* ptr) { return static_cast(ptr)->positionalArguments().join("|").toUtf8().data(); } void QCommandLineParser_Process2(void* ptr, void* app) { static_cast(ptr)->process(*static_cast(app)); } void QCommandLineParser_Process(void* ptr, char* arguments) { static_cast(ptr)->process(QString(arguments).split("|", QString::SkipEmptyParts)); } void QCommandLineParser_SetApplicationDescription(void* ptr, char* description) { static_cast(ptr)->setApplicationDescription(QString(description)); } void QCommandLineParser_SetSingleDashWordOptionMode(void* ptr, int singleDashWordOptionMode) { static_cast(ptr)->setSingleDashWordOptionMode(static_cast(singleDashWordOptionMode)); } void QCommandLineParser_ShowHelp(void* ptr, int exitCode) { static_cast(ptr)->showHelp(exitCode); } void QCommandLineParser_ShowVersion(void* ptr) { static_cast(ptr)->showVersion(); } char* QCommandLineParser_UnknownOptionNames(void* ptr) { return static_cast(ptr)->unknownOptionNames().join("|").toUtf8().data(); } char* QCommandLineParser_Value2(void* ptr, void* option) { return static_cast(ptr)->value(*static_cast(option)).toUtf8().data(); } char* QCommandLineParser_Value(void* ptr, char* optionName) { return static_cast(ptr)->value(QString(optionName)).toUtf8().data(); } char* QCommandLineParser_Values2(void* ptr, void* option) { return static_cast(ptr)->values(*static_cast(option)).join("|").toUtf8().data(); } char* QCommandLineParser_Values(void* ptr, char* optionName) { return static_cast(ptr)->values(QString(optionName)).join("|").toUtf8().data(); } void QCommandLineParser_DestroyQCommandLineParser(void* ptr) { static_cast(ptr)->~QCommandLineParser(); } class MyQCoreApplication: public QCoreApplication { public: MyQCoreApplication(int &argc, char **argv) : QCoreApplication(argc, argv) {}; void Signal_AboutToQuit() { callbackQCoreApplication_AboutToQuit(this, this->objectName().toUtf8().data()); }; bool event(QEvent * e) { return callbackQCoreApplication_Event(this, this->objectName().toUtf8().data(), e) != 0; }; void quit() { callbackQCoreApplication_Quit(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQCoreApplication_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQCoreApplication_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQCoreApplication_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQCoreApplication_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQCoreApplication_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQCoreApplication_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQCoreApplication_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQCoreApplication_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; char* QCoreApplication_QCoreApplication_ApplicationName() { return QCoreApplication::applicationName().toUtf8().data(); } char* QCoreApplication_QCoreApplication_ApplicationVersion() { return QCoreApplication::applicationVersion().toUtf8().data(); } char* QCoreApplication_QCoreApplication_OrganizationDomain() { return QCoreApplication::organizationDomain().toUtf8().data(); } char* QCoreApplication_QCoreApplication_OrganizationName() { return QCoreApplication::organizationName().toUtf8().data(); } void QCoreApplication_QCoreApplication_SetApplicationName(char* application) { QCoreApplication::setApplicationName(QString(application)); } void QCoreApplication_QCoreApplication_SetApplicationVersion(char* version) { QCoreApplication::setApplicationVersion(QString(version)); } void QCoreApplication_QCoreApplication_SetOrganizationDomain(char* orgDomain) { QCoreApplication::setOrganizationDomain(QString(orgDomain)); } void QCoreApplication_QCoreApplication_SetOrganizationName(char* orgName) { QCoreApplication::setOrganizationName(QString(orgName)); } void* QCoreApplication_NewQCoreApplication(int argc, char* argv) { QList aList = QByteArray(argv).split('|'); char *argvs[argc]; static int argcs = argc; for (int i = 0; i < argc; i++) argvs[i] = aList[i].data(); return new MyQCoreApplication(argcs, argvs); } void QCoreApplication_ConnectAboutToQuit(void* ptr) { QObject::connect(static_cast(ptr), &QCoreApplication::aboutToQuit, static_cast(ptr), static_cast(&MyQCoreApplication::Signal_AboutToQuit)); } void QCoreApplication_DisconnectAboutToQuit(void* ptr) { QObject::disconnect(static_cast(ptr), &QCoreApplication::aboutToQuit, static_cast(ptr), static_cast(&MyQCoreApplication::Signal_AboutToQuit)); } void QCoreApplication_QCoreApplication_AddLibraryPath(char* path) { QCoreApplication::addLibraryPath(QString(path)); } char* QCoreApplication_QCoreApplication_ApplicationDirPath() { return QCoreApplication::applicationDirPath().toUtf8().data(); } char* QCoreApplication_QCoreApplication_ApplicationFilePath() { return QCoreApplication::applicationFilePath().toUtf8().data(); } long long QCoreApplication_QCoreApplication_ApplicationPid() { return static_cast(QCoreApplication::applicationPid()); } char* QCoreApplication_QCoreApplication_Arguments() { return QCoreApplication::arguments().join("|").toUtf8().data(); } int QCoreApplication_QCoreApplication_ClosingDown() { return QCoreApplication::closingDown(); } int QCoreApplication_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QCoreApplication_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QCoreApplication::event(static_cast(e)); } void* QCoreApplication_QCoreApplication_EventDispatcher() { return QCoreApplication::eventDispatcher(); } int QCoreApplication_QCoreApplication_Exec() { return QCoreApplication::exec(); } void QCoreApplication_QCoreApplication_Exit(int returnCode) { QCoreApplication::exit(returnCode); } void QCoreApplication_QCoreApplication_Flush() { QCoreApplication::flush(); } void QCoreApplication_InstallNativeEventFilter(void* ptr, void* filterObj) { static_cast(ptr)->installNativeEventFilter(static_cast(filterObj)); } int QCoreApplication_QCoreApplication_InstallTranslator(void* translationFile) { return QCoreApplication::installTranslator(static_cast(translationFile)); } void* QCoreApplication_QCoreApplication_Instance() { return QCoreApplication::instance(); } int QCoreApplication_QCoreApplication_IsQuitLockEnabled() { return QCoreApplication::isQuitLockEnabled(); } int QCoreApplication_QCoreApplication_IsSetuidAllowed() { return QCoreApplication::isSetuidAllowed(); } char* QCoreApplication_QCoreApplication_LibraryPaths() { return QCoreApplication::libraryPaths().join("|").toUtf8().data(); } void QCoreApplication_QCoreApplication_PostEvent(void* receiver, void* event, int priority) { QCoreApplication::postEvent(static_cast(receiver), static_cast(event), priority); } void QCoreApplication_QCoreApplication_ProcessEvents(int flags) { QCoreApplication::processEvents(static_cast(flags)); } void QCoreApplication_QCoreApplication_ProcessEvents2(int flags, int maxtime) { QCoreApplication::processEvents(static_cast(flags), maxtime); } void QCoreApplication_Quit(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "quit"); } void QCoreApplication_QCoreApplication_RemoveLibraryPath(char* path) { QCoreApplication::removeLibraryPath(QString(path)); } void QCoreApplication_RemoveNativeEventFilter(void* ptr, void* filterObject) { static_cast(ptr)->removeNativeEventFilter(static_cast(filterObject)); } void QCoreApplication_QCoreApplication_RemovePostedEvents(void* receiver, int eventType) { QCoreApplication::removePostedEvents(static_cast(receiver), eventType); } int QCoreApplication_QCoreApplication_RemoveTranslator(void* translationFile) { return QCoreApplication::removeTranslator(static_cast(translationFile)); } int QCoreApplication_QCoreApplication_SendEvent(void* receiver, void* event) { return QCoreApplication::sendEvent(static_cast(receiver), static_cast(event)); } void QCoreApplication_QCoreApplication_SendPostedEvents(void* receiver, int event_type) { QCoreApplication::sendPostedEvents(static_cast(receiver), event_type); } void QCoreApplication_QCoreApplication_SetAttribute(int attribute, int on) { QCoreApplication::setAttribute(static_cast(attribute), on != 0); } void QCoreApplication_QCoreApplication_SetEventDispatcher(void* eventDispatcher) { QCoreApplication::setEventDispatcher(static_cast(eventDispatcher)); } void QCoreApplication_QCoreApplication_SetLibraryPaths(char* paths) { QCoreApplication::setLibraryPaths(QString(paths).split("|", QString::SkipEmptyParts)); } void QCoreApplication_QCoreApplication_SetQuitLockEnabled(int enabled) { QCoreApplication::setQuitLockEnabled(enabled != 0); } void QCoreApplication_QCoreApplication_SetSetuidAllowed(int allow) { QCoreApplication::setSetuidAllowed(allow != 0); } int QCoreApplication_QCoreApplication_StartingUp() { return QCoreApplication::startingUp(); } int QCoreApplication_QCoreApplication_TestAttribute(int attribute) { return QCoreApplication::testAttribute(static_cast(attribute)); } char* QCoreApplication_QCoreApplication_Translate(char* context, char* sourceText, char* disambiguation, int n) { return QCoreApplication::translate(const_cast(context), const_cast(sourceText), const_cast(disambiguation), n).toUtf8().data(); } void QCoreApplication_DestroyQCoreApplication(void* ptr) { static_cast(ptr)->~QCoreApplication(); } void QCoreApplication_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QCoreApplication_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QCoreApplication::timerEvent(static_cast(event)); } void QCoreApplication_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QCoreApplication_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QCoreApplication::childEvent(static_cast(event)); } void QCoreApplication_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QCoreApplication_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QCoreApplication::connectNotify(*static_cast(sign)); } void QCoreApplication_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QCoreApplication_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QCoreApplication::customEvent(static_cast(event)); } void QCoreApplication_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QCoreApplication_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QCoreApplication::deleteLater(); } void QCoreApplication_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QCoreApplication_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QCoreApplication::disconnectNotify(*static_cast(sign)); } int QCoreApplication_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QCoreApplication_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QCoreApplication::eventFilter(static_cast(watched), static_cast(event)); } void* QCoreApplication_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QCoreApplication_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QCoreApplication::metaObject()); } void* QCryptographicHash_NewQCryptographicHash(int method) { return new QCryptographicHash(static_cast(method)); } int QCryptographicHash_AddData2(void* ptr, void* device) { return static_cast(ptr)->addData(static_cast(device)); } void QCryptographicHash_AddData3(void* ptr, char* data) { static_cast(ptr)->addData(QByteArray(data)); } void QCryptographicHash_AddData(void* ptr, char* data, int length) { static_cast(ptr)->addData(const_cast(data), length); } char* QCryptographicHash_QCryptographicHash_Hash(char* data, int method) { return QString(QCryptographicHash::hash(QByteArray(data), static_cast(method))).toUtf8().data(); } void QCryptographicHash_Reset(void* ptr) { static_cast(ptr)->reset(); } char* QCryptographicHash_Result(void* ptr) { return QString(static_cast(ptr)->result()).toUtf8().data(); } void QCryptographicHash_DestroyQCryptographicHash(void* ptr) { static_cast(ptr)->~QCryptographicHash(); } void* QDataStream_NewQDataStream3(char* a, int mode) { return new QDataStream(new QByteArray(a), static_cast(mode)); } int QDataStream_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } void* QDataStream_NewQDataStream() { return new QDataStream(); } void* QDataStream_NewQDataStream2(void* d) { return new QDataStream(static_cast(d)); } void* QDataStream_NewQDataStream4(char* a) { return new QDataStream(QByteArray(a)); } int QDataStream_ByteOrder(void* ptr) { return static_cast(ptr)->byteOrder(); } void* QDataStream_Device(void* ptr) { return static_cast(ptr)->device(); } int QDataStream_FloatingPointPrecision(void* ptr) { return static_cast(ptr)->floatingPointPrecision(); } int QDataStream_ReadRawData(void* ptr, char* s, int len) { return static_cast(ptr)->readRawData(s, len); } void QDataStream_ResetStatus(void* ptr) { static_cast(ptr)->resetStatus(); } void QDataStream_SetByteOrder(void* ptr, int bo) { static_cast(ptr)->setByteOrder(static_cast(bo)); } void QDataStream_SetDevice(void* ptr, void* d) { static_cast(ptr)->setDevice(static_cast(d)); } void QDataStream_SetFloatingPointPrecision(void* ptr, int precision) { static_cast(ptr)->setFloatingPointPrecision(static_cast(precision)); } void QDataStream_SetStatus(void* ptr, int status) { static_cast(ptr)->setStatus(static_cast(status)); } void QDataStream_SetVersion(void* ptr, int v) { static_cast(ptr)->setVersion(v); } int QDataStream_SkipRawData(void* ptr, int len) { return static_cast(ptr)->skipRawData(len); } int QDataStream_Status(void* ptr) { return static_cast(ptr)->status(); } int QDataStream_Version(void* ptr) { return static_cast(ptr)->version(); } int QDataStream_WriteRawData(void* ptr, char* s, int len) { return static_cast(ptr)->writeRawData(const_cast(s), len); } void QDataStream_DestroyQDataStream(void* ptr) { static_cast(ptr)->~QDataStream(); } int QDate_QDate_IsLeapYear(int year) { return QDate::isLeapYear(year); } char* QDate_ToString2(void* ptr, int format) { return static_cast(ptr)->toString(static_cast(format)).toUtf8().data(); } void* QDate_NewQDate() { return new QDate(); } void* QDate_NewQDate3(int y, int m, int d) { return new QDate(y, m, d); } int QDate_Day(void* ptr) { return static_cast(ptr)->day(); } int QDate_DayOfWeek(void* ptr) { return static_cast(ptr)->dayOfWeek(); } int QDate_DayOfYear(void* ptr) { return static_cast(ptr)->dayOfYear(); } int QDate_DaysInMonth(void* ptr) { return static_cast(ptr)->daysInMonth(); } int QDate_DaysInYear(void* ptr) { return static_cast(ptr)->daysInYear(); } long long QDate_DaysTo(void* ptr, void* d) { return static_cast(static_cast(ptr)->daysTo(*static_cast(d))); } void QDate_GetDate(void* ptr, int year, int month, int day) { static_cast(ptr)->getDate(&year, &month, &day); } int QDate_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QDate_QDate_IsValid2(int year, int month, int day) { return QDate::isValid(year, month, day); } int QDate_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } char* QDate_QDate_LongDayName(int weekday, int ty) { return QDate::longDayName(weekday, static_cast(ty)).toUtf8().data(); } char* QDate_QDate_LongMonthName(int month, int ty) { return QDate::longMonthName(month, static_cast(ty)).toUtf8().data(); } int QDate_Month(void* ptr) { return static_cast(ptr)->month(); } int QDate_SetDate(void* ptr, int year, int month, int day) { return static_cast(ptr)->setDate(year, month, day); } char* QDate_QDate_ShortDayName(int weekday, int ty) { return QDate::shortDayName(weekday, static_cast(ty)).toUtf8().data(); } char* QDate_QDate_ShortMonthName(int month, int ty) { return QDate::shortMonthName(month, static_cast(ty)).toUtf8().data(); } long long QDate_ToJulianDay(void* ptr) { return static_cast(static_cast(ptr)->toJulianDay()); } char* QDate_ToString(void* ptr, char* format) { return static_cast(ptr)->toString(QString(format)).toUtf8().data(); } int QDate_WeekNumber(void* ptr, int yearNumber) { return static_cast(ptr)->weekNumber(&yearNumber); } int QDate_Year(void* ptr) { return static_cast(ptr)->year(); } void* QDateTime_QDateTime_CurrentDateTime() { return new QDateTime(QDateTime::currentDateTime()); } void* QDateTime_QDateTime_CurrentDateTimeUtc() { return new QDateTime(QDateTime::currentDateTimeUtc()); } long long QDateTime_QDateTime_CurrentMSecsSinceEpoch() { return static_cast(QDateTime::currentMSecsSinceEpoch()); } void* QDateTime_QDateTime_FromString(char* stri, int format) { return new QDateTime(QDateTime::fromString(QString(stri), static_cast(format))); } void* QDateTime_QDateTime_FromString2(char* stri, char* format) { return new QDateTime(QDateTime::fromString(QString(stri), QString(format))); } void* QDateTime_ToOffsetFromUtc(void* ptr, int offsetSeconds) { return new QDateTime(static_cast(ptr)->toOffsetFromUtc(offsetSeconds)); } char* QDateTime_ToString2(void* ptr, int format) { return static_cast(ptr)->toString(static_cast(format)).toUtf8().data(); } void* QDateTime_ToTimeSpec(void* ptr, int spec) { return new QDateTime(static_cast(ptr)->toTimeSpec(static_cast(spec))); } void* QDateTime_NewQDateTime() { return new QDateTime(); } void* QDateTime_NewQDateTime2(void* date) { return new QDateTime(*static_cast(date)); } void* QDateTime_NewQDateTime3(void* date, void* time, int spec) { return new QDateTime(*static_cast(date), *static_cast(time), static_cast(spec)); } void* QDateTime_NewQDateTime4(void* date, void* time, int spec, int offsetSeconds) { return new QDateTime(*static_cast(date), *static_cast(time), static_cast(spec), offsetSeconds); } void* QDateTime_NewQDateTime5(void* date, void* time, void* timeZone) { return new QDateTime(*static_cast(date), *static_cast(time), *static_cast(timeZone)); } void* QDateTime_NewQDateTime6(void* other) { return new QDateTime(*static_cast(other)); } void* QDateTime_AddDays(void* ptr, long long ndays) { return new QDateTime(static_cast(ptr)->addDays(static_cast(ndays))); } void* QDateTime_AddMSecs(void* ptr, long long msecs) { return new QDateTime(static_cast(ptr)->addMSecs(static_cast(msecs))); } void* QDateTime_AddMonths(void* ptr, int nmonths) { return new QDateTime(static_cast(ptr)->addMonths(nmonths)); } void* QDateTime_AddSecs(void* ptr, long long s) { return new QDateTime(static_cast(ptr)->addSecs(static_cast(s))); } void* QDateTime_AddYears(void* ptr, int nyears) { return new QDateTime(static_cast(ptr)->addYears(nyears)); } long long QDateTime_DaysTo(void* ptr, void* other) { return static_cast(static_cast(ptr)->daysTo(*static_cast(other))); } void* QDateTime_QDateTime_FromMSecsSinceEpoch(long long msecs) { return new QDateTime(QDateTime::fromMSecsSinceEpoch(static_cast(msecs))); } void* QDateTime_QDateTime_FromMSecsSinceEpoch2(long long msecs, int spec, int offsetSeconds) { return new QDateTime(QDateTime::fromMSecsSinceEpoch(static_cast(msecs), static_cast(spec), offsetSeconds)); } void* QDateTime_QDateTime_FromMSecsSinceEpoch3(long long msecs, void* timeZone) { return new QDateTime(QDateTime::fromMSecsSinceEpoch(static_cast(msecs), *static_cast(timeZone))); } int QDateTime_IsDaylightTime(void* ptr) { return static_cast(ptr)->isDaylightTime(); } int QDateTime_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QDateTime_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } long long QDateTime_MsecsTo(void* ptr, void* other) { return static_cast(static_cast(ptr)->msecsTo(*static_cast(other))); } int QDateTime_OffsetFromUtc(void* ptr) { return static_cast(ptr)->offsetFromUtc(); } long long QDateTime_SecsTo(void* ptr, void* other) { return static_cast(static_cast(ptr)->secsTo(*static_cast(other))); } void QDateTime_SetDate(void* ptr, void* date) { static_cast(ptr)->setDate(*static_cast(date)); } void QDateTime_SetMSecsSinceEpoch(void* ptr, long long msecs) { static_cast(ptr)->setMSecsSinceEpoch(static_cast(msecs)); } void QDateTime_SetOffsetFromUtc(void* ptr, int offsetSeconds) { static_cast(ptr)->setOffsetFromUtc(offsetSeconds); } void QDateTime_SetTime(void* ptr, void* time) { static_cast(ptr)->setTime(*static_cast(time)); } void QDateTime_SetTimeSpec(void* ptr, int spec) { static_cast(ptr)->setTimeSpec(static_cast(spec)); } void QDateTime_SetTimeZone(void* ptr, void* toZone) { static_cast(ptr)->setTimeZone(*static_cast(toZone)); } void QDateTime_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } int QDateTime_TimeSpec(void* ptr) { return static_cast(ptr)->timeSpec(); } void* QDateTime_TimeZone(void* ptr) { return new QTimeZone(static_cast(ptr)->timeZone()); } char* QDateTime_TimeZoneAbbreviation(void* ptr) { return static_cast(ptr)->timeZoneAbbreviation().toUtf8().data(); } void* QDateTime_ToLocalTime(void* ptr) { return new QDateTime(static_cast(ptr)->toLocalTime()); } long long QDateTime_ToMSecsSinceEpoch(void* ptr) { return static_cast(static_cast(ptr)->toMSecsSinceEpoch()); } char* QDateTime_ToString(void* ptr, char* format) { return static_cast(ptr)->toString(QString(format)).toUtf8().data(); } void* QDateTime_ToTimeZone(void* ptr, void* timeZone) { return new QDateTime(static_cast(ptr)->toTimeZone(*static_cast(timeZone))); } void* QDateTime_ToUTC(void* ptr) { return new QDateTime(static_cast(ptr)->toUTC()); } void QDateTime_DestroyQDateTime(void* ptr) { static_cast(ptr)->~QDateTime(); } void QDebug_DestroyQDebug(void* ptr) { static_cast(ptr)->~QDebug(); } void* QDebug_NewQDebug(void* device) { return new QDebug(static_cast(device)); } void* QDebug_NewQDebug2(char* stri) { return new QDebug(new QString(stri)); } void* QDebug_NewQDebug4(void* other) { return new QDebug(*static_cast(other)); } int QDebug_AutoInsertSpaces(void* ptr) { return static_cast(ptr)->autoInsertSpaces(); } void* QDebug_MaybeQuote(void* ptr, char* c) { return new QDebug(static_cast(ptr)->maybeQuote(*c)); } void* QDebug_MaybeSpace(void* ptr) { return new QDebug(static_cast(ptr)->maybeSpace()); } void* QDebug_Noquote(void* ptr) { return new QDebug(static_cast(ptr)->noquote()); } void* QDebug_Nospace(void* ptr) { return new QDebug(static_cast(ptr)->nospace()); } void* QDebug_Quote(void* ptr) { return new QDebug(static_cast(ptr)->quote()); } void* QDebug_ResetFormat(void* ptr) { return new QDebug(static_cast(ptr)->resetFormat()); } void QDebug_SetAutoInsertSpaces(void* ptr, int b) { static_cast(ptr)->setAutoInsertSpaces(b != 0); } void* QDebug_Space(void* ptr) { return new QDebug(static_cast(ptr)->space()); } void QDebug_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void* QDebugStateSaver_NewQDebugStateSaver(void* dbg) { return new QDebugStateSaver(*static_cast(dbg)); } void QDebugStateSaver_DestroyQDebugStateSaver(void* ptr) { static_cast(ptr)->~QDebugStateSaver(); } void* QDir_NewQDir(void* dir) { return new QDir(*static_cast(dir)); } void* QDir_NewQDir2(char* path) { return new QDir(QString(path)); } void* QDir_NewQDir3(char* path, char* nameFilter, int sort, int filters) { return new QDir(QString(path), QString(nameFilter), static_cast(sort), static_cast(filters)); } char* QDir_AbsoluteFilePath(void* ptr, char* fileName) { return static_cast(ptr)->absoluteFilePath(QString(fileName)).toUtf8().data(); } char* QDir_AbsolutePath(void* ptr) { return static_cast(ptr)->absolutePath().toUtf8().data(); } void QDir_QDir_AddSearchPath(char* prefix, char* path) { QDir::addSearchPath(QString(prefix), QString(path)); } char* QDir_CanonicalPath(void* ptr) { return static_cast(ptr)->canonicalPath().toUtf8().data(); } int QDir_Cd(void* ptr, char* dirName) { return static_cast(ptr)->cd(QString(dirName)); } int QDir_CdUp(void* ptr) { return static_cast(ptr)->cdUp(); } char* QDir_QDir_CleanPath(char* path) { return QDir::cleanPath(QString(path)).toUtf8().data(); } void* QDir_QDir_Current() { return new QDir(QDir::current()); } char* QDir_QDir_CurrentPath() { return QDir::currentPath().toUtf8().data(); } char* QDir_DirName(void* ptr) { return static_cast(ptr)->dirName().toUtf8().data(); } char* QDir_EntryList2(void* ptr, int filters, int sort) { return static_cast(ptr)->entryList(static_cast(filters), static_cast(sort)).join("|").toUtf8().data(); } char* QDir_EntryList(void* ptr, char* nameFilters, int filters, int sort) { return static_cast(ptr)->entryList(QString(nameFilters).split("|", QString::SkipEmptyParts), static_cast(filters), static_cast(sort)).join("|").toUtf8().data(); } int QDir_Exists2(void* ptr) { return static_cast(ptr)->exists(); } int QDir_Exists(void* ptr, char* name) { return static_cast(ptr)->exists(QString(name)); } char* QDir_FilePath(void* ptr, char* fileName) { return static_cast(ptr)->filePath(QString(fileName)).toUtf8().data(); } int QDir_Filter(void* ptr) { return static_cast(ptr)->filter(); } char* QDir_QDir_FromNativeSeparators(char* pathName) { return QDir::fromNativeSeparators(QString(pathName)).toUtf8().data(); } void* QDir_QDir_Home() { return new QDir(QDir::home()); } char* QDir_QDir_HomePath() { return QDir::homePath().toUtf8().data(); } int QDir_IsAbsolute(void* ptr) { return static_cast(ptr)->isAbsolute(); } int QDir_QDir_IsAbsolutePath(char* path) { return QDir::isAbsolutePath(QString(path)); } int QDir_IsReadable(void* ptr) { return static_cast(ptr)->isReadable(); } int QDir_IsRelative(void* ptr) { return static_cast(ptr)->isRelative(); } int QDir_QDir_IsRelativePath(char* path) { return QDir::isRelativePath(QString(path)); } int QDir_IsRoot(void* ptr) { return static_cast(ptr)->isRoot(); } int QDir_MakeAbsolute(void* ptr) { return static_cast(ptr)->makeAbsolute(); } int QDir_QDir_Match(char* filter, char* fileName) { return QDir::match(QString(filter), QString(fileName)); } int QDir_QDir_Match2(char* filters, char* fileName) { return QDir::match(QString(filters).split("|", QString::SkipEmptyParts), QString(fileName)); } int QDir_Mkdir(void* ptr, char* dirName) { return static_cast(ptr)->mkdir(QString(dirName)); } int QDir_Mkpath(void* ptr, char* dirPath) { return static_cast(ptr)->mkpath(QString(dirPath)); } char* QDir_NameFilters(void* ptr) { return static_cast(ptr)->nameFilters().join("|").toUtf8().data(); } char* QDir_Path(void* ptr) { return static_cast(ptr)->path().toUtf8().data(); } void QDir_Refresh(void* ptr) { static_cast(ptr)->refresh(); } char* QDir_RelativeFilePath(void* ptr, char* fileName) { return static_cast(ptr)->relativeFilePath(QString(fileName)).toUtf8().data(); } int QDir_Remove(void* ptr, char* fileName) { return static_cast(ptr)->remove(QString(fileName)); } int QDir_RemoveRecursively(void* ptr) { return static_cast(ptr)->removeRecursively(); } int QDir_Rename(void* ptr, char* oldName, char* newName) { return static_cast(ptr)->rename(QString(oldName), QString(newName)); } int QDir_Rmdir(void* ptr, char* dirName) { return static_cast(ptr)->rmdir(QString(dirName)); } int QDir_Rmpath(void* ptr, char* dirPath) { return static_cast(ptr)->rmpath(QString(dirPath)); } void* QDir_QDir_Root() { return new QDir(QDir::root()); } char* QDir_QDir_RootPath() { return QDir::rootPath().toUtf8().data(); } char* QDir_QDir_SearchPaths(char* prefix) { return QDir::searchPaths(QString(prefix)).join("|").toUtf8().data(); } int QDir_QDir_SetCurrent(char* path) { return QDir::setCurrent(QString(path)); } void QDir_SetFilter(void* ptr, int filters) { static_cast(ptr)->setFilter(static_cast(filters)); } void QDir_SetNameFilters(void* ptr, char* nameFilters) { static_cast(ptr)->setNameFilters(QString(nameFilters).split("|", QString::SkipEmptyParts)); } void QDir_SetPath(void* ptr, char* path) { static_cast(ptr)->setPath(QString(path)); } void QDir_QDir_SetSearchPaths(char* prefix, char* searchPaths) { QDir::setSearchPaths(QString(prefix), QString(searchPaths).split("|", QString::SkipEmptyParts)); } void QDir_SetSorting(void* ptr, int sort) { static_cast(ptr)->setSorting(static_cast(sort)); } int QDir_Sorting(void* ptr) { return static_cast(ptr)->sorting(); } void QDir_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void* QDir_QDir_Temp() { return new QDir(QDir::temp()); } char* QDir_QDir_TempPath() { return QDir::tempPath().toUtf8().data(); } char* QDir_QDir_ToNativeSeparators(char* pathName) { return QDir::toNativeSeparators(QString(pathName)).toUtf8().data(); } void QDir_DestroyQDir(void* ptr) { static_cast(ptr)->~QDir(); } void* QDynamicPropertyChangeEvent_NewQDynamicPropertyChangeEvent(char* name) { return new QDynamicPropertyChangeEvent(QByteArray(name)); } char* QDynamicPropertyChangeEvent_PropertyName(void* ptr) { return QString(static_cast(ptr)->propertyName()).toUtf8().data(); } void* QEasingCurve_NewQEasingCurve3(void* other) { return new QEasingCurve(*static_cast(other)); } void* QEasingCurve_NewQEasingCurve(int ty) { return new QEasingCurve(static_cast(ty)); } void* QEasingCurve_NewQEasingCurve2(void* other) { return new QEasingCurve(*static_cast(other)); } void QEasingCurve_AddCubicBezierSegment(void* ptr, void* c1, void* c2, void* endPoint) { static_cast(ptr)->addCubicBezierSegment(*static_cast(c1), *static_cast(c2), *static_cast(endPoint)); } void QEasingCurve_AddTCBSegment(void* ptr, void* nextPoint, double t, double c, double b) { static_cast(ptr)->addTCBSegment(*static_cast(nextPoint), static_cast(t), static_cast(c), static_cast(b)); } double QEasingCurve_Amplitude(void* ptr) { return static_cast(static_cast(ptr)->amplitude()); } double QEasingCurve_Overshoot(void* ptr) { return static_cast(static_cast(ptr)->overshoot()); } double QEasingCurve_Period(void* ptr) { return static_cast(static_cast(ptr)->period()); } void QEasingCurve_SetAmplitude(void* ptr, double amplitude) { static_cast(ptr)->setAmplitude(static_cast(amplitude)); } void QEasingCurve_SetOvershoot(void* ptr, double overshoot) { static_cast(ptr)->setOvershoot(static_cast(overshoot)); } void QEasingCurve_SetPeriod(void* ptr, double period) { static_cast(ptr)->setPeriod(static_cast(period)); } void QEasingCurve_SetType(void* ptr, int ty) { static_cast(ptr)->setType(static_cast(ty)); } void QEasingCurve_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } int QEasingCurve_Type(void* ptr) { return static_cast(ptr)->type(); } double QEasingCurve_ValueForProgress(void* ptr, double progress) { return static_cast(static_cast(ptr)->valueForProgress(static_cast(progress))); } void QEasingCurve_DestroyQEasingCurve(void* ptr) { static_cast(ptr)->~QEasingCurve(); } void* QElapsedTimer_NewQElapsedTimer() { return new QElapsedTimer(); } int QElapsedTimer_HasExpired(void* ptr, long long timeout) { return static_cast(ptr)->hasExpired(static_cast(timeout)); } void QElapsedTimer_Invalidate(void* ptr) { static_cast(ptr)->invalidate(); } int QElapsedTimer_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QElapsedTimer_QElapsedTimer_ClockType() { return QElapsedTimer::clockType(); } long long QElapsedTimer_Elapsed(void* ptr) { return static_cast(static_cast(ptr)->elapsed()); } int QElapsedTimer_QElapsedTimer_IsMonotonic() { return QElapsedTimer::isMonotonic(); } long long QElapsedTimer_MsecsSinceReference(void* ptr) { return static_cast(static_cast(ptr)->msecsSinceReference()); } long long QElapsedTimer_MsecsTo(void* ptr, void* other) { return static_cast(static_cast(ptr)->msecsTo(*static_cast(other))); } long long QElapsedTimer_NsecsElapsed(void* ptr) { return static_cast(static_cast(ptr)->nsecsElapsed()); } long long QElapsedTimer_Restart(void* ptr) { return static_cast(static_cast(ptr)->restart()); } long long QElapsedTimer_SecsTo(void* ptr, void* other) { return static_cast(static_cast(ptr)->secsTo(*static_cast(other))); } void QElapsedTimer_Start(void* ptr) { static_cast(ptr)->start(); } class MyQEvent: public QEvent { public: QString _objectName; QString objectNameAbs() const { return this->_objectName; }; void setObjectNameAbs(const QString &name) { this->_objectName = name; }; MyQEvent(Type type) : QEvent(type) {}; }; void* QEvent_NewQEvent(int ty) { return new MyQEvent(static_cast(ty)); } void QEvent_Accept(void* ptr) { static_cast(ptr)->accept(); } void QEvent_Ignore(void* ptr) { static_cast(ptr)->ignore(); } int QEvent_IsAccepted(void* ptr) { return static_cast(ptr)->isAccepted(); } int QEvent_QEvent_RegisterEventType(int hint) { return QEvent::registerEventType(hint); } void QEvent_SetAccepted(void* ptr, int accepted) { static_cast(ptr)->setAccepted(accepted != 0); } int QEvent_Spontaneous(void* ptr) { return static_cast(ptr)->spontaneous(); } int QEvent_Type(void* ptr) { return static_cast(ptr)->type(); } void QEvent_DestroyQEvent(void* ptr) { static_cast(ptr)->~QEvent(); } char* QEvent_ObjectNameAbs(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->objectNameAbs().toUtf8().data(); } return QString("QEvent_BASE").toUtf8().data(); } void QEvent_SetObjectNameAbs(void* ptr, char* name) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setObjectNameAbs(QString(name)); } } class MyQEventLoop: public QEventLoop { public: MyQEventLoop(QObject *parent) : QEventLoop(parent) {}; bool event(QEvent * event) { return callbackQEventLoop_Event(this, this->objectName().toUtf8().data(), event) != 0; }; void quit() { callbackQEventLoop_Quit(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQEventLoop_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQEventLoop_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQEventLoop_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQEventLoop_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQEventLoop_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQEventLoop_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQEventLoop_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQEventLoop_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QEventLoop_NewQEventLoop(void* parent) { return new MyQEventLoop(static_cast(parent)); } int QEventLoop_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } int QEventLoop_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QEventLoop::event(static_cast(event)); } int QEventLoop_Exec(void* ptr, int flags) { return static_cast(ptr)->exec(static_cast(flags)); } void QEventLoop_Exit(void* ptr, int returnCode) { static_cast(ptr)->exit(returnCode); } int QEventLoop_IsRunning(void* ptr) { return static_cast(ptr)->isRunning(); } int QEventLoop_ProcessEvents(void* ptr, int flags) { return static_cast(ptr)->processEvents(static_cast(flags)); } void QEventLoop_ProcessEvents2(void* ptr, int flags, int maxTime) { static_cast(ptr)->processEvents(static_cast(flags), maxTime); } void QEventLoop_Quit(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "quit"); } void QEventLoop_WakeUp(void* ptr) { static_cast(ptr)->wakeUp(); } void QEventLoop_DestroyQEventLoop(void* ptr) { static_cast(ptr)->~QEventLoop(); } void QEventLoop_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QEventLoop_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QEventLoop::timerEvent(static_cast(event)); } void QEventLoop_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QEventLoop_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QEventLoop::childEvent(static_cast(event)); } void QEventLoop_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QEventLoop_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QEventLoop::connectNotify(*static_cast(sign)); } void QEventLoop_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QEventLoop_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QEventLoop::customEvent(static_cast(event)); } void QEventLoop_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QEventLoop_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QEventLoop::deleteLater(); } void QEventLoop_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QEventLoop_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QEventLoop::disconnectNotify(*static_cast(sign)); } int QEventLoop_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QEventLoop_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QEventLoop::eventFilter(static_cast(watched), static_cast(event)); } void* QEventLoop_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QEventLoop_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QEventLoop::metaObject()); } void* QEventLoopLocker_NewQEventLoopLocker() { return new QEventLoopLocker(); } void* QEventLoopLocker_NewQEventLoopLocker2(void* loop) { return new QEventLoopLocker(static_cast(loop)); } void* QEventLoopLocker_NewQEventLoopLocker3(void* thread) { return new QEventLoopLocker(static_cast(thread)); } void QEventLoopLocker_DestroyQEventLoopLocker(void* ptr) { static_cast(ptr)->~QEventLoopLocker(); } class MyQEventTransition: public QEventTransition { public: MyQEventTransition(QObject *object, QEvent::Type type, QState *sourceState) : QEventTransition(object, type, sourceState) {}; MyQEventTransition(QState *sourceState) : QEventTransition(sourceState) {}; bool event(QEvent * e) { return callbackQEventTransition_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventTest(QEvent * event) { return callbackQEventTransition_EventTest(this, this->objectName().toUtf8().data(), event) != 0; }; void onTransition(QEvent * event) { callbackQEventTransition_OnTransition(this, this->objectName().toUtf8().data(), event); }; void timerEvent(QTimerEvent * event) { callbackQEventTransition_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQEventTransition_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQEventTransition_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQEventTransition_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQEventTransition_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQEventTransition_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQEventTransition_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQEventTransition_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QEventTransition_NewQEventTransition2(void* object, int ty, void* sourceState) { return new MyQEventTransition(static_cast(object), static_cast(ty), static_cast(sourceState)); } void* QEventTransition_NewQEventTransition(void* sourceState) { return new MyQEventTransition(static_cast(sourceState)); } int QEventTransition_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QEventTransition_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QEventTransition::event(static_cast(e)); } void* QEventTransition_EventSource(void* ptr) { return static_cast(ptr)->eventSource(); } int QEventTransition_EventTest(void* ptr, void* event) { return static_cast(ptr)->eventTest(static_cast(event)); } int QEventTransition_EventTestDefault(void* ptr, void* event) { return static_cast(ptr)->QEventTransition::eventTest(static_cast(event)); } int QEventTransition_EventType(void* ptr) { return static_cast(ptr)->eventType(); } void QEventTransition_OnTransition(void* ptr, void* event) { static_cast(ptr)->onTransition(static_cast(event)); } void QEventTransition_OnTransitionDefault(void* ptr, void* event) { static_cast(ptr)->QEventTransition::onTransition(static_cast(event)); } void QEventTransition_SetEventSource(void* ptr, void* object) { static_cast(ptr)->setEventSource(static_cast(object)); } void QEventTransition_SetEventType(void* ptr, int ty) { static_cast(ptr)->setEventType(static_cast(ty)); } void QEventTransition_DestroyQEventTransition(void* ptr) { static_cast(ptr)->~QEventTransition(); } void QEventTransition_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QEventTransition_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QEventTransition::timerEvent(static_cast(event)); } void QEventTransition_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QEventTransition_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QEventTransition::childEvent(static_cast(event)); } void QEventTransition_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QEventTransition_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QEventTransition::connectNotify(*static_cast(sign)); } void QEventTransition_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QEventTransition_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QEventTransition::customEvent(static_cast(event)); } void QEventTransition_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QEventTransition_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QEventTransition::deleteLater(); } void QEventTransition_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QEventTransition_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QEventTransition::disconnectNotify(*static_cast(sign)); } int QEventTransition_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QEventTransition_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QEventTransition::eventFilter(static_cast(watched), static_cast(event)); } void* QEventTransition_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QEventTransition_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QEventTransition::metaObject()); } class MyQFile: public QFile { public: MyQFile(QObject *parent) : QFile(parent) {}; MyQFile(const QString &name) : QFile(name) {}; MyQFile(const QString &name, QObject *parent) : QFile(name, parent) {}; QString fileName() const { return QString(callbackQFile_FileName(const_cast(this), this->objectName().toUtf8().data())); }; bool open(QIODevice::OpenMode mode) { return callbackQFile_Open(this, this->objectName().toUtf8().data(), mode) != 0; }; Permissions permissions() const { return static_cast(callbackQFile_Permissions(const_cast(this), this->objectName().toUtf8().data())); }; bool resize(qint64 sz) { return callbackQFile_Resize(this, this->objectName().toUtf8().data(), static_cast(sz)) != 0; }; bool setPermissions(QFileDevice::Permissions permissions) { return callbackQFile_SetPermissions(this, this->objectName().toUtf8().data(), permissions) != 0; }; qint64 size() const { return static_cast(callbackQFile_Size(const_cast(this), this->objectName().toUtf8().data())); }; bool seek(qint64 pos) { return callbackQFile_Seek(this, this->objectName().toUtf8().data(), static_cast(pos)) != 0; }; bool atEnd() const { return callbackQFile_AtEnd(const_cast(this), this->objectName().toUtf8().data()) != 0; }; void close() { callbackQFile_Close(this, this->objectName().toUtf8().data()); }; bool isSequential() const { return callbackQFile_IsSequential(const_cast(this), this->objectName().toUtf8().data()) != 0; }; qint64 pos() const { return static_cast(callbackQFile_Pos(const_cast(this), this->objectName().toUtf8().data())); }; qint64 readLineData(char * data, qint64 maxlen) { return static_cast(callbackQFile_ReadLineData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(maxlen))); }; qint64 writeData(const char * data, qint64 len) { return static_cast(callbackQFile_WriteData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(len))); }; qint64 bytesAvailable() const { return static_cast(callbackQFile_BytesAvailable(const_cast(this), this->objectName().toUtf8().data())); }; qint64 bytesToWrite() const { return static_cast(callbackQFile_BytesToWrite(const_cast(this), this->objectName().toUtf8().data())); }; bool canReadLine() const { return callbackQFile_CanReadLine(const_cast(this), this->objectName().toUtf8().data()) != 0; }; bool reset() { return callbackQFile_Reset(this, this->objectName().toUtf8().data()) != 0; }; bool waitForBytesWritten(int msecs) { return callbackQFile_WaitForBytesWritten(this, this->objectName().toUtf8().data(), msecs) != 0; }; bool waitForReadyRead(int msecs) { return callbackQFile_WaitForReadyRead(this, this->objectName().toUtf8().data(), msecs) != 0; }; void timerEvent(QTimerEvent * event) { callbackQFile_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQFile_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQFile_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQFile_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQFile_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQFile_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQFile_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQFile_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQFile_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QFile_NewQFile3(void* parent) { return new MyQFile(static_cast(parent)); } void* QFile_NewQFile(char* name) { return new MyQFile(QString(name)); } void* QFile_NewQFile4(char* name, void* parent) { return new MyQFile(QString(name), static_cast(parent)); } int QFile_QFile_Copy2(char* fileName, char* newName) { return QFile::copy(QString(fileName), QString(newName)); } int QFile_Copy(void* ptr, char* newName) { return static_cast(ptr)->copy(QString(newName)); } char* QFile_QFile_DecodeName(char* localFileName) { return QFile::decodeName(QByteArray(localFileName)).toUtf8().data(); } char* QFile_QFile_DecodeName2(char* localFileName) { return QFile::decodeName(const_cast(localFileName)).toUtf8().data(); } char* QFile_QFile_EncodeName(char* fileName) { return QString(QFile::encodeName(QString(fileName))).toUtf8().data(); } int QFile_QFile_Exists(char* fileName) { return QFile::exists(QString(fileName)); } int QFile_Exists2(void* ptr) { return static_cast(ptr)->exists(); } char* QFile_FileName(void* ptr) { return static_cast(ptr)->fileName().toUtf8().data(); } char* QFile_FileNameDefault(void* ptr) { return static_cast(ptr)->QFile::fileName().toUtf8().data(); } int QFile_QFile_Link2(char* fileName, char* linkName) { return QFile::link(QString(fileName), QString(linkName)); } int QFile_Link(void* ptr, char* linkName) { return static_cast(ptr)->link(QString(linkName)); } int QFile_Open(void* ptr, int mode) { return static_cast(ptr)->open(static_cast(mode)); } int QFile_OpenDefault(void* ptr, int mode) { return static_cast(ptr)->QFile::open(static_cast(mode)); } int QFile_Open3(void* ptr, int fd, int mode, int handleFlags) { return static_cast(ptr)->open(fd, static_cast(mode), static_cast(handleFlags)); } int QFile_QFile_Permissions2(char* fileName) { return QFile::permissions(QString(fileName)); } int QFile_Permissions(void* ptr) { return static_cast(ptr)->permissions(); } int QFile_PermissionsDefault(void* ptr) { return static_cast(ptr)->QFile::permissions(); } int QFile_Remove(void* ptr) { return static_cast(ptr)->remove(); } int QFile_QFile_Remove2(char* fileName) { return QFile::remove(QString(fileName)); } int QFile_Rename(void* ptr, char* newName) { return static_cast(ptr)->rename(QString(newName)); } int QFile_QFile_Rename2(char* oldName, char* newName) { return QFile::rename(QString(oldName), QString(newName)); } int QFile_QFile_Resize2(char* fileName, long long sz) { return QFile::resize(QString(fileName), static_cast(sz)); } int QFile_Resize(void* ptr, long long sz) { return static_cast(ptr)->resize(static_cast(sz)); } int QFile_ResizeDefault(void* ptr, long long sz) { return static_cast(ptr)->QFile::resize(static_cast(sz)); } void QFile_SetFileName(void* ptr, char* name) { static_cast(ptr)->setFileName(QString(name)); } int QFile_SetPermissions(void* ptr, int permissions) { return static_cast(ptr)->setPermissions(static_cast(permissions)); } int QFile_SetPermissionsDefault(void* ptr, int permissions) { return static_cast(ptr)->QFile::setPermissions(static_cast(permissions)); } int QFile_QFile_SetPermissions2(char* fileName, int permissions) { return QFile::setPermissions(QString(fileName), static_cast(permissions)); } long long QFile_Size(void* ptr) { return static_cast(static_cast(ptr)->size()); } long long QFile_SizeDefault(void* ptr) { return static_cast(static_cast(ptr)->QFile::size()); } char* QFile_QFile_SymLinkTarget(char* fileName) { return QFile::symLinkTarget(QString(fileName)).toUtf8().data(); } char* QFile_SymLinkTarget2(void* ptr) { return static_cast(ptr)->symLinkTarget().toUtf8().data(); } void QFile_DestroyQFile(void* ptr) { static_cast(ptr)->~QFile(); } int QFile_Seek(void* ptr, long long pos) { return static_cast(ptr)->seek(static_cast(pos)); } int QFile_SeekDefault(void* ptr, long long pos) { return static_cast(ptr)->QFile::seek(static_cast(pos)); } int QFile_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } int QFile_AtEndDefault(void* ptr) { return static_cast(ptr)->QFile::atEnd(); } void QFile_Close(void* ptr) { static_cast(ptr)->close(); } void QFile_CloseDefault(void* ptr) { static_cast(ptr)->QFile::close(); } int QFile_IsSequential(void* ptr) { return static_cast(ptr)->isSequential(); } int QFile_IsSequentialDefault(void* ptr) { return static_cast(ptr)->QFile::isSequential(); } long long QFile_Pos(void* ptr) { return static_cast(static_cast(ptr)->pos()); } long long QFile_PosDefault(void* ptr) { return static_cast(static_cast(ptr)->QFile::pos()); } long long QFile_ReadLineData(void* ptr, char* data, long long maxlen) { return static_cast(static_cast(ptr)->readLineData(data, static_cast(maxlen))); } long long QFile_ReadLineDataDefault(void* ptr, char* data, long long maxlen) { return static_cast(static_cast(ptr)->QFile::readLineData(data, static_cast(maxlen))); } long long QFile_WriteData(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->writeData(const_cast(data), static_cast(len))); } long long QFile_WriteDataDefault(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->QFile::writeData(const_cast(data), static_cast(len))); } long long QFile_BytesAvailable(void* ptr) { return static_cast(static_cast(ptr)->bytesAvailable()); } long long QFile_BytesAvailableDefault(void* ptr) { return static_cast(static_cast(ptr)->QFile::bytesAvailable()); } long long QFile_BytesToWrite(void* ptr) { return static_cast(static_cast(ptr)->bytesToWrite()); } long long QFile_BytesToWriteDefault(void* ptr) { return static_cast(static_cast(ptr)->QFile::bytesToWrite()); } int QFile_CanReadLine(void* ptr) { return static_cast(ptr)->canReadLine(); } int QFile_CanReadLineDefault(void* ptr) { return static_cast(ptr)->QFile::canReadLine(); } int QFile_Reset(void* ptr) { return static_cast(ptr)->reset(); } int QFile_ResetDefault(void* ptr) { return static_cast(ptr)->QFile::reset(); } int QFile_WaitForBytesWritten(void* ptr, int msecs) { return static_cast(ptr)->waitForBytesWritten(msecs); } int QFile_WaitForBytesWrittenDefault(void* ptr, int msecs) { return static_cast(ptr)->QFile::waitForBytesWritten(msecs); } int QFile_WaitForReadyRead(void* ptr, int msecs) { return static_cast(ptr)->waitForReadyRead(msecs); } int QFile_WaitForReadyReadDefault(void* ptr, int msecs) { return static_cast(ptr)->QFile::waitForReadyRead(msecs); } void QFile_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QFile_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QFile::timerEvent(static_cast(event)); } void QFile_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QFile_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QFile::childEvent(static_cast(event)); } void QFile_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QFile_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFile::connectNotify(*static_cast(sign)); } void QFile_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QFile_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QFile::customEvent(static_cast(event)); } void QFile_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QFile_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QFile::deleteLater(); } void QFile_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QFile_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFile::disconnectNotify(*static_cast(sign)); } int QFile_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QFile_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QFile::event(static_cast(e)); } int QFile_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QFile_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QFile::eventFilter(static_cast(watched), static_cast(event)); } void* QFile_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QFile_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QFile::metaObject()); } class MyQFileDevice: public QFileDevice { public: bool seek(qint64 pos) { return callbackQFileDevice_Seek(this, this->objectName().toUtf8().data(), static_cast(pos)) != 0; }; bool atEnd() const { return callbackQFileDevice_AtEnd(const_cast(this), this->objectName().toUtf8().data()) != 0; }; void close() { callbackQFileDevice_Close(this, this->objectName().toUtf8().data()); }; QString fileName() const { return QString(callbackQFileDevice_FileName(const_cast(this), this->objectName().toUtf8().data())); }; bool isSequential() const { return callbackQFileDevice_IsSequential(const_cast(this), this->objectName().toUtf8().data()) != 0; }; Permissions permissions() const { return static_cast(callbackQFileDevice_Permissions(const_cast(this), this->objectName().toUtf8().data())); }; qint64 pos() const { return static_cast(callbackQFileDevice_Pos(const_cast(this), this->objectName().toUtf8().data())); }; qint64 readLineData(char * data, qint64 maxlen) { return static_cast(callbackQFileDevice_ReadLineData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(maxlen))); }; bool resize(qint64 sz) { return callbackQFileDevice_Resize(this, this->objectName().toUtf8().data(), static_cast(sz)) != 0; }; bool setPermissions(QFileDevice::Permissions permissions) { return callbackQFileDevice_SetPermissions(this, this->objectName().toUtf8().data(), permissions) != 0; }; qint64 size() const { return static_cast(callbackQFileDevice_Size(const_cast(this), this->objectName().toUtf8().data())); }; qint64 writeData(const char * data, qint64 len) { return static_cast(callbackQFileDevice_WriteData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(len))); }; qint64 bytesAvailable() const { return static_cast(callbackQFileDevice_BytesAvailable(const_cast(this), this->objectName().toUtf8().data())); }; qint64 bytesToWrite() const { return static_cast(callbackQFileDevice_BytesToWrite(const_cast(this), this->objectName().toUtf8().data())); }; bool canReadLine() const { return callbackQFileDevice_CanReadLine(const_cast(this), this->objectName().toUtf8().data()) != 0; }; bool open(QIODevice::OpenMode mode) { return callbackQFileDevice_Open(this, this->objectName().toUtf8().data(), mode) != 0; }; bool reset() { return callbackQFileDevice_Reset(this, this->objectName().toUtf8().data()) != 0; }; bool waitForBytesWritten(int msecs) { return callbackQFileDevice_WaitForBytesWritten(this, this->objectName().toUtf8().data(), msecs) != 0; }; bool waitForReadyRead(int msecs) { return callbackQFileDevice_WaitForReadyRead(this, this->objectName().toUtf8().data(), msecs) != 0; }; void timerEvent(QTimerEvent * event) { callbackQFileDevice_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQFileDevice_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQFileDevice_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQFileDevice_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQFileDevice_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQFileDevice_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQFileDevice_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQFileDevice_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQFileDevice_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; int QFileDevice_Seek(void* ptr, long long pos) { return static_cast(ptr)->seek(static_cast(pos)); } int QFileDevice_SeekDefault(void* ptr, long long pos) { return static_cast(ptr)->QFileDevice::seek(static_cast(pos)); } int QFileDevice_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } int QFileDevice_AtEndDefault(void* ptr) { return static_cast(ptr)->QFileDevice::atEnd(); } void QFileDevice_Close(void* ptr) { static_cast(ptr)->close(); } void QFileDevice_CloseDefault(void* ptr) { static_cast(ptr)->QFileDevice::close(); } int QFileDevice_Error(void* ptr) { return static_cast(ptr)->error(); } char* QFileDevice_FileName(void* ptr) { return static_cast(ptr)->fileName().toUtf8().data(); } char* QFileDevice_FileNameDefault(void* ptr) { return static_cast(ptr)->QFileDevice::fileName().toUtf8().data(); } int QFileDevice_Flush(void* ptr) { return static_cast(ptr)->flush(); } int QFileDevice_Handle(void* ptr) { return static_cast(ptr)->handle(); } int QFileDevice_IsSequential(void* ptr) { return static_cast(ptr)->isSequential(); } int QFileDevice_IsSequentialDefault(void* ptr) { return static_cast(ptr)->QFileDevice::isSequential(); } int QFileDevice_Permissions(void* ptr) { return static_cast(ptr)->permissions(); } int QFileDevice_PermissionsDefault(void* ptr) { return static_cast(ptr)->QFileDevice::permissions(); } long long QFileDevice_Pos(void* ptr) { return static_cast(static_cast(ptr)->pos()); } long long QFileDevice_PosDefault(void* ptr) { return static_cast(static_cast(ptr)->QFileDevice::pos()); } long long QFileDevice_ReadLineData(void* ptr, char* data, long long maxlen) { return static_cast(static_cast(ptr)->readLineData(data, static_cast(maxlen))); } long long QFileDevice_ReadLineDataDefault(void* ptr, char* data, long long maxlen) { return static_cast(static_cast(ptr)->QFileDevice::readLineData(data, static_cast(maxlen))); } int QFileDevice_Resize(void* ptr, long long sz) { return static_cast(ptr)->resize(static_cast(sz)); } int QFileDevice_ResizeDefault(void* ptr, long long sz) { return static_cast(ptr)->QFileDevice::resize(static_cast(sz)); } int QFileDevice_SetPermissions(void* ptr, int permissions) { return static_cast(ptr)->setPermissions(static_cast(permissions)); } int QFileDevice_SetPermissionsDefault(void* ptr, int permissions) { return static_cast(ptr)->QFileDevice::setPermissions(static_cast(permissions)); } long long QFileDevice_Size(void* ptr) { return static_cast(static_cast(ptr)->size()); } long long QFileDevice_SizeDefault(void* ptr) { return static_cast(static_cast(ptr)->QFileDevice::size()); } void QFileDevice_UnsetError(void* ptr) { static_cast(ptr)->unsetError(); } long long QFileDevice_WriteData(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->writeData(const_cast(data), static_cast(len))); } long long QFileDevice_WriteDataDefault(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->QFileDevice::writeData(const_cast(data), static_cast(len))); } void QFileDevice_DestroyQFileDevice(void* ptr) { static_cast(ptr)->~QFileDevice(); } long long QFileDevice_BytesAvailable(void* ptr) { return static_cast(static_cast(ptr)->bytesAvailable()); } long long QFileDevice_BytesAvailableDefault(void* ptr) { return static_cast(static_cast(ptr)->QFileDevice::bytesAvailable()); } long long QFileDevice_BytesToWrite(void* ptr) { return static_cast(static_cast(ptr)->bytesToWrite()); } long long QFileDevice_BytesToWriteDefault(void* ptr) { return static_cast(static_cast(ptr)->QFileDevice::bytesToWrite()); } int QFileDevice_CanReadLine(void* ptr) { return static_cast(ptr)->canReadLine(); } int QFileDevice_CanReadLineDefault(void* ptr) { return static_cast(ptr)->QFileDevice::canReadLine(); } int QFileDevice_Open(void* ptr, int mode) { return static_cast(ptr)->open(static_cast(mode)); } int QFileDevice_OpenDefault(void* ptr, int mode) { return static_cast(ptr)->QFileDevice::open(static_cast(mode)); } int QFileDevice_Reset(void* ptr) { return static_cast(ptr)->reset(); } int QFileDevice_ResetDefault(void* ptr) { return static_cast(ptr)->QFileDevice::reset(); } int QFileDevice_WaitForBytesWritten(void* ptr, int msecs) { return static_cast(ptr)->waitForBytesWritten(msecs); } int QFileDevice_WaitForBytesWrittenDefault(void* ptr, int msecs) { return static_cast(ptr)->QFileDevice::waitForBytesWritten(msecs); } int QFileDevice_WaitForReadyRead(void* ptr, int msecs) { return static_cast(ptr)->waitForReadyRead(msecs); } int QFileDevice_WaitForReadyReadDefault(void* ptr, int msecs) { return static_cast(ptr)->QFileDevice::waitForReadyRead(msecs); } void QFileDevice_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QFileDevice_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileDevice::timerEvent(static_cast(event)); } void QFileDevice_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QFileDevice_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileDevice::childEvent(static_cast(event)); } void QFileDevice_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QFileDevice_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFileDevice::connectNotify(*static_cast(sign)); } void QFileDevice_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QFileDevice_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileDevice::customEvent(static_cast(event)); } void QFileDevice_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QFileDevice_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QFileDevice::deleteLater(); } void QFileDevice_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QFileDevice_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFileDevice::disconnectNotify(*static_cast(sign)); } int QFileDevice_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QFileDevice_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QFileDevice::event(static_cast(e)); } int QFileDevice_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QFileDevice_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QFileDevice::eventFilter(static_cast(watched), static_cast(event)); } void* QFileDevice_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QFileDevice_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QFileDevice::metaObject()); } void* QFileInfo_NewQFileInfo() { return new QFileInfo(); } void* QFileInfo_NewQFileInfo5(void* dir, char* file) { return new QFileInfo(*static_cast(dir), QString(file)); } void* QFileInfo_NewQFileInfo4(void* file) { return new QFileInfo(*static_cast(file)); } void* QFileInfo_NewQFileInfo6(void* fileinfo) { return new QFileInfo(*static_cast(fileinfo)); } void* QFileInfo_NewQFileInfo3(char* file) { return new QFileInfo(QString(file)); } void* QFileInfo_AbsoluteDir(void* ptr) { return new QDir(static_cast(ptr)->absoluteDir()); } char* QFileInfo_AbsoluteFilePath(void* ptr) { return static_cast(ptr)->absoluteFilePath().toUtf8().data(); } char* QFileInfo_AbsolutePath(void* ptr) { return static_cast(ptr)->absolutePath().toUtf8().data(); } char* QFileInfo_BaseName(void* ptr) { return static_cast(ptr)->baseName().toUtf8().data(); } char* QFileInfo_BundleName(void* ptr) { return static_cast(ptr)->bundleName().toUtf8().data(); } int QFileInfo_Caching(void* ptr) { return static_cast(ptr)->caching(); } char* QFileInfo_CanonicalFilePath(void* ptr) { return static_cast(ptr)->canonicalFilePath().toUtf8().data(); } char* QFileInfo_CanonicalPath(void* ptr) { return static_cast(ptr)->canonicalPath().toUtf8().data(); } char* QFileInfo_CompleteBaseName(void* ptr) { return static_cast(ptr)->completeBaseName().toUtf8().data(); } char* QFileInfo_CompleteSuffix(void* ptr) { return static_cast(ptr)->completeSuffix().toUtf8().data(); } void* QFileInfo_Created(void* ptr) { return new QDateTime(static_cast(ptr)->created()); } void* QFileInfo_Dir(void* ptr) { return new QDir(static_cast(ptr)->dir()); } int QFileInfo_QFileInfo_Exists2(char* file) { return QFileInfo::exists(QString(file)); } int QFileInfo_Exists(void* ptr) { return static_cast(ptr)->exists(); } char* QFileInfo_FileName(void* ptr) { return static_cast(ptr)->fileName().toUtf8().data(); } char* QFileInfo_FilePath(void* ptr) { return static_cast(ptr)->filePath().toUtf8().data(); } char* QFileInfo_Group(void* ptr) { return static_cast(ptr)->group().toUtf8().data(); } int QFileInfo_IsAbsolute(void* ptr) { return static_cast(ptr)->isAbsolute(); } int QFileInfo_IsBundle(void* ptr) { return static_cast(ptr)->isBundle(); } int QFileInfo_IsDir(void* ptr) { return static_cast(ptr)->isDir(); } int QFileInfo_IsExecutable(void* ptr) { return static_cast(ptr)->isExecutable(); } int QFileInfo_IsFile(void* ptr) { return static_cast(ptr)->isFile(); } int QFileInfo_IsHidden(void* ptr) { return static_cast(ptr)->isHidden(); } int QFileInfo_IsNativePath(void* ptr) { return static_cast(ptr)->isNativePath(); } int QFileInfo_IsReadable(void* ptr) { return static_cast(ptr)->isReadable(); } int QFileInfo_IsRelative(void* ptr) { return static_cast(ptr)->isRelative(); } int QFileInfo_IsRoot(void* ptr) { return static_cast(ptr)->isRoot(); } int QFileInfo_IsSymLink(void* ptr) { return static_cast(ptr)->isSymLink(); } int QFileInfo_IsWritable(void* ptr) { return static_cast(ptr)->isWritable(); } void* QFileInfo_LastModified(void* ptr) { return new QDateTime(static_cast(ptr)->lastModified()); } void* QFileInfo_LastRead(void* ptr) { return new QDateTime(static_cast(ptr)->lastRead()); } int QFileInfo_MakeAbsolute(void* ptr) { return static_cast(ptr)->makeAbsolute(); } char* QFileInfo_Owner(void* ptr) { return static_cast(ptr)->owner().toUtf8().data(); } char* QFileInfo_Path(void* ptr) { return static_cast(ptr)->path().toUtf8().data(); } void QFileInfo_Refresh(void* ptr) { static_cast(ptr)->refresh(); } void QFileInfo_SetCaching(void* ptr, int enable) { static_cast(ptr)->setCaching(enable != 0); } void QFileInfo_SetFile3(void* ptr, void* dir, char* file) { static_cast(ptr)->setFile(*static_cast(dir), QString(file)); } void QFileInfo_SetFile2(void* ptr, void* file) { static_cast(ptr)->setFile(*static_cast(file)); } void QFileInfo_SetFile(void* ptr, char* file) { static_cast(ptr)->setFile(QString(file)); } long long QFileInfo_Size(void* ptr) { return static_cast(static_cast(ptr)->size()); } char* QFileInfo_Suffix(void* ptr) { return static_cast(ptr)->suffix().toUtf8().data(); } void QFileInfo_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } char* QFileInfo_SymLinkTarget(void* ptr) { return static_cast(ptr)->symLinkTarget().toUtf8().data(); } void QFileInfo_DestroyQFileInfo(void* ptr) { static_cast(ptr)->~QFileInfo(); } void* QFileSelector_NewQFileSelector(void* parent) { return new QFileSelector(static_cast(parent)); } char* QFileSelector_AllSelectors(void* ptr) { return static_cast(ptr)->allSelectors().join("|").toUtf8().data(); } char* QFileSelector_ExtraSelectors(void* ptr) { return static_cast(ptr)->extraSelectors().join("|").toUtf8().data(); } char* QFileSelector_Select(void* ptr, char* filePath) { return static_cast(ptr)->select(QString(filePath)).toUtf8().data(); } void* QFileSelector_Select2(void* ptr, void* filePath) { return new QUrl(static_cast(ptr)->select(*static_cast(filePath))); } void QFileSelector_SetExtraSelectors(void* ptr, char* list) { static_cast(ptr)->setExtraSelectors(QString(list).split("|", QString::SkipEmptyParts)); } void QFileSelector_DestroyQFileSelector(void* ptr) { static_cast(ptr)->~QFileSelector(); } void QFileSelector_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QFileSelector_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileSelector::timerEvent(static_cast(event)); } void QFileSelector_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QFileSelector_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileSelector::childEvent(static_cast(event)); } void QFileSelector_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QFileSelector_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFileSelector::connectNotify(*static_cast(sign)); } void QFileSelector_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QFileSelector_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileSelector::customEvent(static_cast(event)); } void QFileSelector_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QFileSelector_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QFileSelector::deleteLater(); } void QFileSelector_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QFileSelector_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFileSelector::disconnectNotify(*static_cast(sign)); } int QFileSelector_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QFileSelector_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QFileSelector::event(static_cast(e)); } int QFileSelector_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QFileSelector_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QFileSelector::eventFilter(static_cast(watched), static_cast(event)); } void* QFileSelector_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QFileSelector_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QFileSelector::metaObject()); } class MyQFileSystemWatcher: public QFileSystemWatcher { public: MyQFileSystemWatcher(QObject *parent) : QFileSystemWatcher(parent) {}; MyQFileSystemWatcher(const QStringList &paths, QObject *parent) : QFileSystemWatcher(paths, parent) {}; void Signal_DirectoryChanged(const QString & path) { callbackQFileSystemWatcher_DirectoryChanged(this, this->objectName().toUtf8().data(), path.toUtf8().data()); }; void Signal_FileChanged(const QString & path) { callbackQFileSystemWatcher_FileChanged(this, this->objectName().toUtf8().data(), path.toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQFileSystemWatcher_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQFileSystemWatcher_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQFileSystemWatcher_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQFileSystemWatcher_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQFileSystemWatcher_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQFileSystemWatcher_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQFileSystemWatcher_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQFileSystemWatcher_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQFileSystemWatcher_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; char* QFileSystemWatcher_Directories(void* ptr) { return static_cast(ptr)->directories().join("|").toUtf8().data(); } char* QFileSystemWatcher_Files(void* ptr) { return static_cast(ptr)->files().join("|").toUtf8().data(); } void* QFileSystemWatcher_NewQFileSystemWatcher(void* parent) { return new MyQFileSystemWatcher(static_cast(parent)); } void* QFileSystemWatcher_NewQFileSystemWatcher2(char* paths, void* parent) { return new MyQFileSystemWatcher(QString(paths).split("|", QString::SkipEmptyParts), static_cast(parent)); } int QFileSystemWatcher_AddPath(void* ptr, char* path) { return static_cast(ptr)->addPath(QString(path)); } char* QFileSystemWatcher_AddPaths(void* ptr, char* paths) { return static_cast(ptr)->addPaths(QString(paths).split("|", QString::SkipEmptyParts)).join("|").toUtf8().data(); } void QFileSystemWatcher_ConnectDirectoryChanged(void* ptr) { QObject::connect(static_cast(ptr), &QFileSystemWatcher::directoryChanged, static_cast(ptr), static_cast(&MyQFileSystemWatcher::Signal_DirectoryChanged)); } void QFileSystemWatcher_DisconnectDirectoryChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QFileSystemWatcher::directoryChanged, static_cast(ptr), static_cast(&MyQFileSystemWatcher::Signal_DirectoryChanged)); } void QFileSystemWatcher_ConnectFileChanged(void* ptr) { QObject::connect(static_cast(ptr), &QFileSystemWatcher::fileChanged, static_cast(ptr), static_cast(&MyQFileSystemWatcher::Signal_FileChanged)); } void QFileSystemWatcher_DisconnectFileChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QFileSystemWatcher::fileChanged, static_cast(ptr), static_cast(&MyQFileSystemWatcher::Signal_FileChanged)); } int QFileSystemWatcher_RemovePath(void* ptr, char* path) { return static_cast(ptr)->removePath(QString(path)); } char* QFileSystemWatcher_RemovePaths(void* ptr, char* paths) { return static_cast(ptr)->removePaths(QString(paths).split("|", QString::SkipEmptyParts)).join("|").toUtf8().data(); } void QFileSystemWatcher_DestroyQFileSystemWatcher(void* ptr) { static_cast(ptr)->~QFileSystemWatcher(); } void QFileSystemWatcher_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QFileSystemWatcher_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileSystemWatcher::timerEvent(static_cast(event)); } void QFileSystemWatcher_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QFileSystemWatcher_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileSystemWatcher::childEvent(static_cast(event)); } void QFileSystemWatcher_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QFileSystemWatcher_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFileSystemWatcher::connectNotify(*static_cast(sign)); } void QFileSystemWatcher_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QFileSystemWatcher_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileSystemWatcher::customEvent(static_cast(event)); } void QFileSystemWatcher_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QFileSystemWatcher_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QFileSystemWatcher::deleteLater(); } void QFileSystemWatcher_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QFileSystemWatcher_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFileSystemWatcher::disconnectNotify(*static_cast(sign)); } int QFileSystemWatcher_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QFileSystemWatcher_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QFileSystemWatcher::event(static_cast(e)); } int QFileSystemWatcher_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QFileSystemWatcher_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QFileSystemWatcher::eventFilter(static_cast(watched), static_cast(event)); } void* QFileSystemWatcher_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QFileSystemWatcher_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QFileSystemWatcher::metaObject()); } class MyQFinalState: public QFinalState { public: MyQFinalState(QState *parent) : QFinalState(parent) {}; bool event(QEvent * e) { return callbackQFinalState_Event(this, this->objectName().toUtf8().data(), e) != 0; }; void onEntry(QEvent * event) { callbackQFinalState_OnEntry(this, this->objectName().toUtf8().data(), event); }; void onExit(QEvent * event) { callbackQFinalState_OnExit(this, this->objectName().toUtf8().data(), event); }; void timerEvent(QTimerEvent * event) { callbackQFinalState_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQFinalState_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQFinalState_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQFinalState_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQFinalState_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQFinalState_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQFinalState_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQFinalState_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QFinalState_NewQFinalState(void* parent) { return new MyQFinalState(static_cast(parent)); } int QFinalState_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QFinalState_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QFinalState::event(static_cast(e)); } void QFinalState_OnEntry(void* ptr, void* event) { static_cast(ptr)->onEntry(static_cast(event)); } void QFinalState_OnEntryDefault(void* ptr, void* event) { static_cast(ptr)->QFinalState::onEntry(static_cast(event)); } void QFinalState_OnExit(void* ptr, void* event) { static_cast(ptr)->onExit(static_cast(event)); } void QFinalState_OnExitDefault(void* ptr, void* event) { static_cast(ptr)->QFinalState::onExit(static_cast(event)); } void QFinalState_DestroyQFinalState(void* ptr) { static_cast(ptr)->~QFinalState(); } void QFinalState_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QFinalState_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QFinalState::timerEvent(static_cast(event)); } void QFinalState_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QFinalState_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QFinalState::childEvent(static_cast(event)); } void QFinalState_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QFinalState_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFinalState::connectNotify(*static_cast(sign)); } void QFinalState_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QFinalState_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QFinalState::customEvent(static_cast(event)); } void QFinalState_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QFinalState_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QFinalState::deleteLater(); } void QFinalState_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QFinalState_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFinalState::disconnectNotify(*static_cast(sign)); } int QFinalState_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QFinalState_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QFinalState::eventFilter(static_cast(watched), static_cast(event)); } void* QFinalState_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QFinalState_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QFinalState::metaObject()); } void* QFlag_NewQFlag(int value) { return new QFlag(value); } void* QGenericArgument_NewQGenericArgument(char* name, void* data) { return new QGenericArgument(const_cast(name), data); } void* QGenericArgument_Data(void* ptr) { return static_cast(ptr)->data(); } char* QGenericArgument_Name(void* ptr) { return QString(static_cast(ptr)->name()).toUtf8().data(); } void* QGenericReturnArgument_NewQGenericReturnArgument(char* name, void* data) { return new QGenericReturnArgument(const_cast(name), data); } class MyQHistoryState: public QHistoryState { public: MyQHistoryState(HistoryType type, QState *parent) : QHistoryState(type, parent) {}; MyQHistoryState(QState *parent) : QHistoryState(parent) {}; void Signal_DefaultStateChanged() { callbackQHistoryState_DefaultStateChanged(this, this->objectName().toUtf8().data()); }; bool event(QEvent * e) { return callbackQHistoryState_Event(this, this->objectName().toUtf8().data(), e) != 0; }; void Signal_HistoryTypeChanged() { callbackQHistoryState_HistoryTypeChanged(this, this->objectName().toUtf8().data()); }; void onEntry(QEvent * event) { callbackQHistoryState_OnEntry(this, this->objectName().toUtf8().data(), event); }; void onExit(QEvent * event) { callbackQHistoryState_OnExit(this, this->objectName().toUtf8().data(), event); }; void timerEvent(QTimerEvent * event) { callbackQHistoryState_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQHistoryState_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQHistoryState_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQHistoryState_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQHistoryState_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQHistoryState_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQHistoryState_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQHistoryState_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QHistoryState_NewQHistoryState2(int ty, void* parent) { return new MyQHistoryState(static_cast(ty), static_cast(parent)); } void* QHistoryState_NewQHistoryState(void* parent) { return new MyQHistoryState(static_cast(parent)); } void* QHistoryState_DefaultState(void* ptr) { return static_cast(ptr)->defaultState(); } void QHistoryState_ConnectDefaultStateChanged(void* ptr) { QObject::connect(static_cast(ptr), &QHistoryState::defaultStateChanged, static_cast(ptr), static_cast(&MyQHistoryState::Signal_DefaultStateChanged)); } void QHistoryState_DisconnectDefaultStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QHistoryState::defaultStateChanged, static_cast(ptr), static_cast(&MyQHistoryState::Signal_DefaultStateChanged)); } int QHistoryState_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QHistoryState_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QHistoryState::event(static_cast(e)); } int QHistoryState_HistoryType(void* ptr) { return static_cast(ptr)->historyType(); } void QHistoryState_ConnectHistoryTypeChanged(void* ptr) { QObject::connect(static_cast(ptr), &QHistoryState::historyTypeChanged, static_cast(ptr), static_cast(&MyQHistoryState::Signal_HistoryTypeChanged)); } void QHistoryState_DisconnectHistoryTypeChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QHistoryState::historyTypeChanged, static_cast(ptr), static_cast(&MyQHistoryState::Signal_HistoryTypeChanged)); } void QHistoryState_OnEntry(void* ptr, void* event) { static_cast(ptr)->onEntry(static_cast(event)); } void QHistoryState_OnEntryDefault(void* ptr, void* event) { static_cast(ptr)->QHistoryState::onEntry(static_cast(event)); } void QHistoryState_OnExit(void* ptr, void* event) { static_cast(ptr)->onExit(static_cast(event)); } void QHistoryState_OnExitDefault(void* ptr, void* event) { static_cast(ptr)->QHistoryState::onExit(static_cast(event)); } void QHistoryState_SetDefaultState(void* ptr, void* state) { static_cast(ptr)->setDefaultState(static_cast(state)); } void QHistoryState_SetHistoryType(void* ptr, int ty) { static_cast(ptr)->setHistoryType(static_cast(ty)); } void QHistoryState_DestroyQHistoryState(void* ptr) { static_cast(ptr)->~QHistoryState(); } void QHistoryState_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QHistoryState_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QHistoryState::timerEvent(static_cast(event)); } void QHistoryState_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QHistoryState_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QHistoryState::childEvent(static_cast(event)); } void QHistoryState_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QHistoryState_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QHistoryState::connectNotify(*static_cast(sign)); } void QHistoryState_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QHistoryState_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QHistoryState::customEvent(static_cast(event)); } void QHistoryState_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QHistoryState_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QHistoryState::deleteLater(); } void QHistoryState_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QHistoryState_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QHistoryState::disconnectNotify(*static_cast(sign)); } int QHistoryState_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QHistoryState_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QHistoryState::eventFilter(static_cast(watched), static_cast(event)); } void* QHistoryState_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QHistoryState_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QHistoryState::metaObject()); } class MyQIODevice: public QIODevice { public: void Signal_AboutToClose() { callbackQIODevice_AboutToClose(this, this->objectName().toUtf8().data()); }; bool atEnd() const { return callbackQIODevice_AtEnd(const_cast(this), this->objectName().toUtf8().data()) != 0; }; qint64 bytesAvailable() const { return static_cast(callbackQIODevice_BytesAvailable(const_cast(this), this->objectName().toUtf8().data())); }; qint64 bytesToWrite() const { return static_cast(callbackQIODevice_BytesToWrite(const_cast(this), this->objectName().toUtf8().data())); }; void Signal_BytesWritten(qint64 bytes) { callbackQIODevice_BytesWritten(this, this->objectName().toUtf8().data(), static_cast(bytes)); }; bool canReadLine() const { return callbackQIODevice_CanReadLine(const_cast(this), this->objectName().toUtf8().data()) != 0; }; void close() { callbackQIODevice_Close(this, this->objectName().toUtf8().data()); }; bool isSequential() const { return callbackQIODevice_IsSequential(const_cast(this), this->objectName().toUtf8().data()) != 0; }; bool open(QIODevice::OpenMode mode) { return callbackQIODevice_Open(this, this->objectName().toUtf8().data(), mode) != 0; }; qint64 pos() const { return static_cast(callbackQIODevice_Pos(const_cast(this), this->objectName().toUtf8().data())); }; void Signal_ReadChannelFinished() { callbackQIODevice_ReadChannelFinished(this, this->objectName().toUtf8().data()); }; qint64 readLineData(char * data, qint64 maxSize) { return static_cast(callbackQIODevice_ReadLineData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(maxSize))); }; void Signal_ReadyRead() { callbackQIODevice_ReadyRead(this, this->objectName().toUtf8().data()); }; bool reset() { return callbackQIODevice_Reset(this, this->objectName().toUtf8().data()) != 0; }; bool seek(qint64 pos) { return callbackQIODevice_Seek(this, this->objectName().toUtf8().data(), static_cast(pos)) != 0; }; qint64 size() const { return static_cast(callbackQIODevice_Size(const_cast(this), this->objectName().toUtf8().data())); }; bool waitForBytesWritten(int msecs) { return callbackQIODevice_WaitForBytesWritten(this, this->objectName().toUtf8().data(), msecs) != 0; }; bool waitForReadyRead(int msecs) { return callbackQIODevice_WaitForReadyRead(this, this->objectName().toUtf8().data(), msecs) != 0; }; qint64 writeData(const char * data, qint64 maxSize) { return static_cast(callbackQIODevice_WriteData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(maxSize))); }; void timerEvent(QTimerEvent * event) { callbackQIODevice_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQIODevice_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQIODevice_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQIODevice_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQIODevice_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQIODevice_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQIODevice_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQIODevice_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQIODevice_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; int QIODevice_GetChar(void* ptr, char* c) { return static_cast(ptr)->getChar(c); } int QIODevice_PutChar(void* ptr, char* c) { return static_cast(ptr)->putChar(*c); } void QIODevice_ConnectAboutToClose(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QIODevice::aboutToClose), static_cast(ptr), static_cast(&MyQIODevice::Signal_AboutToClose)); } void QIODevice_DisconnectAboutToClose(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QIODevice::aboutToClose), static_cast(ptr), static_cast(&MyQIODevice::Signal_AboutToClose)); } void QIODevice_AboutToClose(void* ptr) { static_cast(ptr)->aboutToClose(); } int QIODevice_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } int QIODevice_AtEndDefault(void* ptr) { return static_cast(ptr)->QIODevice::atEnd(); } long long QIODevice_BytesAvailable(void* ptr) { return static_cast(static_cast(ptr)->bytesAvailable()); } long long QIODevice_BytesAvailableDefault(void* ptr) { return static_cast(static_cast(ptr)->QIODevice::bytesAvailable()); } long long QIODevice_BytesToWrite(void* ptr) { return static_cast(static_cast(ptr)->bytesToWrite()); } long long QIODevice_BytesToWriteDefault(void* ptr) { return static_cast(static_cast(ptr)->QIODevice::bytesToWrite()); } void QIODevice_ConnectBytesWritten(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QIODevice::bytesWritten), static_cast(ptr), static_cast(&MyQIODevice::Signal_BytesWritten)); } void QIODevice_DisconnectBytesWritten(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QIODevice::bytesWritten), static_cast(ptr), static_cast(&MyQIODevice::Signal_BytesWritten)); } void QIODevice_BytesWritten(void* ptr, long long bytes) { static_cast(ptr)->bytesWritten(static_cast(bytes)); } int QIODevice_CanReadLine(void* ptr) { return static_cast(ptr)->canReadLine(); } int QIODevice_CanReadLineDefault(void* ptr) { return static_cast(ptr)->QIODevice::canReadLine(); } void QIODevice_Close(void* ptr) { static_cast(ptr)->close(); } void QIODevice_CloseDefault(void* ptr) { static_cast(ptr)->QIODevice::close(); } char* QIODevice_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } int QIODevice_IsOpen(void* ptr) { return static_cast(ptr)->isOpen(); } int QIODevice_IsReadable(void* ptr) { return static_cast(ptr)->isReadable(); } int QIODevice_IsSequential(void* ptr) { return static_cast(ptr)->isSequential(); } int QIODevice_IsSequentialDefault(void* ptr) { return static_cast(ptr)->QIODevice::isSequential(); } int QIODevice_IsTextModeEnabled(void* ptr) { return static_cast(ptr)->isTextModeEnabled(); } int QIODevice_IsWritable(void* ptr) { return static_cast(ptr)->isWritable(); } int QIODevice_Open(void* ptr, int mode) { return static_cast(ptr)->open(static_cast(mode)); } int QIODevice_OpenDefault(void* ptr, int mode) { return static_cast(ptr)->QIODevice::open(static_cast(mode)); } int QIODevice_OpenMode(void* ptr) { return static_cast(ptr)->openMode(); } char* QIODevice_Peek2(void* ptr, long long maxSize) { return QString(static_cast(ptr)->peek(static_cast(maxSize))).toUtf8().data(); } long long QIODevice_Peek(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->peek(data, static_cast(maxSize))); } long long QIODevice_Pos(void* ptr) { return static_cast(static_cast(ptr)->pos()); } long long QIODevice_PosDefault(void* ptr) { return static_cast(static_cast(ptr)->QIODevice::pos()); } char* QIODevice_Read2(void* ptr, long long maxSize) { return QString(static_cast(ptr)->read(static_cast(maxSize))).toUtf8().data(); } long long QIODevice_Read(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->read(data, static_cast(maxSize))); } char* QIODevice_ReadAll(void* ptr) { return QString(static_cast(ptr)->readAll()).toUtf8().data(); } void QIODevice_ConnectReadChannelFinished(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QIODevice::readChannelFinished), static_cast(ptr), static_cast(&MyQIODevice::Signal_ReadChannelFinished)); } void QIODevice_DisconnectReadChannelFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QIODevice::readChannelFinished), static_cast(ptr), static_cast(&MyQIODevice::Signal_ReadChannelFinished)); } void QIODevice_ReadChannelFinished(void* ptr) { static_cast(ptr)->readChannelFinished(); } char* QIODevice_ReadLine2(void* ptr, long long maxSize) { return QString(static_cast(ptr)->readLine(static_cast(maxSize))).toUtf8().data(); } long long QIODevice_ReadLine(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->readLine(data, static_cast(maxSize))); } long long QIODevice_ReadLineData(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->readLineData(data, static_cast(maxSize))); } long long QIODevice_ReadLineDataDefault(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->QIODevice::readLineData(data, static_cast(maxSize))); } void QIODevice_ConnectReadyRead(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QIODevice::readyRead), static_cast(ptr), static_cast(&MyQIODevice::Signal_ReadyRead)); } void QIODevice_DisconnectReadyRead(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QIODevice::readyRead), static_cast(ptr), static_cast(&MyQIODevice::Signal_ReadyRead)); } void QIODevice_ReadyRead(void* ptr) { static_cast(ptr)->readyRead(); } int QIODevice_Reset(void* ptr) { return static_cast(ptr)->reset(); } int QIODevice_ResetDefault(void* ptr) { return static_cast(ptr)->QIODevice::reset(); } int QIODevice_Seek(void* ptr, long long pos) { return static_cast(ptr)->seek(static_cast(pos)); } int QIODevice_SeekDefault(void* ptr, long long pos) { return static_cast(ptr)->QIODevice::seek(static_cast(pos)); } void QIODevice_SetErrorString(void* ptr, char* str) { static_cast(ptr)->setErrorString(QString(str)); } void QIODevice_SetOpenMode(void* ptr, int openMode) { static_cast(ptr)->setOpenMode(static_cast(openMode)); } void QIODevice_SetTextModeEnabled(void* ptr, int enabled) { static_cast(ptr)->setTextModeEnabled(enabled != 0); } long long QIODevice_Size(void* ptr) { return static_cast(static_cast(ptr)->size()); } long long QIODevice_SizeDefault(void* ptr) { return static_cast(static_cast(ptr)->QIODevice::size()); } void QIODevice_UngetChar(void* ptr, char* c) { static_cast(ptr)->ungetChar(*c); } int QIODevice_WaitForBytesWritten(void* ptr, int msecs) { return static_cast(ptr)->waitForBytesWritten(msecs); } int QIODevice_WaitForBytesWrittenDefault(void* ptr, int msecs) { return static_cast(ptr)->QIODevice::waitForBytesWritten(msecs); } int QIODevice_WaitForReadyRead(void* ptr, int msecs) { return static_cast(ptr)->waitForReadyRead(msecs); } int QIODevice_WaitForReadyReadDefault(void* ptr, int msecs) { return static_cast(ptr)->QIODevice::waitForReadyRead(msecs); } long long QIODevice_Write3(void* ptr, char* byteArray) { return static_cast(static_cast(ptr)->write(QByteArray(byteArray))); } long long QIODevice_Write2(void* ptr, char* data) { return static_cast(static_cast(ptr)->write(const_cast(data))); } long long QIODevice_Write(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->write(const_cast(data), static_cast(maxSize))); } long long QIODevice_WriteData(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->writeData(const_cast(data), static_cast(maxSize))); } void QIODevice_DestroyQIODevice(void* ptr) { static_cast(ptr)->~QIODevice(); } void QIODevice_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QIODevice_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QIODevice::timerEvent(static_cast(event)); } void QIODevice_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QIODevice_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QIODevice::childEvent(static_cast(event)); } void QIODevice_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QIODevice_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QIODevice::connectNotify(*static_cast(sign)); } void QIODevice_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QIODevice_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QIODevice::customEvent(static_cast(event)); } void QIODevice_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QIODevice_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QIODevice::deleteLater(); } void QIODevice_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QIODevice_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QIODevice::disconnectNotify(*static_cast(sign)); } int QIODevice_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QIODevice_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QIODevice::event(static_cast(e)); } int QIODevice_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QIODevice_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QIODevice::eventFilter(static_cast(watched), static_cast(event)); } void* QIODevice_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QIODevice_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QIODevice::metaObject()); } class MyQIdentityProxyModel: public QIdentityProxyModel { public: MyQIdentityProxyModel(QObject *parent) : QIdentityProxyModel(parent) {}; int columnCount(const QModelIndex & parent) const { return callbackQIdentityProxyModel_ColumnCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQIdentityProxyModel_DropMimeData(this, this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast(callbackQIdentityProxyModel_HeaderData(const_cast(this), this->objectName().toUtf8().data(), section, orientation, role)); }; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQIdentityProxyModel_Index(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(parent))); }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQIdentityProxyModel_InsertColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQIdentityProxyModel_InsertRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; QModelIndex mapFromSource(const QModelIndex & sourceIndex) const { return *static_cast(callbackQIdentityProxyModel_MapFromSource(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(sourceIndex))); }; QItemSelection mapSelectionFromSource(const QItemSelection & selection) const { return *static_cast(callbackQIdentityProxyModel_MapSelectionFromSource(const_cast(this), this->objectName().toUtf8().data(), new QItemSelection(selection))); }; QItemSelection mapSelectionToSource(const QItemSelection & selection) const { return *static_cast(callbackQIdentityProxyModel_MapSelectionToSource(const_cast(this), this->objectName().toUtf8().data(), new QItemSelection(selection))); }; QModelIndex mapToSource(const QModelIndex & proxyIndex) const { return *static_cast(callbackQIdentityProxyModel_MapToSource(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(proxyIndex))); }; QModelIndex parent(const QModelIndex & child) const { return *static_cast(callbackQIdentityProxyModel_Parent(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(child))); }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQIdentityProxyModel_RemoveColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQIdentityProxyModel_RemoveRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; int rowCount(const QModelIndex & parent) const { return callbackQIdentityProxyModel_RowCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; void setSourceModel(QAbstractItemModel * newSourceModel) { callbackQIdentityProxyModel_SetSourceModel(this, this->objectName().toUtf8().data(), newSourceModel); }; QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast(callbackQIdentityProxyModel_Sibling(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(idx))); }; QModelIndex buddy(const QModelIndex & index) const { return *static_cast(callbackQIdentityProxyModel_Buddy(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQIdentityProxyModel_CanDropMimeData(const_cast(this), this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; bool canFetchMore(const QModelIndex & parent) const { return callbackQIdentityProxyModel_CanFetchMore(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; QVariant data(const QModelIndex & proxyIndex, int role) const { return *static_cast(callbackQIdentityProxyModel_Data(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(proxyIndex), role)); }; void fetchMore(const QModelIndex & parent) { callbackQIdentityProxyModel_FetchMore(this, this->objectName().toUtf8().data(), new QModelIndex(parent)); }; Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast(callbackQIdentityProxyModel_Flags(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool hasChildren(const QModelIndex & parent) const { return callbackQIdentityProxyModel_HasChildren(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; QStringList mimeTypes() const { return QString(callbackQIdentityProxyModel_MimeTypes(const_cast(this), this->objectName().toUtf8().data())).split("|", QString::SkipEmptyParts); }; void resetInternalData() { callbackQIdentityProxyModel_ResetInternalData(this, this->objectName().toUtf8().data()); }; void revert() { callbackQIdentityProxyModel_Revert(this, this->objectName().toUtf8().data()); }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQIdentityProxyModel_SetData(this, this->objectName().toUtf8().data(), new QModelIndex(index), new QVariant(value), role) != 0; }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQIdentityProxyModel_SetHeaderData(this, this->objectName().toUtf8().data(), section, orientation, new QVariant(value), role) != 0; }; void sort(int column, Qt::SortOrder order) { callbackQIdentityProxyModel_Sort(this, this->objectName().toUtf8().data(), column, order); }; QSize span(const QModelIndex & index) const { return *static_cast(callbackQIdentityProxyModel_Span(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool submit() { return callbackQIdentityProxyModel_Submit(this, this->objectName().toUtf8().data()) != 0; }; Qt::DropActions supportedDragActions() const { return static_cast(callbackQIdentityProxyModel_SupportedDragActions(const_cast(this), this->objectName().toUtf8().data())); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQIdentityProxyModel_SupportedDropActions(const_cast(this), this->objectName().toUtf8().data())); }; bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQIdentityProxyModel_MoveColumns(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceColumn, count, new QModelIndex(destinationParent), destinationChild) != 0; }; bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQIdentityProxyModel_MoveRows(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceRow, count, new QModelIndex(destinationParent), destinationChild) != 0; }; void timerEvent(QTimerEvent * event) { callbackQIdentityProxyModel_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQIdentityProxyModel_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQIdentityProxyModel_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQIdentityProxyModel_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQIdentityProxyModel_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQIdentityProxyModel_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQIdentityProxyModel_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQIdentityProxyModel_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQIdentityProxyModel_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QIdentityProxyModel_NewQIdentityProxyModel(void* parent) { return new MyQIdentityProxyModel(static_cast(parent)); } int QIdentityProxyModel_ColumnCount(void* ptr, void* parent) { return static_cast(ptr)->columnCount(*static_cast(parent)); } int QIdentityProxyModel_ColumnCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QIdentityProxyModel::columnCount(*static_cast(parent)); } int QIdentityProxyModel_DropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QIdentityProxyModel_DropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QIdentityProxyModel::dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } void* QIdentityProxyModel_HeaderData(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->headerData(section, static_cast(orientation), role)); } void* QIdentityProxyModel_HeaderDataDefault(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->QIdentityProxyModel::headerData(section, static_cast(orientation), role)); } void* QIdentityProxyModel_Index(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->index(row, column, *static_cast(parent))); } void* QIdentityProxyModel_IndexDefault(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->QIdentityProxyModel::index(row, column, *static_cast(parent))); } int QIdentityProxyModel_InsertColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->insertColumns(column, count, *static_cast(parent)); } int QIdentityProxyModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QIdentityProxyModel::insertColumns(column, count, *static_cast(parent)); } int QIdentityProxyModel_InsertRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->insertRows(row, count, *static_cast(parent)); } int QIdentityProxyModel_InsertRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QIdentityProxyModel::insertRows(row, count, *static_cast(parent)); } void* QIdentityProxyModel_MapFromSource(void* ptr, void* sourceIndex) { return new QModelIndex(static_cast(ptr)->mapFromSource(*static_cast(sourceIndex))); } void* QIdentityProxyModel_MapFromSourceDefault(void* ptr, void* sourceIndex) { return new QModelIndex(static_cast(ptr)->QIdentityProxyModel::mapFromSource(*static_cast(sourceIndex))); } void* QIdentityProxyModel_MapSelectionFromSource(void* ptr, void* selection) { return new QItemSelection(static_cast(ptr)->mapSelectionFromSource(*static_cast(selection))); } void* QIdentityProxyModel_MapSelectionFromSourceDefault(void* ptr, void* selection) { return new QItemSelection(static_cast(ptr)->QIdentityProxyModel::mapSelectionFromSource(*static_cast(selection))); } void* QIdentityProxyModel_MapSelectionToSource(void* ptr, void* selection) { return new QItemSelection(static_cast(ptr)->mapSelectionToSource(*static_cast(selection))); } void* QIdentityProxyModel_MapSelectionToSourceDefault(void* ptr, void* selection) { return new QItemSelection(static_cast(ptr)->QIdentityProxyModel::mapSelectionToSource(*static_cast(selection))); } void* QIdentityProxyModel_MapToSource(void* ptr, void* proxyIndex) { return new QModelIndex(static_cast(ptr)->mapToSource(*static_cast(proxyIndex))); } void* QIdentityProxyModel_MapToSourceDefault(void* ptr, void* proxyIndex) { return new QModelIndex(static_cast(ptr)->QIdentityProxyModel::mapToSource(*static_cast(proxyIndex))); } void* QIdentityProxyModel_Parent(void* ptr, void* child) { return new QModelIndex(static_cast(ptr)->parent(*static_cast(child))); } void* QIdentityProxyModel_ParentDefault(void* ptr, void* child) { return new QModelIndex(static_cast(ptr)->QIdentityProxyModel::parent(*static_cast(child))); } int QIdentityProxyModel_RemoveColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->removeColumns(column, count, *static_cast(parent)); } int QIdentityProxyModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QIdentityProxyModel::removeColumns(column, count, *static_cast(parent)); } int QIdentityProxyModel_RemoveRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->removeRows(row, count, *static_cast(parent)); } int QIdentityProxyModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QIdentityProxyModel::removeRows(row, count, *static_cast(parent)); } int QIdentityProxyModel_RowCount(void* ptr, void* parent) { return static_cast(ptr)->rowCount(*static_cast(parent)); } int QIdentityProxyModel_RowCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QIdentityProxyModel::rowCount(*static_cast(parent)); } void QIdentityProxyModel_SetSourceModel(void* ptr, void* newSourceModel) { static_cast(ptr)->setSourceModel(static_cast(newSourceModel)); } void QIdentityProxyModel_SetSourceModelDefault(void* ptr, void* newSourceModel) { static_cast(ptr)->QIdentityProxyModel::setSourceModel(static_cast(newSourceModel)); } void* QIdentityProxyModel_Sibling(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->sibling(row, column, *static_cast(idx))); } void* QIdentityProxyModel_SiblingDefault(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->QIdentityProxyModel::sibling(row, column, *static_cast(idx))); } void QIdentityProxyModel_DestroyQIdentityProxyModel(void* ptr) { static_cast(ptr)->~QIdentityProxyModel(); } void* QIdentityProxyModel_Buddy(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->buddy(*static_cast(index))); } void* QIdentityProxyModel_BuddyDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QIdentityProxyModel::buddy(*static_cast(index))); } int QIdentityProxyModel_CanDropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QIdentityProxyModel_CanDropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QIdentityProxyModel::canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QIdentityProxyModel_CanFetchMore(void* ptr, void* parent) { return static_cast(ptr)->canFetchMore(*static_cast(parent)); } int QIdentityProxyModel_CanFetchMoreDefault(void* ptr, void* parent) { return static_cast(ptr)->QIdentityProxyModel::canFetchMore(*static_cast(parent)); } void* QIdentityProxyModel_Data(void* ptr, void* proxyIndex, int role) { return new QVariant(static_cast(ptr)->data(*static_cast(proxyIndex), role)); } void* QIdentityProxyModel_DataDefault(void* ptr, void* proxyIndex, int role) { return new QVariant(static_cast(ptr)->QIdentityProxyModel::data(*static_cast(proxyIndex), role)); } void QIdentityProxyModel_FetchMore(void* ptr, void* parent) { static_cast(ptr)->fetchMore(*static_cast(parent)); } void QIdentityProxyModel_FetchMoreDefault(void* ptr, void* parent) { static_cast(ptr)->QIdentityProxyModel::fetchMore(*static_cast(parent)); } int QIdentityProxyModel_Flags(void* ptr, void* index) { return static_cast(ptr)->flags(*static_cast(index)); } int QIdentityProxyModel_FlagsDefault(void* ptr, void* index) { return static_cast(ptr)->QIdentityProxyModel::flags(*static_cast(index)); } int QIdentityProxyModel_HasChildren(void* ptr, void* parent) { return static_cast(ptr)->hasChildren(*static_cast(parent)); } int QIdentityProxyModel_HasChildrenDefault(void* ptr, void* parent) { return static_cast(ptr)->QIdentityProxyModel::hasChildren(*static_cast(parent)); } char* QIdentityProxyModel_MimeTypes(void* ptr) { return static_cast(ptr)->mimeTypes().join("|").toUtf8().data(); } char* QIdentityProxyModel_MimeTypesDefault(void* ptr) { return static_cast(ptr)->QIdentityProxyModel::mimeTypes().join("|").toUtf8().data(); } void QIdentityProxyModel_ResetInternalData(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resetInternalData"); } void QIdentityProxyModel_ResetInternalDataDefault(void* ptr) { static_cast(ptr)->QIdentityProxyModel::resetInternalData(); } void QIdentityProxyModel_Revert(void* ptr) { static_cast(ptr)->revert(); } void QIdentityProxyModel_RevertDefault(void* ptr) { static_cast(ptr)->QIdentityProxyModel::revert(); } int QIdentityProxyModel_SetData(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->setData(*static_cast(index), *static_cast(value), role); } int QIdentityProxyModel_SetDataDefault(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->QIdentityProxyModel::setData(*static_cast(index), *static_cast(value), role); } int QIdentityProxyModel_SetHeaderData(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->setHeaderData(section, static_cast(orientation), *static_cast(value), role); } int QIdentityProxyModel_SetHeaderDataDefault(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->QIdentityProxyModel::setHeaderData(section, static_cast(orientation), *static_cast(value), role); } void QIdentityProxyModel_Sort(void* ptr, int column, int order) { static_cast(ptr)->sort(column, static_cast(order)); } void QIdentityProxyModel_SortDefault(void* ptr, int column, int order) { static_cast(ptr)->QIdentityProxyModel::sort(column, static_cast(order)); } void* QIdentityProxyModel_Span(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->span(*static_cast(index))).width(), static_cast(static_cast(ptr)->span(*static_cast(index))).height()); } void* QIdentityProxyModel_SpanDefault(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->QIdentityProxyModel::span(*static_cast(index))).width(), static_cast(static_cast(ptr)->QIdentityProxyModel::span(*static_cast(index))).height()); } int QIdentityProxyModel_Submit(void* ptr) { return static_cast(ptr)->submit(); } int QIdentityProxyModel_SubmitDefault(void* ptr) { return static_cast(ptr)->QIdentityProxyModel::submit(); } int QIdentityProxyModel_SupportedDragActions(void* ptr) { return static_cast(ptr)->supportedDragActions(); } int QIdentityProxyModel_SupportedDragActionsDefault(void* ptr) { return static_cast(ptr)->QIdentityProxyModel::supportedDragActions(); } int QIdentityProxyModel_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } int QIdentityProxyModel_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QIdentityProxyModel::supportedDropActions(); } int QIdentityProxyModel_MoveColumns(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QIdentityProxyModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QIdentityProxyModel::moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QIdentityProxyModel_MoveRows(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } int QIdentityProxyModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QIdentityProxyModel::moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } void QIdentityProxyModel_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QIdentityProxyModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QIdentityProxyModel::timerEvent(static_cast(event)); } void QIdentityProxyModel_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QIdentityProxyModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QIdentityProxyModel::childEvent(static_cast(event)); } void QIdentityProxyModel_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QIdentityProxyModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QIdentityProxyModel::connectNotify(*static_cast(sign)); } void QIdentityProxyModel_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QIdentityProxyModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QIdentityProxyModel::customEvent(static_cast(event)); } void QIdentityProxyModel_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QIdentityProxyModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QIdentityProxyModel::deleteLater(); } void QIdentityProxyModel_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QIdentityProxyModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QIdentityProxyModel::disconnectNotify(*static_cast(sign)); } int QIdentityProxyModel_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QIdentityProxyModel_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QIdentityProxyModel::event(static_cast(e)); } int QIdentityProxyModel_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QIdentityProxyModel_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QIdentityProxyModel::eventFilter(static_cast(watched), static_cast(event)); } void* QIdentityProxyModel_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QIdentityProxyModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QIdentityProxyModel::metaObject()); } void* QItemSelection_NewQItemSelection() { return new QItemSelection(); } void* QItemSelection_NewQItemSelection2(void* topLeft, void* bottomRight) { return new QItemSelection(*static_cast(topLeft), *static_cast(bottomRight)); } int QItemSelection_Contains(void* ptr, void* index) { return static_cast(ptr)->contains(*static_cast(index)); } void QItemSelection_Merge(void* ptr, void* other, int command) { static_cast(ptr)->merge(*static_cast(other), static_cast(command)); } void QItemSelection_Select(void* ptr, void* topLeft, void* bottomRight) { static_cast(ptr)->select(*static_cast(topLeft), *static_cast(bottomRight)); } void QItemSelection_QItemSelection_Split(void* ran, void* other, void* result) { QItemSelection::split(*static_cast(ran), *static_cast(other), static_cast(result)); } class MyQItemSelectionModel: public QItemSelectionModel { public: MyQItemSelectionModel(QAbstractItemModel *model) : QItemSelectionModel(model) {}; MyQItemSelectionModel(QAbstractItemModel *model, QObject *parent) : QItemSelectionModel(model, parent) {}; void clear() { callbackQItemSelectionModel_Clear(this, this->objectName().toUtf8().data()); }; void clearCurrentIndex() { callbackQItemSelectionModel_ClearCurrentIndex(this, this->objectName().toUtf8().data()); }; void clearSelection() { callbackQItemSelectionModel_ClearSelection(this, this->objectName().toUtf8().data()); }; void Signal_CurrentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQItemSelectionModel_CurrentChanged(this, this->objectName().toUtf8().data(), new QModelIndex(current), new QModelIndex(previous)); }; void Signal_CurrentColumnChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQItemSelectionModel_CurrentColumnChanged(this, this->objectName().toUtf8().data(), new QModelIndex(current), new QModelIndex(previous)); }; void Signal_CurrentRowChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQItemSelectionModel_CurrentRowChanged(this, this->objectName().toUtf8().data(), new QModelIndex(current), new QModelIndex(previous)); }; void Signal_ModelChanged(QAbstractItemModel * model) { callbackQItemSelectionModel_ModelChanged(this, this->objectName().toUtf8().data(), model); }; void reset() { callbackQItemSelectionModel_Reset(this, this->objectName().toUtf8().data()); }; void select(const QItemSelection & selection, QItemSelectionModel::SelectionFlags command) { callbackQItemSelectionModel_Select2(this, this->objectName().toUtf8().data(), new QItemSelection(selection), command); }; void select(const QModelIndex & index, QItemSelectionModel::SelectionFlags command) { callbackQItemSelectionModel_Select(this, this->objectName().toUtf8().data(), new QModelIndex(index), command); }; void Signal_SelectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQItemSelectionModel_SelectionChanged(this, this->objectName().toUtf8().data(), new QItemSelection(selected), new QItemSelection(deselected)); }; void setCurrentIndex(const QModelIndex & index, QItemSelectionModel::SelectionFlags command) { callbackQItemSelectionModel_SetCurrentIndex(this, this->objectName().toUtf8().data(), new QModelIndex(index), command); }; void timerEvent(QTimerEvent * event) { callbackQItemSelectionModel_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQItemSelectionModel_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQItemSelectionModel_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQItemSelectionModel_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQItemSelectionModel_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQItemSelectionModel_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQItemSelectionModel_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQItemSelectionModel_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQItemSelectionModel_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QItemSelectionModel_NewQItemSelectionModel(void* model) { return new MyQItemSelectionModel(static_cast(model)); } void* QItemSelectionModel_NewQItemSelectionModel2(void* model, void* parent) { return new MyQItemSelectionModel(static_cast(model), static_cast(parent)); } void QItemSelectionModel_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QItemSelectionModel_ClearDefault(void* ptr) { static_cast(ptr)->QItemSelectionModel::clear(); } void QItemSelectionModel_ClearCurrentIndex(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clearCurrentIndex"); } void QItemSelectionModel_ClearCurrentIndexDefault(void* ptr) { static_cast(ptr)->QItemSelectionModel::clearCurrentIndex(); } void QItemSelectionModel_ClearSelection(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clearSelection"); } int QItemSelectionModel_ColumnIntersectsSelection(void* ptr, int column, void* parent) { return static_cast(ptr)->columnIntersectsSelection(column, *static_cast(parent)); } void QItemSelectionModel_ConnectCurrentChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QItemSelectionModel::currentChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_CurrentChanged)); } void QItemSelectionModel_DisconnectCurrentChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QItemSelectionModel::currentChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_CurrentChanged)); } void QItemSelectionModel_CurrentChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentChanged(*static_cast(current), *static_cast(previous)); } void QItemSelectionModel_ConnectCurrentColumnChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QItemSelectionModel::currentColumnChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_CurrentColumnChanged)); } void QItemSelectionModel_DisconnectCurrentColumnChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QItemSelectionModel::currentColumnChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_CurrentColumnChanged)); } void QItemSelectionModel_CurrentColumnChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentColumnChanged(*static_cast(current), *static_cast(previous)); } void* QItemSelectionModel_CurrentIndex(void* ptr) { return new QModelIndex(static_cast(ptr)->currentIndex()); } void QItemSelectionModel_ConnectCurrentRowChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QItemSelectionModel::currentRowChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_CurrentRowChanged)); } void QItemSelectionModel_DisconnectCurrentRowChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QItemSelectionModel::currentRowChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_CurrentRowChanged)); } void QItemSelectionModel_CurrentRowChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentRowChanged(*static_cast(current), *static_cast(previous)); } void QItemSelectionModel_EmitSelectionChanged(void* ptr, void* newSelection, void* oldSelection) { static_cast(ptr)->emitSelectionChanged(*static_cast(newSelection), *static_cast(oldSelection)); } int QItemSelectionModel_HasSelection(void* ptr) { return static_cast(ptr)->hasSelection(); } int QItemSelectionModel_IsColumnSelected(void* ptr, int column, void* parent) { return static_cast(ptr)->isColumnSelected(column, *static_cast(parent)); } int QItemSelectionModel_IsRowSelected(void* ptr, int row, void* parent) { return static_cast(ptr)->isRowSelected(row, *static_cast(parent)); } int QItemSelectionModel_IsSelected(void* ptr, void* index) { return static_cast(ptr)->isSelected(*static_cast(index)); } void* QItemSelectionModel_Model2(void* ptr) { return static_cast(ptr)->model(); } void* QItemSelectionModel_Model(void* ptr) { return const_cast(static_cast(ptr)->model()); } void QItemSelectionModel_ConnectModelChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QItemSelectionModel::modelChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_ModelChanged)); } void QItemSelectionModel_DisconnectModelChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QItemSelectionModel::modelChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_ModelChanged)); } void QItemSelectionModel_ModelChanged(void* ptr, void* model) { static_cast(ptr)->modelChanged(static_cast(model)); } void QItemSelectionModel_Reset(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "reset"); } void QItemSelectionModel_ResetDefault(void* ptr) { static_cast(ptr)->QItemSelectionModel::reset(); } int QItemSelectionModel_RowIntersectsSelection(void* ptr, int row, void* parent) { return static_cast(ptr)->rowIntersectsSelection(row, *static_cast(parent)); } void QItemSelectionModel_Select2(void* ptr, void* selection, int command) { QMetaObject::invokeMethod(static_cast(ptr), "select", Q_ARG(QItemSelection, *static_cast(selection)), Q_ARG(QItemSelectionModel::SelectionFlag, static_cast(command))); } void QItemSelectionModel_Select2Default(void* ptr, void* selection, int command) { static_cast(ptr)->QItemSelectionModel::select(*static_cast(selection), static_cast(command)); } void QItemSelectionModel_Select(void* ptr, void* index, int command) { QMetaObject::invokeMethod(static_cast(ptr), "select", Q_ARG(QModelIndex, *static_cast(index)), Q_ARG(QItemSelectionModel::SelectionFlag, static_cast(command))); } void QItemSelectionModel_SelectDefault(void* ptr, void* index, int command) { static_cast(ptr)->QItemSelectionModel::select(*static_cast(index), static_cast(command)); } void* QItemSelectionModel_Selection(void* ptr) { return new QItemSelection(static_cast(ptr)->selection()); } void QItemSelectionModel_ConnectSelectionChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QItemSelectionModel::selectionChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_SelectionChanged)); } void QItemSelectionModel_DisconnectSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QItemSelectionModel::selectionChanged), static_cast(ptr), static_cast(&MyQItemSelectionModel::Signal_SelectionChanged)); } void QItemSelectionModel_SelectionChanged(void* ptr, void* selected, void* deselected) { static_cast(ptr)->selectionChanged(*static_cast(selected), *static_cast(deselected)); } void QItemSelectionModel_SetCurrentIndex(void* ptr, void* index, int command) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentIndex", Q_ARG(QModelIndex, *static_cast(index)), Q_ARG(QItemSelectionModel::SelectionFlag, static_cast(command))); } void QItemSelectionModel_SetCurrentIndexDefault(void* ptr, void* index, int command) { static_cast(ptr)->QItemSelectionModel::setCurrentIndex(*static_cast(index), static_cast(command)); } void QItemSelectionModel_SetModel(void* ptr, void* model) { static_cast(ptr)->setModel(static_cast(model)); } void QItemSelectionModel_DestroyQItemSelectionModel(void* ptr) { static_cast(ptr)->~QItemSelectionModel(); } void QItemSelectionModel_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QItemSelectionModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QItemSelectionModel::timerEvent(static_cast(event)); } void QItemSelectionModel_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QItemSelectionModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QItemSelectionModel::childEvent(static_cast(event)); } void QItemSelectionModel_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QItemSelectionModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QItemSelectionModel::connectNotify(*static_cast(sign)); } void QItemSelectionModel_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QItemSelectionModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QItemSelectionModel::customEvent(static_cast(event)); } void QItemSelectionModel_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QItemSelectionModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QItemSelectionModel::deleteLater(); } void QItemSelectionModel_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QItemSelectionModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QItemSelectionModel::disconnectNotify(*static_cast(sign)); } int QItemSelectionModel_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QItemSelectionModel_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QItemSelectionModel::event(static_cast(e)); } int QItemSelectionModel_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QItemSelectionModel_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QItemSelectionModel::eventFilter(static_cast(watched), static_cast(event)); } void* QItemSelectionModel_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QItemSelectionModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QItemSelectionModel::metaObject()); } void* QItemSelectionRange_Intersected(void* ptr, void* other) { return new QItemSelectionRange(static_cast(ptr)->intersected(*static_cast(other))); } int QItemSelectionRange_Intersects(void* ptr, void* other) { return static_cast(ptr)->intersects(*static_cast(other)); } void* QItemSelectionRange_NewQItemSelectionRange() { return new QItemSelectionRange(); } void* QItemSelectionRange_NewQItemSelectionRange2(void* other) { return new QItemSelectionRange(*static_cast(other)); } void* QItemSelectionRange_NewQItemSelectionRange4(void* index) { return new QItemSelectionRange(*static_cast(index)); } void* QItemSelectionRange_NewQItemSelectionRange3(void* topLeft, void* bottomRight) { return new QItemSelectionRange(*static_cast(topLeft), *static_cast(bottomRight)); } int QItemSelectionRange_Bottom(void* ptr) { return static_cast(ptr)->bottom(); } void* QItemSelectionRange_BottomRight(void* ptr) { return new QPersistentModelIndex(static_cast(ptr)->bottomRight()); } int QItemSelectionRange_Contains(void* ptr, void* index) { return static_cast(ptr)->contains(*static_cast(index)); } int QItemSelectionRange_Contains2(void* ptr, int row, int column, void* parentIndex) { return static_cast(ptr)->contains(row, column, *static_cast(parentIndex)); } int QItemSelectionRange_Height(void* ptr) { return static_cast(ptr)->height(); } int QItemSelectionRange_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QItemSelectionRange_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QItemSelectionRange_Left(void* ptr) { return static_cast(ptr)->left(); } void* QItemSelectionRange_Model(void* ptr) { return const_cast(static_cast(ptr)->model()); } void* QItemSelectionRange_Parent(void* ptr) { return new QModelIndex(static_cast(ptr)->parent()); } int QItemSelectionRange_Right(void* ptr) { return static_cast(ptr)->right(); } int QItemSelectionRange_Top(void* ptr) { return static_cast(ptr)->top(); } void* QItemSelectionRange_TopLeft(void* ptr) { return new QPersistentModelIndex(static_cast(ptr)->topLeft()); } int QItemSelectionRange_Width(void* ptr) { return static_cast(ptr)->width(); } void* QJsonArray_NewQJsonArray() { return new QJsonArray(); } void* QJsonArray_NewQJsonArray3(void* other) { return new QJsonArray(*static_cast(other)); } void QJsonArray_Append(void* ptr, void* value) { static_cast(ptr)->append(*static_cast(value)); } void* QJsonArray_At(void* ptr, int i) { return new QJsonValue(static_cast(ptr)->at(i)); } int QJsonArray_Contains(void* ptr, void* value) { return static_cast(ptr)->contains(*static_cast(value)); } int QJsonArray_Count(void* ptr) { return static_cast(ptr)->count(); } int QJsonArray_Empty(void* ptr) { return static_cast(ptr)->empty(); } void* QJsonArray_First(void* ptr) { return new QJsonValue(static_cast(ptr)->first()); } void* QJsonArray_QJsonArray_FromStringList(char* list) { return new QJsonArray(QJsonArray::fromStringList(QString(list).split("|", QString::SkipEmptyParts))); } void QJsonArray_Insert(void* ptr, int i, void* value) { static_cast(ptr)->insert(i, *static_cast(value)); } int QJsonArray_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } void* QJsonArray_Last(void* ptr) { return new QJsonValue(static_cast(ptr)->last()); } void QJsonArray_Pop_back(void* ptr) { static_cast(ptr)->pop_back(); } void QJsonArray_Pop_front(void* ptr) { static_cast(ptr)->pop_front(); } void QJsonArray_Prepend(void* ptr, void* value) { static_cast(ptr)->prepend(*static_cast(value)); } void QJsonArray_Push_back(void* ptr, void* value) { static_cast(ptr)->push_back(*static_cast(value)); } void QJsonArray_Push_front(void* ptr, void* value) { static_cast(ptr)->push_front(*static_cast(value)); } void QJsonArray_RemoveAt(void* ptr, int i) { static_cast(ptr)->removeAt(i); } void QJsonArray_RemoveFirst(void* ptr) { static_cast(ptr)->removeFirst(); } void QJsonArray_RemoveLast(void* ptr) { static_cast(ptr)->removeLast(); } void QJsonArray_Replace(void* ptr, int i, void* value) { static_cast(ptr)->replace(i, *static_cast(value)); } int QJsonArray_Size(void* ptr) { return static_cast(ptr)->size(); } void* QJsonArray_TakeAt(void* ptr, int i) { return new QJsonValue(static_cast(ptr)->takeAt(i)); } void QJsonArray_DestroyQJsonArray(void* ptr) { static_cast(ptr)->~QJsonArray(); } void* QJsonDocument_NewQJsonDocument() { return new QJsonDocument(); } void* QJsonDocument_NewQJsonDocument3(void* array) { return new QJsonDocument(*static_cast(array)); } void* QJsonDocument_NewQJsonDocument4(void* other) { return new QJsonDocument(*static_cast(other)); } void* QJsonDocument_NewQJsonDocument2(void* object) { return new QJsonDocument(*static_cast(object)); } void* QJsonDocument_Array(void* ptr) { return new QJsonArray(static_cast(ptr)->array()); } void* QJsonDocument_QJsonDocument_FromBinaryData(char* data, int validation) { return new QJsonDocument(QJsonDocument::fromBinaryData(QByteArray(data), static_cast(validation))); } void* QJsonDocument_QJsonDocument_FromJson(char* json, void* error) { return new QJsonDocument(QJsonDocument::fromJson(QByteArray(json), static_cast(error))); } void* QJsonDocument_QJsonDocument_FromRawData(char* data, int size, int validation) { return new QJsonDocument(QJsonDocument::fromRawData(const_cast(data), size, static_cast(validation))); } void* QJsonDocument_QJsonDocument_FromVariant(void* variant) { return new QJsonDocument(QJsonDocument::fromVariant(*static_cast(variant))); } int QJsonDocument_IsArray(void* ptr) { return static_cast(ptr)->isArray(); } int QJsonDocument_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QJsonDocument_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QJsonDocument_IsObject(void* ptr) { return static_cast(ptr)->isObject(); } void* QJsonDocument_Object(void* ptr) { return new QJsonObject(static_cast(ptr)->object()); } char* QJsonDocument_RawData(void* ptr, int size) { return QString(static_cast(ptr)->rawData(&size)).toUtf8().data(); } void QJsonDocument_SetArray(void* ptr, void* array) { static_cast(ptr)->setArray(*static_cast(array)); } void QJsonDocument_SetObject(void* ptr, void* object) { static_cast(ptr)->setObject(*static_cast(object)); } char* QJsonDocument_ToBinaryData(void* ptr) { return QString(static_cast(ptr)->toBinaryData()).toUtf8().data(); } char* QJsonDocument_ToJson(void* ptr, int format) { return QString(static_cast(ptr)->toJson(static_cast(format))).toUtf8().data(); } void* QJsonDocument_ToVariant(void* ptr) { return new QVariant(static_cast(ptr)->toVariant()); } void QJsonDocument_DestroyQJsonDocument(void* ptr) { static_cast(ptr)->~QJsonDocument(); } void* QJsonObject_NewQJsonObject() { return new QJsonObject(); } void* QJsonObject_NewQJsonObject3(void* other) { return new QJsonObject(*static_cast(other)); } int QJsonObject_Contains(void* ptr, char* key) { return static_cast(ptr)->contains(QString(key)); } int QJsonObject_Count(void* ptr) { return static_cast(ptr)->count(); } int QJsonObject_Empty(void* ptr) { return static_cast(ptr)->empty(); } int QJsonObject_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } char* QJsonObject_Keys(void* ptr) { return static_cast(ptr)->keys().join("|").toUtf8().data(); } int QJsonObject_Length(void* ptr) { return static_cast(ptr)->length(); } void QJsonObject_Remove(void* ptr, char* key) { static_cast(ptr)->remove(QString(key)); } int QJsonObject_Size(void* ptr) { return static_cast(ptr)->size(); } void* QJsonObject_Take(void* ptr, char* key) { return new QJsonValue(static_cast(ptr)->take(QString(key))); } void* QJsonObject_Value(void* ptr, char* key) { return new QJsonValue(static_cast(ptr)->value(QString(key))); } void QJsonObject_DestroyQJsonObject(void* ptr) { static_cast(ptr)->~QJsonObject(); } char* QJsonParseError_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } void* QJsonValue_NewQJsonValue5(void* s) { return new QJsonValue(*static_cast(s)); } void* QJsonValue_NewQJsonValue(int ty) { return new QJsonValue(static_cast(ty)); } void* QJsonValue_NewQJsonValue2(int b) { return new QJsonValue(b != 0); } void* QJsonValue_NewQJsonValue7(void* a) { return new QJsonValue(*static_cast(a)); } void* QJsonValue_NewQJsonValue8(void* o) { return new QJsonValue(*static_cast(o)); } void* QJsonValue_NewQJsonValue9(void* other) { return new QJsonValue(*static_cast(other)); } void* QJsonValue_NewQJsonValue4(char* s) { return new QJsonValue(QString(s)); } void* QJsonValue_NewQJsonValue6(char* s) { return new QJsonValue(const_cast(s)); } void* QJsonValue_NewQJsonValue12(int n) { return new QJsonValue(n); } void* QJsonValue_NewQJsonValue13(long long n) { return new QJsonValue(static_cast(n)); } void* QJsonValue_QJsonValue_FromVariant(void* variant) { return new QJsonValue(QJsonValue::fromVariant(*static_cast(variant))); } int QJsonValue_IsArray(void* ptr) { return static_cast(ptr)->isArray(); } int QJsonValue_IsBool(void* ptr) { return static_cast(ptr)->isBool(); } int QJsonValue_IsDouble(void* ptr) { return static_cast(ptr)->isDouble(); } int QJsonValue_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QJsonValue_IsObject(void* ptr) { return static_cast(ptr)->isObject(); } int QJsonValue_IsString(void* ptr) { return static_cast(ptr)->isString(); } int QJsonValue_IsUndefined(void* ptr) { return static_cast(ptr)->isUndefined(); } void* QJsonValue_ToArray2(void* ptr) { return new QJsonArray(static_cast(ptr)->toArray()); } void* QJsonValue_ToArray(void* ptr, void* defaultValue) { return new QJsonArray(static_cast(ptr)->toArray(*static_cast(defaultValue))); } int QJsonValue_ToBool(void* ptr, int defaultValue) { return static_cast(ptr)->toBool(defaultValue != 0); } int QJsonValue_ToInt(void* ptr, int defaultValue) { return static_cast(ptr)->toInt(defaultValue); } void* QJsonValue_ToObject2(void* ptr) { return new QJsonObject(static_cast(ptr)->toObject()); } void* QJsonValue_ToObject(void* ptr, void* defaultValue) { return new QJsonObject(static_cast(ptr)->toObject(*static_cast(defaultValue))); } char* QJsonValue_ToString(void* ptr, char* defaultValue) { return static_cast(ptr)->toString(QString(defaultValue)).toUtf8().data(); } void* QJsonValue_ToVariant(void* ptr) { return new QVariant(static_cast(ptr)->toVariant()); } int QJsonValue_Type(void* ptr) { return static_cast(ptr)->type(); } void QJsonValue_DestroyQJsonValue(void* ptr) { static_cast(ptr)->~QJsonValue(); } void* QLatin1Char_NewQLatin1Char(char* c) { return new QLatin1Char(*c); } char* QLatin1Char_ToLatin1(void* ptr) { return QString(static_cast(ptr)->toLatin1()).toUtf8().data(); } void* QLatin1String_NewQLatin1String3(char* str) { return new QLatin1String(QByteArray(str)); } void* QLatin1String_NewQLatin1String(char* str) { return new QLatin1String(const_cast(str)); } void* QLatin1String_NewQLatin1String2(char* str, int size) { return new QLatin1String(const_cast(str), size); } char* QLatin1String_Data(void* ptr) { return QString(static_cast(ptr)->data()).toUtf8().data(); } char* QLatin1String_Latin1(void* ptr) { return QString(static_cast(ptr)->latin1()).toUtf8().data(); } int QLatin1String_Size(void* ptr) { return static_cast(ptr)->size(); } char* QLibrary_FileName(void* ptr) { return static_cast(ptr)->fileName().toUtf8().data(); } int QLibrary_LoadHints(void* ptr) { return static_cast(ptr)->loadHints(); } void QLibrary_SetFileName(void* ptr, char* fileName) { static_cast(ptr)->setFileName(QString(fileName)); } void QLibrary_SetFileNameAndVersion(void* ptr, char* fileName, int versionNumber) { static_cast(ptr)->setFileNameAndVersion(QString(fileName), versionNumber); } void QLibrary_SetLoadHints(void* ptr, int hints) { static_cast(ptr)->setLoadHints(static_cast(hints)); } void* QLibrary_NewQLibrary(void* parent) { return new QLibrary(static_cast(parent)); } void* QLibrary_NewQLibrary2(char* fileName, void* parent) { return new QLibrary(QString(fileName), static_cast(parent)); } void* QLibrary_NewQLibrary4(char* fileName, char* version, void* parent) { return new QLibrary(QString(fileName), QString(version), static_cast(parent)); } void* QLibrary_NewQLibrary3(char* fileName, int verNum, void* parent) { return new QLibrary(QString(fileName), verNum, static_cast(parent)); } char* QLibrary_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } int QLibrary_QLibrary_IsLibrary(char* fileName) { return QLibrary::isLibrary(QString(fileName)); } int QLibrary_IsLoaded(void* ptr) { return static_cast(ptr)->isLoaded(); } int QLibrary_Load(void* ptr) { return static_cast(ptr)->load(); } void QLibrary_SetFileNameAndVersion2(void* ptr, char* fileName, char* version) { static_cast(ptr)->setFileNameAndVersion(QString(fileName), QString(version)); } int QLibrary_Unload(void* ptr) { return static_cast(ptr)->unload(); } void QLibrary_DestroyQLibrary(void* ptr) { static_cast(ptr)->~QLibrary(); } void QLibrary_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QLibrary_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QLibrary::timerEvent(static_cast(event)); } void QLibrary_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QLibrary_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QLibrary::childEvent(static_cast(event)); } void QLibrary_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QLibrary_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QLibrary::connectNotify(*static_cast(sign)); } void QLibrary_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QLibrary_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QLibrary::customEvent(static_cast(event)); } void QLibrary_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QLibrary_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QLibrary::deleteLater(); } void QLibrary_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QLibrary_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QLibrary::disconnectNotify(*static_cast(sign)); } int QLibrary_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QLibrary_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QLibrary::event(static_cast(e)); } int QLibrary_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QLibrary_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QLibrary::eventFilter(static_cast(watched), static_cast(event)); } void* QLibrary_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QLibrary_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QLibrary::metaObject()); } int QLibraryInfo_QLibraryInfo_IsDebugBuild() { return QLibraryInfo::isDebugBuild(); } char* QLibraryInfo_QLibraryInfo_LicensedProducts() { return QLibraryInfo::licensedProducts().toUtf8().data(); } char* QLibraryInfo_QLibraryInfo_Licensee() { return QLibraryInfo::licensee().toUtf8().data(); } char* QLibraryInfo_QLibraryInfo_Location(int loc) { return QLibraryInfo::location(static_cast(loc)).toUtf8().data(); } void* QLine_NewQLine() { return new QLine(); } void* QLine_NewQLine2(void* p1, void* p2) { return new QLine(*static_cast(p1), *static_cast(p2)); } void* QLine_NewQLine3(int x1, int y1, int x2, int y2) { return new QLine(x1, y1, x2, y2); } int QLine_Dx(void* ptr) { return static_cast(ptr)->dx(); } int QLine_Dy(void* ptr) { return static_cast(ptr)->dy(); } int QLine_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } void* QLine_P1(void* ptr) { return new QPoint(static_cast(static_cast(ptr)->p1()).x(), static_cast(static_cast(ptr)->p1()).y()); } void* QLine_P2(void* ptr) { return new QPoint(static_cast(static_cast(ptr)->p2()).x(), static_cast(static_cast(ptr)->p2()).y()); } void QLine_SetLine(void* ptr, int x1, int y1, int x2, int y2) { static_cast(ptr)->setLine(x1, y1, x2, y2); } void QLine_SetP1(void* ptr, void* p1) { static_cast(ptr)->setP1(*static_cast(p1)); } void QLine_SetP2(void* ptr, void* p2) { static_cast(ptr)->setP2(*static_cast(p2)); } void QLine_SetPoints(void* ptr, void* p1, void* p2) { static_cast(ptr)->setPoints(*static_cast(p1), *static_cast(p2)); } void QLine_Translate(void* ptr, void* offset) { static_cast(ptr)->translate(*static_cast(offset)); } void QLine_Translate2(void* ptr, int dx, int dy) { static_cast(ptr)->translate(dx, dy); } void* QLine_Translated(void* ptr, void* offset) { return new QLine(static_cast(static_cast(ptr)->translated(*static_cast(offset))).p1(), static_cast(static_cast(ptr)->translated(*static_cast(offset))).p2()); } void* QLine_Translated2(void* ptr, int dx, int dy) { return new QLine(static_cast(static_cast(ptr)->translated(dx, dy)).p1(), static_cast(static_cast(ptr)->translated(dx, dy)).p2()); } int QLine_X1(void* ptr) { return static_cast(ptr)->x1(); } int QLine_X2(void* ptr) { return static_cast(ptr)->x2(); } int QLine_Y1(void* ptr) { return static_cast(ptr)->y1(); } int QLine_Y2(void* ptr) { return static_cast(ptr)->y2(); } double QLineF_AngleTo(void* ptr, void* line) { return static_cast(static_cast(ptr)->angleTo(*static_cast(line))); } int QLineF_Intersect(void* ptr, void* line, void* intersectionPoint) { return static_cast(ptr)->intersect(*static_cast(line), static_cast(intersectionPoint)); } void* QLineF_NewQLineF() { return new QLineF(); } void* QLineF_NewQLineF4(void* line) { return new QLineF(*static_cast(line)); } void* QLineF_NewQLineF2(void* p1, void* p2) { return new QLineF(*static_cast(p1), *static_cast(p2)); } void* QLineF_NewQLineF3(double x1, double y1, double x2, double y2) { return new QLineF(static_cast(x1), static_cast(y1), static_cast(x2), static_cast(y2)); } double QLineF_Angle(void* ptr) { return static_cast(static_cast(ptr)->angle()); } double QLineF_Dx(void* ptr) { return static_cast(static_cast(ptr)->dx()); } double QLineF_Dy(void* ptr) { return static_cast(static_cast(ptr)->dy()); } void* QLineF_QLineF_FromPolar(double length, double angle) { return new QLineF(static_cast(QLineF::fromPolar(static_cast(length), static_cast(angle))).p1(), static_cast(QLineF::fromPolar(static_cast(length), static_cast(angle))).p2()); } int QLineF_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } double QLineF_Length(void* ptr) { return static_cast(static_cast(ptr)->length()); } void* QLineF_NormalVector(void* ptr) { return new QLineF(static_cast(static_cast(ptr)->normalVector()).p1(), static_cast(static_cast(ptr)->normalVector()).p2()); } void* QLineF_P1(void* ptr) { return new QPointF(static_cast(static_cast(ptr)->p1()).x(), static_cast(static_cast(ptr)->p1()).y()); } void* QLineF_P2(void* ptr) { return new QPointF(static_cast(static_cast(ptr)->p2()).x(), static_cast(static_cast(ptr)->p2()).y()); } void* QLineF_PointAt(void* ptr, double t) { return new QPointF(static_cast(static_cast(ptr)->pointAt(static_cast(t))).x(), static_cast(static_cast(ptr)->pointAt(static_cast(t))).y()); } void QLineF_SetAngle(void* ptr, double angle) { static_cast(ptr)->setAngle(static_cast(angle)); } void QLineF_SetLength(void* ptr, double length) { static_cast(ptr)->setLength(static_cast(length)); } void QLineF_SetLine(void* ptr, double x1, double y1, double x2, double y2) { static_cast(ptr)->setLine(static_cast(x1), static_cast(y1), static_cast(x2), static_cast(y2)); } void QLineF_SetP1(void* ptr, void* p1) { static_cast(ptr)->setP1(*static_cast(p1)); } void QLineF_SetP2(void* ptr, void* p2) { static_cast(ptr)->setP2(*static_cast(p2)); } void QLineF_SetPoints(void* ptr, void* p1, void* p2) { static_cast(ptr)->setPoints(*static_cast(p1), *static_cast(p2)); } void* QLineF_ToLine(void* ptr) { return new QLine(static_cast(static_cast(ptr)->toLine()).p1(), static_cast(static_cast(ptr)->toLine()).p2()); } void QLineF_Translate(void* ptr, void* offset) { static_cast(ptr)->translate(*static_cast(offset)); } void QLineF_Translate2(void* ptr, double dx, double dy) { static_cast(ptr)->translate(static_cast(dx), static_cast(dy)); } void* QLineF_Translated(void* ptr, void* offset) { return new QLineF(static_cast(static_cast(ptr)->translated(*static_cast(offset))).p1(), static_cast(static_cast(ptr)->translated(*static_cast(offset))).p2()); } void* QLineF_Translated2(void* ptr, double dx, double dy) { return new QLineF(static_cast(static_cast(ptr)->translated(static_cast(dx), static_cast(dy))).p1(), static_cast(static_cast(ptr)->translated(static_cast(dx), static_cast(dy))).p2()); } void* QLineF_UnitVector(void* ptr) { return new QLineF(static_cast(static_cast(ptr)->unitVector()).p1(), static_cast(static_cast(ptr)->unitVector()).p2()); } double QLineF_X1(void* ptr) { return static_cast(static_cast(ptr)->x1()); } double QLineF_X2(void* ptr) { return static_cast(static_cast(ptr)->x2()); } double QLineF_Y1(void* ptr) { return static_cast(static_cast(ptr)->y1()); } double QLineF_Y2(void* ptr) { return static_cast(static_cast(ptr)->y2()); } void* QLocale_NewQLocale() { return new QLocale(); } void* QLocale_NewQLocale3(int language, int country) { return new QLocale(static_cast(language), static_cast(country)); } void* QLocale_NewQLocale4(int language, int script, int country) { return new QLocale(static_cast(language), static_cast(script), static_cast(country)); } void* QLocale_NewQLocale5(void* other) { return new QLocale(*static_cast(other)); } void* QLocale_NewQLocale2(char* name) { return new QLocale(QString(name)); } char* QLocale_AmText(void* ptr) { return static_cast(ptr)->amText().toUtf8().data(); } char* QLocale_Bcp47Name(void* ptr) { return static_cast(ptr)->bcp47Name().toUtf8().data(); } void* QLocale_QLocale_C() { return new QLocale(QLocale::c()); } int QLocale_Country(void* ptr) { return static_cast(ptr)->country(); } char* QLocale_QLocale_CountryToString(int country) { return QLocale::countryToString(static_cast(country)).toUtf8().data(); } char* QLocale_CreateSeparatedList(void* ptr, char* list) { return static_cast(ptr)->createSeparatedList(QString(list).split("|", QString::SkipEmptyParts)).toUtf8().data(); } char* QLocale_CurrencySymbol(void* ptr, int format) { return static_cast(ptr)->currencySymbol(static_cast(format)).toUtf8().data(); } char* QLocale_DateFormat(void* ptr, int format) { return static_cast(ptr)->dateFormat(static_cast(format)).toUtf8().data(); } char* QLocale_DateTimeFormat(void* ptr, int format) { return static_cast(ptr)->dateTimeFormat(static_cast(format)).toUtf8().data(); } char* QLocale_DayName(void* ptr, int day, int ty) { return static_cast(ptr)->dayName(day, static_cast(ty)).toUtf8().data(); } int QLocale_FirstDayOfWeek(void* ptr) { return static_cast(ptr)->firstDayOfWeek(); } int QLocale_Language(void* ptr) { return static_cast(ptr)->language(); } char* QLocale_QLocale_LanguageToString(int language) { return QLocale::languageToString(static_cast(language)).toUtf8().data(); } int QLocale_MeasurementSystem(void* ptr) { return static_cast(ptr)->measurementSystem(); } char* QLocale_MonthName(void* ptr, int month, int ty) { return static_cast(ptr)->monthName(month, static_cast(ty)).toUtf8().data(); } char* QLocale_Name(void* ptr) { return static_cast(ptr)->name().toUtf8().data(); } char* QLocale_NativeCountryName(void* ptr) { return static_cast(ptr)->nativeCountryName().toUtf8().data(); } char* QLocale_NativeLanguageName(void* ptr) { return static_cast(ptr)->nativeLanguageName().toUtf8().data(); } int QLocale_NumberOptions(void* ptr) { return static_cast(ptr)->numberOptions(); } char* QLocale_PmText(void* ptr) { return static_cast(ptr)->pmText().toUtf8().data(); } char* QLocale_QuoteString(void* ptr, char* str, int style) { return static_cast(ptr)->quoteString(QString(str), static_cast(style)).toUtf8().data(); } char* QLocale_QuoteString2(void* ptr, void* str, int style) { return static_cast(ptr)->quoteString(*static_cast(str), static_cast(style)).toUtf8().data(); } int QLocale_Script(void* ptr) { return static_cast(ptr)->script(); } char* QLocale_QLocale_ScriptToString(int script) { return QLocale::scriptToString(static_cast(script)).toUtf8().data(); } void QLocale_QLocale_SetDefault(void* locale) { QLocale::setDefault(*static_cast(locale)); } void QLocale_SetNumberOptions(void* ptr, int options) { static_cast(ptr)->setNumberOptions(static_cast(options)); } char* QLocale_StandaloneDayName(void* ptr, int day, int ty) { return static_cast(ptr)->standaloneDayName(day, static_cast(ty)).toUtf8().data(); } char* QLocale_StandaloneMonthName(void* ptr, int month, int ty) { return static_cast(ptr)->standaloneMonthName(month, static_cast(ty)).toUtf8().data(); } void* QLocale_QLocale_System() { return new QLocale(QLocale::system()); } int QLocale_TextDirection(void* ptr) { return static_cast(ptr)->textDirection(); } char* QLocale_TimeFormat(void* ptr, int format) { return static_cast(ptr)->timeFormat(static_cast(format)).toUtf8().data(); } char* QLocale_ToCurrencyString6(void* ptr, int value, char* symbol) { return static_cast(ptr)->toCurrencyString(value, QString(symbol)).toUtf8().data(); } void* QLocale_ToDateTime(void* ptr, char* stri, int format) { return new QDateTime(static_cast(ptr)->toDateTime(QString(stri), static_cast(format))); } void* QLocale_ToDateTime2(void* ptr, char* stri, char* format) { return new QDateTime(static_cast(ptr)->toDateTime(QString(stri), QString(format))); } int QLocale_ToInt(void* ptr, char* s, int ok) { return static_cast(ptr)->toInt(QString(s), NULL); } int QLocale_ToInt2(void* ptr, void* s, int ok) { return static_cast(ptr)->toInt(*static_cast(s), NULL); } char* QLocale_ToLower(void* ptr, char* str) { return static_cast(ptr)->toLower(QString(str)).toUtf8().data(); } char* QLocale_ToString3(void* ptr, void* date, int format) { return static_cast(ptr)->toString(*static_cast(date), static_cast(format)).toUtf8().data(); } char* QLocale_ToString2(void* ptr, void* date, char* format) { return static_cast(ptr)->toString(*static_cast(date), QString(format)).toUtf8().data(); } char* QLocale_ToString6(void* ptr, void* dateTime, int format) { return static_cast(ptr)->toString(*static_cast(dateTime), static_cast(format)).toUtf8().data(); } char* QLocale_ToString7(void* ptr, void* dateTime, char* format) { return static_cast(ptr)->toString(*static_cast(dateTime), QString(format)).toUtf8().data(); } char* QLocale_ToString5(void* ptr, void* time, int format) { return static_cast(ptr)->toString(*static_cast(time), static_cast(format)).toUtf8().data(); } char* QLocale_ToString4(void* ptr, void* time, char* format) { return static_cast(ptr)->toString(*static_cast(time), QString(format)).toUtf8().data(); } char* QLocale_ToString12(void* ptr, int i) { return static_cast(ptr)->toString(i).toUtf8().data(); } char* QLocale_ToUpper(void* ptr, char* str) { return static_cast(ptr)->toUpper(QString(str)).toUtf8().data(); } char* QLocale_UiLanguages(void* ptr) { return static_cast(ptr)->uiLanguages().join("|").toUtf8().data(); } void QLocale_DestroyQLocale(void* ptr) { static_cast(ptr)->~QLocale(); } void* QLockFile_NewQLockFile(char* fileName) { return new QLockFile(QString(fileName)); } int QLockFile_Error(void* ptr) { return static_cast(ptr)->error(); } int QLockFile_IsLocked(void* ptr) { return static_cast(ptr)->isLocked(); } int QLockFile_Lock(void* ptr) { return static_cast(ptr)->lock(); } int QLockFile_RemoveStaleLockFile(void* ptr) { return static_cast(ptr)->removeStaleLockFile(); } void QLockFile_SetStaleLockTime(void* ptr, int staleLockTime) { static_cast(ptr)->setStaleLockTime(staleLockTime); } int QLockFile_StaleLockTime(void* ptr) { return static_cast(ptr)->staleLockTime(); } int QLockFile_TryLock(void* ptr, int timeout) { return static_cast(ptr)->tryLock(timeout); } void QLockFile_DestroyQLockFile(void* ptr) { static_cast(ptr)->~QLockFile(); } void QLockFile_Unlock(void* ptr) { static_cast(ptr)->unlock(); } void* QLoggingCategory_NewQLoggingCategory(char* category) { return new QLoggingCategory(const_cast(category)); } char* QLoggingCategory_CategoryName(void* ptr) { return QString(static_cast(ptr)->categoryName()).toUtf8().data(); } void* QLoggingCategory_QLoggingCategory_DefaultCategory() { return QLoggingCategory::defaultCategory(); } int QLoggingCategory_IsCriticalEnabled(void* ptr) { return static_cast(ptr)->isCriticalEnabled(); } int QLoggingCategory_IsDebugEnabled(void* ptr) { return static_cast(ptr)->isDebugEnabled(); } int QLoggingCategory_IsInfoEnabled(void* ptr) { return static_cast(ptr)->isInfoEnabled(); } int QLoggingCategory_IsWarningEnabled(void* ptr) { return static_cast(ptr)->isWarningEnabled(); } void QLoggingCategory_QLoggingCategory_SetFilterRules(char* rules) { QLoggingCategory::setFilterRules(QString(rules)); } void QLoggingCategory_DestroyQLoggingCategory(void* ptr) { static_cast(ptr)->~QLoggingCategory(); } void* QMargins_NewQMargins() { return new QMargins(); } void* QMargins_NewQMargins2(int left, int top, int right, int bottom) { return new QMargins(left, top, right, bottom); } int QMargins_Bottom(void* ptr) { return static_cast(ptr)->bottom(); } int QMargins_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QMargins_Left(void* ptr) { return static_cast(ptr)->left(); } int QMargins_Right(void* ptr) { return static_cast(ptr)->right(); } void QMargins_SetBottom(void* ptr, int bottom) { static_cast(ptr)->setBottom(bottom); } void QMargins_SetLeft(void* ptr, int left) { static_cast(ptr)->setLeft(left); } void QMargins_SetRight(void* ptr, int right) { static_cast(ptr)->setRight(right); } void QMargins_SetTop(void* ptr, int Top) { static_cast(ptr)->setTop(Top); } int QMargins_Top(void* ptr) { return static_cast(ptr)->top(); } void* QMarginsF_NewQMarginsF() { return new QMarginsF(); } void* QMarginsF_NewQMarginsF3(void* margins) { return new QMarginsF(*static_cast(margins)); } void* QMarginsF_NewQMarginsF2(double left, double top, double right, double bottom) { return new QMarginsF(static_cast(left), static_cast(top), static_cast(right), static_cast(bottom)); } double QMarginsF_Bottom(void* ptr) { return static_cast(static_cast(ptr)->bottom()); } int QMarginsF_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } double QMarginsF_Left(void* ptr) { return static_cast(static_cast(ptr)->left()); } double QMarginsF_Right(void* ptr) { return static_cast(static_cast(ptr)->right()); } void QMarginsF_SetBottom(void* ptr, double bottom) { static_cast(ptr)->setBottom(static_cast(bottom)); } void QMarginsF_SetLeft(void* ptr, double left) { static_cast(ptr)->setLeft(static_cast(left)); } void QMarginsF_SetRight(void* ptr, double right) { static_cast(ptr)->setRight(static_cast(right)); } void QMarginsF_SetTop(void* ptr, double Top) { static_cast(ptr)->setTop(static_cast(Top)); } void* QMarginsF_ToMargins(void* ptr) { return new QMargins(static_cast(static_cast(ptr)->toMargins()).left(), static_cast(static_cast(ptr)->toMargins()).top(), static_cast(static_cast(ptr)->toMargins()).right(), static_cast(static_cast(ptr)->toMargins()).bottom()); } double QMarginsF_Top(void* ptr) { return static_cast(static_cast(ptr)->top()); } void* QMessageAuthenticationCode_NewQMessageAuthenticationCode(int method, char* key) { return new QMessageAuthenticationCode(static_cast(method), QByteArray(key)); } int QMessageAuthenticationCode_AddData2(void* ptr, void* device) { return static_cast(ptr)->addData(static_cast(device)); } void QMessageAuthenticationCode_AddData3(void* ptr, char* data) { static_cast(ptr)->addData(QByteArray(data)); } void QMessageAuthenticationCode_AddData(void* ptr, char* data, int length) { static_cast(ptr)->addData(const_cast(data), length); } char* QMessageAuthenticationCode_QMessageAuthenticationCode_Hash(char* message, char* key, int method) { return QString(QMessageAuthenticationCode::hash(QByteArray(message), QByteArray(key), static_cast(method))).toUtf8().data(); } void QMessageAuthenticationCode_Reset(void* ptr) { static_cast(ptr)->reset(); } char* QMessageAuthenticationCode_Result(void* ptr) { return QString(static_cast(ptr)->result()).toUtf8().data(); } void QMessageAuthenticationCode_SetKey(void* ptr, char* key) { static_cast(ptr)->setKey(QByteArray(key)); } void QMessageAuthenticationCode_DestroyQMessageAuthenticationCode(void* ptr) { static_cast(ptr)->~QMessageAuthenticationCode(); } void* QMessageLogger_NewQMessageLogger() { return new QMessageLogger(); } void* QMessageLogger_NewQMessageLogger2(char* file, int line, char* function) { return new QMessageLogger(const_cast(file), line, const_cast(function)); } void* QMessageLogger_NewQMessageLogger3(char* file, int line, char* function, char* category) { return new QMessageLogger(const_cast(file), line, const_cast(function), const_cast(category)); } void* QMessageLogger_Critical4(void* ptr) { return new QDebug(static_cast(ptr)->critical()); } void* QMessageLogger_Critical5(void* ptr, void* cat) { return new QDebug(static_cast(ptr)->critical(*static_cast(cat))); } void* QMessageLogger_Debug4(void* ptr) { return new QDebug(static_cast(ptr)->debug()); } void* QMessageLogger_Debug5(void* ptr, void* cat) { return new QDebug(static_cast(ptr)->debug(*static_cast(cat))); } void* QMessageLogger_Info3(void* ptr) { return new QDebug(static_cast(ptr)->info()); } void* QMessageLogger_Info4(void* ptr, void* cat) { return new QDebug(static_cast(ptr)->info(*static_cast(cat))); } void* QMessageLogger_Warning4(void* ptr) { return new QDebug(static_cast(ptr)->warning()); } void* QMessageLogger_Warning5(void* ptr, void* cat) { return new QDebug(static_cast(ptr)->warning(*static_cast(cat))); } char* QMetaClassInfo_Name(void* ptr) { return QString(static_cast(ptr)->name()).toUtf8().data(); } char* QMetaClassInfo_Value(void* ptr) { return QString(static_cast(ptr)->value()).toUtf8().data(); } int QMetaEnum_IsFlag(void* ptr) { return static_cast(ptr)->isFlag(); } int QMetaEnum_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } char* QMetaEnum_Key(void* ptr, int index) { return QString(static_cast(ptr)->key(index)).toUtf8().data(); } int QMetaEnum_KeyCount(void* ptr) { return static_cast(ptr)->keyCount(); } int QMetaEnum_KeyToValue(void* ptr, char* key, int ok) { return static_cast(ptr)->keyToValue(const_cast(key), NULL); } int QMetaEnum_KeysToValue(void* ptr, char* keys, int ok) { return static_cast(ptr)->keysToValue(const_cast(keys), NULL); } char* QMetaEnum_Name(void* ptr) { return QString(static_cast(ptr)->name()).toUtf8().data(); } char* QMetaEnum_Scope(void* ptr) { return QString(static_cast(ptr)->scope()).toUtf8().data(); } int QMetaEnum_Value(void* ptr, int index) { return static_cast(ptr)->value(index); } char* QMetaEnum_ValueToKey(void* ptr, int value) { return QString(static_cast(ptr)->valueToKey(value)).toUtf8().data(); } char* QMetaEnum_ValueToKeys(void* ptr, int value) { return QString(static_cast(ptr)->valueToKeys(value)).toUtf8().data(); } int QMetaMethod_Access(void* ptr) { return static_cast(ptr)->access(); } int QMetaMethod_Invoke4(void* ptr, void* object, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return static_cast(ptr)->invoke(static_cast(object), *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } int QMetaMethod_Invoke2(void* ptr, void* object, void* returnValue, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return static_cast(ptr)->invoke(static_cast(object), *static_cast(returnValue), *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } int QMetaMethod_Invoke3(void* ptr, void* object, int connectionType, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return static_cast(ptr)->invoke(static_cast(object), static_cast(connectionType), *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } int QMetaMethod_Invoke(void* ptr, void* object, int connectionType, void* returnValue, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return static_cast(ptr)->invoke(static_cast(object), static_cast(connectionType), *static_cast(returnValue), *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } int QMetaMethod_InvokeOnGadget2(void* ptr, void* gadget, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return static_cast(ptr)->invokeOnGadget(gadget, *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } int QMetaMethod_InvokeOnGadget(void* ptr, void* gadget, void* returnValue, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return static_cast(ptr)->invokeOnGadget(gadget, *static_cast(returnValue), *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } int QMetaMethod_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QMetaMethod_MethodIndex(void* ptr) { return static_cast(ptr)->methodIndex(); } char* QMetaMethod_MethodSignature(void* ptr) { return QString(static_cast(ptr)->methodSignature()).toUtf8().data(); } int QMetaMethod_MethodType(void* ptr) { return static_cast(ptr)->methodType(); } char* QMetaMethod_Name(void* ptr) { return QString(static_cast(ptr)->name()).toUtf8().data(); } int QMetaMethod_ParameterCount(void* ptr) { return static_cast(ptr)->parameterCount(); } int QMetaMethod_ParameterType(void* ptr, int index) { return static_cast(ptr)->parameterType(index); } int QMetaMethod_ReturnType(void* ptr) { return static_cast(ptr)->returnType(); } int QMetaMethod_Revision(void* ptr) { return static_cast(ptr)->revision(); } char* QMetaMethod_Tag(void* ptr) { return QString(static_cast(ptr)->tag()).toUtf8().data(); } char* QMetaMethod_TypeName(void* ptr) { return QString(static_cast(ptr)->typeName()).toUtf8().data(); } void QMetaObject_QMetaObject_ConnectSlotsByName(void* object) { QMetaObject::connectSlotsByName(static_cast(object)); } int QMetaObject_QMetaObject_CheckConnectArgs2(void* sign, void* method) { return QMetaObject::checkConnectArgs(*static_cast(sign), *static_cast(method)); } int QMetaObject_QMetaObject_CheckConnectArgs(char* sign, char* method) { return QMetaObject::checkConnectArgs(const_cast(sign), const_cast(method)); } int QMetaObject_ClassInfoCount(void* ptr) { return static_cast(ptr)->classInfoCount(); } int QMetaObject_ClassInfoOffset(void* ptr) { return static_cast(ptr)->classInfoOffset(); } char* QMetaObject_ClassName(void* ptr) { return QString(static_cast(ptr)->className()).toUtf8().data(); } void* QMetaObject_Constructor(void* ptr, int index) { return new QMetaMethod(static_cast(ptr)->constructor(index)); } int QMetaObject_ConstructorCount(void* ptr) { return static_cast(ptr)->constructorCount(); } int QMetaObject_EnumeratorCount(void* ptr) { return static_cast(ptr)->enumeratorCount(); } int QMetaObject_EnumeratorOffset(void* ptr) { return static_cast(ptr)->enumeratorOffset(); } int QMetaObject_IndexOfClassInfo(void* ptr, char* name) { return static_cast(ptr)->indexOfClassInfo(const_cast(name)); } int QMetaObject_IndexOfConstructor(void* ptr, char* constructor) { return static_cast(ptr)->indexOfConstructor(const_cast(constructor)); } int QMetaObject_IndexOfEnumerator(void* ptr, char* name) { return static_cast(ptr)->indexOfEnumerator(const_cast(name)); } int QMetaObject_IndexOfMethod(void* ptr, char* method) { return static_cast(ptr)->indexOfMethod(const_cast(method)); } int QMetaObject_IndexOfProperty(void* ptr, char* name) { return static_cast(ptr)->indexOfProperty(const_cast(name)); } int QMetaObject_IndexOfSignal(void* ptr, char* sign) { return static_cast(ptr)->indexOfSignal(const_cast(sign)); } int QMetaObject_IndexOfSlot(void* ptr, char* slot) { return static_cast(ptr)->indexOfSlot(const_cast(slot)); } int QMetaObject_QMetaObject_InvokeMethod4(void* obj, char* member, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return QMetaObject::invokeMethod(static_cast(obj), const_cast(member), *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } int QMetaObject_QMetaObject_InvokeMethod2(void* obj, char* member, void* ret, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return QMetaObject::invokeMethod(static_cast(obj), const_cast(member), *static_cast(ret), *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } int QMetaObject_QMetaObject_InvokeMethod3(void* obj, char* member, int ty, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return QMetaObject::invokeMethod(static_cast(obj), const_cast(member), static_cast(ty), *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } int QMetaObject_QMetaObject_InvokeMethod(void* obj, char* member, int ty, void* ret, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return QMetaObject::invokeMethod(static_cast(obj), const_cast(member), static_cast(ty), *static_cast(ret), *static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } void* QMetaObject_Method(void* ptr, int index) { return new QMetaMethod(static_cast(ptr)->method(index)); } int QMetaObject_MethodCount(void* ptr) { return static_cast(ptr)->methodCount(); } int QMetaObject_MethodOffset(void* ptr) { return static_cast(ptr)->methodOffset(); } void* QMetaObject_NewInstance(void* ptr, void* val0, void* val1, void* val2, void* val3, void* val4, void* val5, void* val6, void* val7, void* val8, void* val9) { return static_cast(ptr)->newInstance(*static_cast(val0), *static_cast(val1), *static_cast(val2), *static_cast(val3), *static_cast(val4), *static_cast(val5), *static_cast(val6), *static_cast(val7), *static_cast(val8), *static_cast(val9)); } char* QMetaObject_QMetaObject_NormalizedSignature(char* method) { return QString(QMetaObject::normalizedSignature(const_cast(method))).toUtf8().data(); } char* QMetaObject_QMetaObject_NormalizedType(char* ty) { return QString(QMetaObject::normalizedType(const_cast(ty))).toUtf8().data(); } int QMetaObject_PropertyCount(void* ptr) { return static_cast(ptr)->propertyCount(); } int QMetaObject_PropertyOffset(void* ptr) { return static_cast(ptr)->propertyOffset(); } void* QMetaObject_SuperClass(void* ptr) { return const_cast(static_cast(ptr)->superClass()); } int QMetaProperty_HasNotifySignal(void* ptr) { return static_cast(ptr)->hasNotifySignal(); } int QMetaProperty_IsConstant(void* ptr) { return static_cast(ptr)->isConstant(); } int QMetaProperty_IsDesignable(void* ptr, void* object) { return static_cast(ptr)->isDesignable(static_cast(object)); } int QMetaProperty_IsEnumType(void* ptr) { return static_cast(ptr)->isEnumType(); } int QMetaProperty_IsFinal(void* ptr) { return static_cast(ptr)->isFinal(); } int QMetaProperty_IsFlagType(void* ptr) { return static_cast(ptr)->isFlagType(); } int QMetaProperty_IsReadable(void* ptr) { return static_cast(ptr)->isReadable(); } int QMetaProperty_IsResettable(void* ptr) { return static_cast(ptr)->isResettable(); } int QMetaProperty_IsScriptable(void* ptr, void* object) { return static_cast(ptr)->isScriptable(static_cast(object)); } int QMetaProperty_IsStored(void* ptr, void* object) { return static_cast(ptr)->isStored(static_cast(object)); } int QMetaProperty_IsUser(void* ptr, void* object) { return static_cast(ptr)->isUser(static_cast(object)); } int QMetaProperty_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QMetaProperty_IsWritable(void* ptr) { return static_cast(ptr)->isWritable(); } char* QMetaProperty_Name(void* ptr) { return QString(static_cast(ptr)->name()).toUtf8().data(); } void* QMetaProperty_NotifySignal(void* ptr) { return new QMetaMethod(static_cast(ptr)->notifySignal()); } int QMetaProperty_NotifySignalIndex(void* ptr) { return static_cast(ptr)->notifySignalIndex(); } int QMetaProperty_PropertyIndex(void* ptr) { return static_cast(ptr)->propertyIndex(); } void* QMetaProperty_Read(void* ptr, void* object) { return new QVariant(static_cast(ptr)->read(static_cast(object))); } void* QMetaProperty_ReadOnGadget(void* ptr, void* gadget) { return new QVariant(static_cast(ptr)->readOnGadget(gadget)); } int QMetaProperty_Reset(void* ptr, void* object) { return static_cast(ptr)->reset(static_cast(object)); } int QMetaProperty_ResetOnGadget(void* ptr, void* gadget) { return static_cast(ptr)->resetOnGadget(gadget); } int QMetaProperty_Revision(void* ptr) { return static_cast(ptr)->revision(); } char* QMetaProperty_TypeName(void* ptr) { return QString(static_cast(ptr)->typeName()).toUtf8().data(); } int QMetaProperty_UserType(void* ptr) { return static_cast(ptr)->userType(); } int QMetaProperty_Write(void* ptr, void* object, void* value) { return static_cast(ptr)->write(static_cast(object), *static_cast(value)); } int QMetaProperty_WriteOnGadget(void* ptr, void* gadget, void* value) { return static_cast(ptr)->writeOnGadget(gadget, *static_cast(value)); } void* QMetaType_NewQMetaType(int typeId) { return new QMetaType(typeId); } int QMetaType_QMetaType_Compare(void* lhs, void* rhs, int typeId, int result) { return QMetaType::compare(lhs, rhs, typeId, &result); } void* QMetaType_QMetaType_Construct(int ty, void* where, void* copy) { return QMetaType::construct(ty, where, copy); } void* QMetaType_Construct3(void* ptr, void* where, void* copy) { return static_cast(ptr)->construct(where, copy); } int QMetaType_QMetaType_Convert(void* from, int fromTypeId, void* to, int toTypeId) { return QMetaType::convert(from, fromTypeId, to, toTypeId); } void* QMetaType_QMetaType_Create(int ty, void* copy) { return QMetaType::create(ty, copy); } void* QMetaType_Create2(void* ptr, void* copy) { return static_cast(ptr)->create(copy); } int QMetaType_QMetaType_DebugStream(void* dbg, void* rhs, int typeId) { return QMetaType::debugStream(*static_cast(dbg), rhs, typeId); } void QMetaType_QMetaType_Destroy(int ty, void* data) { QMetaType::destroy(ty, data); } void QMetaType_Destroy2(void* ptr, void* data) { static_cast(ptr)->destroy(data); } void QMetaType_QMetaType_Destruct(int ty, void* where) { QMetaType::destruct(ty, where); } void QMetaType_Destruct2(void* ptr, void* data) { static_cast(ptr)->destruct(data); } int QMetaType_QMetaType_Equals(void* lhs, void* rhs, int typeId, int result) { return QMetaType::equals(lhs, rhs, typeId, &result); } int QMetaType_Flags(void* ptr) { return static_cast(ptr)->flags(); } int QMetaType_QMetaType_IsRegistered(int ty) { return QMetaType::isRegistered(ty); } int QMetaType_IsRegistered2(void* ptr) { return static_cast(ptr)->isRegistered(); } int QMetaType_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QMetaType_QMetaType_Load(void* stream, int ty, void* data) { return QMetaType::load(*static_cast(stream), ty, data); } void* QMetaType_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QMetaType_QMetaType_MetaObjectForType(int ty) { return const_cast(QMetaType::metaObjectForType(ty)); } int QMetaType_QMetaType_Save(void* stream, int ty, void* data) { return QMetaType::save(*static_cast(stream), ty, data); } int QMetaType_QMetaType_SizeOf(int ty) { return QMetaType::sizeOf(ty); } int QMetaType_SizeOf2(void* ptr) { return static_cast(ptr)->sizeOf(); } int QMetaType_QMetaType_Type2(char* typeName) { return QMetaType::type(QByteArray(typeName)); } int QMetaType_QMetaType_Type(char* typeName) { return QMetaType::type(const_cast(typeName)); } int QMetaType_QMetaType_TypeFlags(int ty) { return QMetaType::typeFlags(ty); } char* QMetaType_QMetaType_TypeName(int typeId) { return QString(QMetaType::typeName(typeId)).toUtf8().data(); } void QMetaType_DestroyQMetaType(void* ptr) { static_cast(ptr)->~QMetaType(); } class MyQMimeData: public QMimeData { public: MyQMimeData() : QMimeData() {}; QStringList formats() const { return QString(callbackQMimeData_Formats(const_cast(this), this->objectName().toUtf8().data())).split("|", QString::SkipEmptyParts); }; bool hasFormat(const QString & mimeType) const { return callbackQMimeData_HasFormat(const_cast(this), this->objectName().toUtf8().data(), mimeType.toUtf8().data()) != 0; }; void timerEvent(QTimerEvent * event) { callbackQMimeData_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQMimeData_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQMimeData_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQMimeData_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQMimeData_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQMimeData_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQMimeData_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQMimeData_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQMimeData_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QMimeData_NewQMimeData() { return new MyQMimeData(); } void QMimeData_Clear(void* ptr) { static_cast(ptr)->clear(); } void* QMimeData_ColorData(void* ptr) { return new QVariant(static_cast(ptr)->colorData()); } char* QMimeData_Data(void* ptr, char* mimeType) { return QString(static_cast(ptr)->data(QString(mimeType))).toUtf8().data(); } char* QMimeData_Formats(void* ptr) { return static_cast(ptr)->formats().join("|").toUtf8().data(); } char* QMimeData_FormatsDefault(void* ptr) { return static_cast(ptr)->QMimeData::formats().join("|").toUtf8().data(); } int QMimeData_HasColor(void* ptr) { return static_cast(ptr)->hasColor(); } int QMimeData_HasFormat(void* ptr, char* mimeType) { return static_cast(ptr)->hasFormat(QString(mimeType)); } int QMimeData_HasFormatDefault(void* ptr, char* mimeType) { return static_cast(ptr)->QMimeData::hasFormat(QString(mimeType)); } int QMimeData_HasHtml(void* ptr) { return static_cast(ptr)->hasHtml(); } int QMimeData_HasImage(void* ptr) { return static_cast(ptr)->hasImage(); } int QMimeData_HasText(void* ptr) { return static_cast(ptr)->hasText(); } int QMimeData_HasUrls(void* ptr) { return static_cast(ptr)->hasUrls(); } char* QMimeData_Html(void* ptr) { return static_cast(ptr)->html().toUtf8().data(); } void* QMimeData_ImageData(void* ptr) { return new QVariant(static_cast(ptr)->imageData()); } void QMimeData_RemoveFormat(void* ptr, char* mimeType) { static_cast(ptr)->removeFormat(QString(mimeType)); } void QMimeData_SetColorData(void* ptr, void* color) { static_cast(ptr)->setColorData(*static_cast(color)); } void QMimeData_SetData(void* ptr, char* mimeType, char* data) { static_cast(ptr)->setData(QString(mimeType), QByteArray(data)); } void QMimeData_SetHtml(void* ptr, char* html) { static_cast(ptr)->setHtml(QString(html)); } void QMimeData_SetImageData(void* ptr, void* image) { static_cast(ptr)->setImageData(*static_cast(image)); } void QMimeData_SetText(void* ptr, char* text) { static_cast(ptr)->setText(QString(text)); } char* QMimeData_Text(void* ptr) { return static_cast(ptr)->text().toUtf8().data(); } void QMimeData_DestroyQMimeData(void* ptr) { static_cast(ptr)->~QMimeData(); } void QMimeData_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QMimeData_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QMimeData::timerEvent(static_cast(event)); } void QMimeData_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QMimeData_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QMimeData::childEvent(static_cast(event)); } void QMimeData_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QMimeData_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QMimeData::connectNotify(*static_cast(sign)); } void QMimeData_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QMimeData_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QMimeData::customEvent(static_cast(event)); } void QMimeData_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QMimeData_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QMimeData::deleteLater(); } void QMimeData_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QMimeData_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QMimeData::disconnectNotify(*static_cast(sign)); } int QMimeData_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QMimeData_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QMimeData::event(static_cast(e)); } int QMimeData_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QMimeData_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QMimeData::eventFilter(static_cast(watched), static_cast(event)); } void* QMimeData_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QMimeData_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QMimeData::metaObject()); } void* QMimeDatabase_NewQMimeDatabase() { return new QMimeDatabase(); } void* QMimeDatabase_MimeTypeForName(void* ptr, char* nameOrAlias) { return new QMimeType(static_cast(ptr)->mimeTypeForName(QString(nameOrAlias))); } void QMimeDatabase_DestroyQMimeDatabase(void* ptr) { static_cast(ptr)->~QMimeDatabase(); } void* QMimeDatabase_MimeTypeForData2(void* ptr, void* device) { return new QMimeType(static_cast(ptr)->mimeTypeForData(static_cast(device))); } void* QMimeDatabase_MimeTypeForData(void* ptr, char* data) { return new QMimeType(static_cast(ptr)->mimeTypeForData(QByteArray(data))); } void* QMimeDatabase_MimeTypeForFile(void* ptr, void* fileInfo, int mode) { return new QMimeType(static_cast(ptr)->mimeTypeForFile(*static_cast(fileInfo), static_cast(mode))); } void* QMimeDatabase_MimeTypeForFile2(void* ptr, char* fileName, int mode) { return new QMimeType(static_cast(ptr)->mimeTypeForFile(QString(fileName), static_cast(mode))); } void* QMimeDatabase_MimeTypeForFileNameAndData(void* ptr, char* fileName, void* device) { return new QMimeType(static_cast(ptr)->mimeTypeForFileNameAndData(QString(fileName), static_cast(device))); } void* QMimeDatabase_MimeTypeForFileNameAndData2(void* ptr, char* fileName, char* data) { return new QMimeType(static_cast(ptr)->mimeTypeForFileNameAndData(QString(fileName), QByteArray(data))); } void* QMimeDatabase_MimeTypeForUrl(void* ptr, void* url) { return new QMimeType(static_cast(ptr)->mimeTypeForUrl(*static_cast(url))); } char* QMimeDatabase_SuffixForFileName(void* ptr, char* fileName) { return static_cast(ptr)->suffixForFileName(QString(fileName)).toUtf8().data(); } void* QMimeType_NewQMimeType() { return new QMimeType(); } void* QMimeType_NewQMimeType2(void* other) { return new QMimeType(*static_cast(other)); } char* QMimeType_FilterString(void* ptr) { return static_cast(ptr)->filterString().toUtf8().data(); } char* QMimeType_GenericIconName(void* ptr) { return static_cast(ptr)->genericIconName().toUtf8().data(); } char* QMimeType_GlobPatterns(void* ptr) { return static_cast(ptr)->globPatterns().join("|").toUtf8().data(); } char* QMimeType_IconName(void* ptr) { return static_cast(ptr)->iconName().toUtf8().data(); } int QMimeType_Inherits(void* ptr, char* mimeTypeName) { return static_cast(ptr)->inherits(QString(mimeTypeName)); } int QMimeType_IsDefault(void* ptr) { return static_cast(ptr)->isDefault(); } int QMimeType_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } char* QMimeType_Name(void* ptr) { return static_cast(ptr)->name().toUtf8().data(); } void QMimeType_DestroyQMimeType(void* ptr) { static_cast(ptr)->~QMimeType(); } char* QMimeType_Aliases(void* ptr) { return static_cast(ptr)->aliases().join("|").toUtf8().data(); } char* QMimeType_AllAncestors(void* ptr) { return static_cast(ptr)->allAncestors().join("|").toUtf8().data(); } char* QMimeType_Comment(void* ptr) { return static_cast(ptr)->comment().toUtf8().data(); } char* QMimeType_ParentMimeTypes(void* ptr) { return static_cast(ptr)->parentMimeTypes().join("|").toUtf8().data(); } char* QMimeType_PreferredSuffix(void* ptr) { return static_cast(ptr)->preferredSuffix().toUtf8().data(); } char* QMimeType_Suffixes(void* ptr) { return static_cast(ptr)->suffixes().join("|").toUtf8().data(); } void QMimeType_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void* QModelIndex_NewQModelIndex() { return new QModelIndex(); } void* QModelIndex_Child(void* ptr, int row, int column) { return new QModelIndex(static_cast(ptr)->child(row, column)); } int QModelIndex_Column(void* ptr) { return static_cast(ptr)->column(); } void* QModelIndex_Data(void* ptr, int role) { return new QVariant(static_cast(ptr)->data(role)); } int QModelIndex_Flags(void* ptr) { return static_cast(ptr)->flags(); } void* QModelIndex_InternalPointer(void* ptr) { return static_cast(ptr)->internalPointer(); } int QModelIndex_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } void* QModelIndex_Model(void* ptr) { return const_cast(static_cast(ptr)->model()); } void* QModelIndex_Parent(void* ptr) { return new QModelIndex(static_cast(ptr)->parent()); } int QModelIndex_Row(void* ptr) { return static_cast(ptr)->row(); } void* QModelIndex_Sibling(void* ptr, int row, int column) { return new QModelIndex(static_cast(ptr)->sibling(row, column)); } void QMutex_Lock(void* ptr) { static_cast(ptr)->lock(); } int QMutex_TryLock(void* ptr, int timeout) { return static_cast(ptr)->tryLock(timeout); } void QMutex_Unlock(void* ptr) { static_cast(ptr)->unlock(); } void* QMutex_NewQMutex(int mode) { return new QMutex(static_cast(mode)); } int QMutex_IsRecursive(void* ptr) { return static_cast(ptr)->isRecursive(); } void* QMutexLocker_NewQMutexLocker(void* mutex) { return new QMutexLocker(static_cast(mutex)); } void* QMutexLocker_Mutex(void* ptr) { return static_cast(ptr)->mutex(); } void QMutexLocker_Relock(void* ptr) { static_cast(ptr)->relock(); } void QMutexLocker_Unlock(void* ptr) { static_cast(ptr)->unlock(); } void QMutexLocker_DestroyQMutexLocker(void* ptr) { static_cast(ptr)->~QMutexLocker(); } class MyQObject: public QObject { public: MyQObject(QObject *parent) : QObject(parent) {}; void timerEvent(QTimerEvent * event) { callbackQObject_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQObject_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQObject_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQObject_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQObject_DeleteLater(this, this->objectName().toUtf8().data()); }; void Signal_Destroyed(QObject * obj) { callbackQObject_Destroyed(this, this->objectName().toUtf8().data(), obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQObject_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQObject_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQObject_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQObject_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; void Signal_ObjectNameChanged(const QString & objectName) { callbackQObject_ObjectNameChanged(this, this->objectName().toUtf8().data(), objectName.toUtf8().data()); }; }; void QObject_InstallEventFilter(void* ptr, void* filterObj) { static_cast(ptr)->installEventFilter(static_cast(filterObj)); } char* QObject_ObjectName(void* ptr) { return static_cast(ptr)->objectName().toUtf8().data(); } void QObject_SetObjectName(void* ptr, char* name) { static_cast(ptr)->setObjectName(QString(name)); } void QObject_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QObject_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QObject::timerEvent(static_cast(event)); } void* QObject_NewQObject(void* parent) { return new MyQObject(static_cast(parent)); } int QObject_BlockSignals(void* ptr, int block) { return static_cast(ptr)->blockSignals(block != 0); } void QObject_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QObject_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QObject::childEvent(static_cast(event)); } void QObject_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QObject_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QObject::connectNotify(*static_cast(sign)); } void QObject_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QObject_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QObject::customEvent(static_cast(event)); } void QObject_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QObject_ConnectDestroyed(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QObject::destroyed), static_cast(ptr), static_cast(&MyQObject::Signal_Destroyed)); } void QObject_DisconnectDestroyed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QObject::destroyed), static_cast(ptr), static_cast(&MyQObject::Signal_Destroyed)); } void QObject_Destroyed(void* ptr, void* obj) { static_cast(ptr)->destroyed(static_cast(obj)); } int QObject_QObject_Disconnect2(void* sender, void* sign, void* receiver, void* method) { return QObject::disconnect(static_cast(sender), *static_cast(sign), static_cast(receiver), *static_cast(method)); } int QObject_QObject_Disconnect(void* sender, char* sign, void* receiver, char* method) { return QObject::disconnect(static_cast(sender), const_cast(sign), static_cast(receiver), const_cast(method)); } int QObject_Disconnect5(void* ptr, void* receiver, char* method) { return static_cast(ptr)->disconnect(static_cast(receiver), const_cast(method)); } int QObject_Disconnect4(void* ptr, char* sign, void* receiver, char* method) { return static_cast(ptr)->disconnect(const_cast(sign), static_cast(receiver), const_cast(method)); } void QObject_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QObject_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QObject::disconnectNotify(*static_cast(sign)); } void QObject_DumpObjectInfo(void* ptr) { static_cast(ptr)->dumpObjectInfo(); } void QObject_DumpObjectTree(void* ptr) { static_cast(ptr)->dumpObjectTree(); } int QObject_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QObject_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QObject::event(static_cast(e)); } int QObject_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QObject_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QObject::eventFilter(static_cast(watched), static_cast(event)); } void* QObject_FindChild(void* ptr, char* name, int options) { return static_cast(ptr)->findChild(QString(name), static_cast(options)); } int QObject_Inherits(void* ptr, char* className) { return static_cast(ptr)->inherits(const_cast(className)); } int QObject_IsSignalConnected(void* ptr, void* sign) { return static_cast(ptr)->isSignalConnected(*static_cast(sign)); } int QObject_IsWidgetType(void* ptr) { return static_cast(ptr)->isWidgetType(); } int QObject_IsWindowType(void* ptr) { return static_cast(ptr)->isWindowType(); } void QObject_KillTimer(void* ptr, int id) { static_cast(ptr)->killTimer(id); } void* QObject_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QObject_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QObject::metaObject()); } void QObject_MoveToThread(void* ptr, void* targetThread) { static_cast(ptr)->moveToThread(static_cast(targetThread)); } void QObject_ConnectObjectNameChanged(void* ptr) { QObject::connect(static_cast(ptr), &QObject::objectNameChanged, static_cast(ptr), static_cast(&MyQObject::Signal_ObjectNameChanged)); } void QObject_DisconnectObjectNameChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QObject::objectNameChanged, static_cast(ptr), static_cast(&MyQObject::Signal_ObjectNameChanged)); } void* QObject_Parent(void* ptr) { return static_cast(ptr)->parent(); } void* QObject_Property(void* ptr, char* name) { return new QVariant(static_cast(ptr)->property(const_cast(name))); } int QObject_Receivers(void* ptr, char* sign) { return static_cast(ptr)->receivers(const_cast(sign)); } void QObject_RemoveEventFilter(void* ptr, void* obj) { static_cast(ptr)->removeEventFilter(static_cast(obj)); } void* QObject_Sender(void* ptr) { return static_cast(ptr)->sender(); } int QObject_SenderSignalIndex(void* ptr) { return static_cast(ptr)->senderSignalIndex(); } void QObject_SetParent(void* ptr, void* parent) { static_cast(ptr)->setParent(static_cast(parent)); } int QObject_SetProperty(void* ptr, char* name, void* value) { return static_cast(ptr)->setProperty(const_cast(name), *static_cast(value)); } int QObject_StartTimer(void* ptr, int interval, int timerType) { return static_cast(ptr)->startTimer(interval, static_cast(timerType)); } int QObject_SignalsBlocked(void* ptr) { return static_cast(ptr)->signalsBlocked(); } void* QObject_Thread(void* ptr) { return static_cast(ptr)->thread(); } char* QObject_QObject_Tr(char* sourceText, char* disambiguation, int n) { return QObject::tr(const_cast(sourceText), const_cast(disambiguation), n).toUtf8().data(); } void QObject_DestroyQObject(void* ptr) { static_cast(ptr)->~QObject(); } void* QObjectCleanupHandler_NewQObjectCleanupHandler() { return new QObjectCleanupHandler(); } void* QObjectCleanupHandler_Add(void* ptr, void* object) { return static_cast(ptr)->add(static_cast(object)); } void QObjectCleanupHandler_Clear(void* ptr) { static_cast(ptr)->clear(); } int QObjectCleanupHandler_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } void QObjectCleanupHandler_Remove(void* ptr, void* object) { static_cast(ptr)->remove(static_cast(object)); } void QObjectCleanupHandler_DestroyQObjectCleanupHandler(void* ptr) { static_cast(ptr)->~QObjectCleanupHandler(); } void QObjectCleanupHandler_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QObjectCleanupHandler_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QObjectCleanupHandler::timerEvent(static_cast(event)); } void QObjectCleanupHandler_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QObjectCleanupHandler_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QObjectCleanupHandler::childEvent(static_cast(event)); } void QObjectCleanupHandler_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QObjectCleanupHandler_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QObjectCleanupHandler::connectNotify(*static_cast(sign)); } void QObjectCleanupHandler_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QObjectCleanupHandler_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QObjectCleanupHandler::customEvent(static_cast(event)); } void QObjectCleanupHandler_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QObjectCleanupHandler_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QObjectCleanupHandler::deleteLater(); } void QObjectCleanupHandler_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QObjectCleanupHandler_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QObjectCleanupHandler::disconnectNotify(*static_cast(sign)); } int QObjectCleanupHandler_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QObjectCleanupHandler_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QObjectCleanupHandler::event(static_cast(e)); } int QObjectCleanupHandler_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QObjectCleanupHandler_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QObjectCleanupHandler::eventFilter(static_cast(watched), static_cast(event)); } void* QObjectCleanupHandler_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QObjectCleanupHandler_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QObjectCleanupHandler::metaObject()); } class MyQParallelAnimationGroup: public QParallelAnimationGroup { public: MyQParallelAnimationGroup(QObject *parent) : QParallelAnimationGroup(parent) {}; int duration() const { return callbackQParallelAnimationGroup_Duration(const_cast(this), this->objectName().toUtf8().data()); }; bool event(QEvent * event) { return callbackQParallelAnimationGroup_Event(this, this->objectName().toUtf8().data(), event) != 0; }; void updateCurrentTime(int currentTime) { callbackQParallelAnimationGroup_UpdateCurrentTime(this, this->objectName().toUtf8().data(), currentTime); }; void updateDirection(QAbstractAnimation::Direction direction) { callbackQParallelAnimationGroup_UpdateDirection(this, this->objectName().toUtf8().data(), direction); }; void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { callbackQParallelAnimationGroup_UpdateState(this, this->objectName().toUtf8().data(), newState, oldState); }; void setCurrentTime(int msecs) { callbackQParallelAnimationGroup_SetCurrentTime(this, this->objectName().toUtf8().data(), msecs); }; void pause() { callbackQParallelAnimationGroup_Pause(this, this->objectName().toUtf8().data()); }; void resume() { callbackQParallelAnimationGroup_Resume(this, this->objectName().toUtf8().data()); }; void setPaused(bool paused) { callbackQParallelAnimationGroup_SetPaused(this, this->objectName().toUtf8().data(), paused); }; void start(QAbstractAnimation::DeletionPolicy policy) { callbackQParallelAnimationGroup_Start(this, this->objectName().toUtf8().data(), policy); }; void stop() { callbackQParallelAnimationGroup_Stop(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQParallelAnimationGroup_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQParallelAnimationGroup_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQParallelAnimationGroup_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQParallelAnimationGroup_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQParallelAnimationGroup_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQParallelAnimationGroup_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQParallelAnimationGroup_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQParallelAnimationGroup_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QParallelAnimationGroup_NewQParallelAnimationGroup(void* parent) { return new MyQParallelAnimationGroup(static_cast(parent)); } int QParallelAnimationGroup_Duration(void* ptr) { return static_cast(ptr)->duration(); } int QParallelAnimationGroup_DurationDefault(void* ptr) { return static_cast(ptr)->QParallelAnimationGroup::duration(); } int QParallelAnimationGroup_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } int QParallelAnimationGroup_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QParallelAnimationGroup::event(static_cast(event)); } void QParallelAnimationGroup_UpdateCurrentTime(void* ptr, int currentTime) { static_cast(ptr)->updateCurrentTime(currentTime); } void QParallelAnimationGroup_UpdateCurrentTimeDefault(void* ptr, int currentTime) { static_cast(ptr)->QParallelAnimationGroup::updateCurrentTime(currentTime); } void QParallelAnimationGroup_UpdateDirection(void* ptr, int direction) { static_cast(ptr)->updateDirection(static_cast(direction)); } void QParallelAnimationGroup_UpdateDirectionDefault(void* ptr, int direction) { static_cast(ptr)->QParallelAnimationGroup::updateDirection(static_cast(direction)); } void QParallelAnimationGroup_UpdateState(void* ptr, int newState, int oldState) { static_cast(ptr)->updateState(static_cast(newState), static_cast(oldState)); } void QParallelAnimationGroup_UpdateStateDefault(void* ptr, int newState, int oldState) { static_cast(ptr)->QParallelAnimationGroup::updateState(static_cast(newState), static_cast(oldState)); } void QParallelAnimationGroup_DestroyQParallelAnimationGroup(void* ptr) { static_cast(ptr)->~QParallelAnimationGroup(); } void QParallelAnimationGroup_SetCurrentTime(void* ptr, int msecs) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentTime", Q_ARG(int, msecs)); } void QParallelAnimationGroup_SetCurrentTimeDefault(void* ptr, int msecs) { static_cast(ptr)->QParallelAnimationGroup::setCurrentTime(msecs); } void QParallelAnimationGroup_Pause(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "pause"); } void QParallelAnimationGroup_PauseDefault(void* ptr) { static_cast(ptr)->QParallelAnimationGroup::pause(); } void QParallelAnimationGroup_Resume(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resume"); } void QParallelAnimationGroup_ResumeDefault(void* ptr) { static_cast(ptr)->QParallelAnimationGroup::resume(); } void QParallelAnimationGroup_SetPaused(void* ptr, int paused) { QMetaObject::invokeMethod(static_cast(ptr), "setPaused", Q_ARG(bool, paused != 0)); } void QParallelAnimationGroup_SetPausedDefault(void* ptr, int paused) { static_cast(ptr)->QParallelAnimationGroup::setPaused(paused != 0); } void QParallelAnimationGroup_Start(void* ptr, int policy) { QMetaObject::invokeMethod(static_cast(ptr), "start", Q_ARG(QAbstractAnimation::DeletionPolicy, static_cast(policy))); } void QParallelAnimationGroup_StartDefault(void* ptr, int policy) { static_cast(ptr)->QParallelAnimationGroup::start(static_cast(policy)); } void QParallelAnimationGroup_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } void QParallelAnimationGroup_StopDefault(void* ptr) { static_cast(ptr)->QParallelAnimationGroup::stop(); } void QParallelAnimationGroup_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QParallelAnimationGroup_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QParallelAnimationGroup::timerEvent(static_cast(event)); } void QParallelAnimationGroup_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QParallelAnimationGroup_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QParallelAnimationGroup::childEvent(static_cast(event)); } void QParallelAnimationGroup_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QParallelAnimationGroup_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QParallelAnimationGroup::connectNotify(*static_cast(sign)); } void QParallelAnimationGroup_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QParallelAnimationGroup_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QParallelAnimationGroup::customEvent(static_cast(event)); } void QParallelAnimationGroup_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QParallelAnimationGroup_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QParallelAnimationGroup::deleteLater(); } void QParallelAnimationGroup_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QParallelAnimationGroup_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QParallelAnimationGroup::disconnectNotify(*static_cast(sign)); } int QParallelAnimationGroup_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QParallelAnimationGroup_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QParallelAnimationGroup::eventFilter(static_cast(watched), static_cast(event)); } void* QParallelAnimationGroup_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QParallelAnimationGroup_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QParallelAnimationGroup::metaObject()); } class MyQPauseAnimation: public QPauseAnimation { public: MyQPauseAnimation(QObject *parent) : QPauseAnimation(parent) {}; MyQPauseAnimation(int msecs, QObject *parent) : QPauseAnimation(msecs, parent) {}; int duration() const { return callbackQPauseAnimation_Duration(const_cast(this), this->objectName().toUtf8().data()); }; bool event(QEvent * e) { return callbackQPauseAnimation_Event(this, this->objectName().toUtf8().data(), e) != 0; }; void updateCurrentTime(int vin) { callbackQPauseAnimation_UpdateCurrentTime(this, this->objectName().toUtf8().data(), vin); }; void setCurrentTime(int msecs) { callbackQPauseAnimation_SetCurrentTime(this, this->objectName().toUtf8().data(), msecs); }; void pause() { callbackQPauseAnimation_Pause(this, this->objectName().toUtf8().data()); }; void resume() { callbackQPauseAnimation_Resume(this, this->objectName().toUtf8().data()); }; void setPaused(bool paused) { callbackQPauseAnimation_SetPaused(this, this->objectName().toUtf8().data(), paused); }; void start(QAbstractAnimation::DeletionPolicy policy) { callbackQPauseAnimation_Start(this, this->objectName().toUtf8().data(), policy); }; void stop() { callbackQPauseAnimation_Stop(this, this->objectName().toUtf8().data()); }; void updateDirection(QAbstractAnimation::Direction direction) { callbackQPauseAnimation_UpdateDirection(this, this->objectName().toUtf8().data(), direction); }; void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { callbackQPauseAnimation_UpdateState(this, this->objectName().toUtf8().data(), newState, oldState); }; void timerEvent(QTimerEvent * event) { callbackQPauseAnimation_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQPauseAnimation_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQPauseAnimation_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQPauseAnimation_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQPauseAnimation_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQPauseAnimation_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQPauseAnimation_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQPauseAnimation_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; int QPauseAnimation_Duration(void* ptr) { return static_cast(ptr)->duration(); } int QPauseAnimation_DurationDefault(void* ptr) { return static_cast(ptr)->QPauseAnimation::duration(); } void QPauseAnimation_SetDuration(void* ptr, int msecs) { static_cast(ptr)->setDuration(msecs); } void* QPauseAnimation_NewQPauseAnimation(void* parent) { return new MyQPauseAnimation(static_cast(parent)); } void* QPauseAnimation_NewQPauseAnimation2(int msecs, void* parent) { return new MyQPauseAnimation(msecs, static_cast(parent)); } int QPauseAnimation_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QPauseAnimation_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QPauseAnimation::event(static_cast(e)); } void QPauseAnimation_UpdateCurrentTime(void* ptr, int vin) { static_cast(ptr)->updateCurrentTime(vin); } void QPauseAnimation_UpdateCurrentTimeDefault(void* ptr, int vin) { static_cast(ptr)->QPauseAnimation::updateCurrentTime(vin); } void QPauseAnimation_DestroyQPauseAnimation(void* ptr) { static_cast(ptr)->~QPauseAnimation(); } void QPauseAnimation_SetCurrentTime(void* ptr, int msecs) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentTime", Q_ARG(int, msecs)); } void QPauseAnimation_SetCurrentTimeDefault(void* ptr, int msecs) { static_cast(ptr)->QPauseAnimation::setCurrentTime(msecs); } void QPauseAnimation_Pause(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "pause"); } void QPauseAnimation_PauseDefault(void* ptr) { static_cast(ptr)->QPauseAnimation::pause(); } void QPauseAnimation_Resume(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resume"); } void QPauseAnimation_ResumeDefault(void* ptr) { static_cast(ptr)->QPauseAnimation::resume(); } void QPauseAnimation_SetPaused(void* ptr, int paused) { QMetaObject::invokeMethod(static_cast(ptr), "setPaused", Q_ARG(bool, paused != 0)); } void QPauseAnimation_SetPausedDefault(void* ptr, int paused) { static_cast(ptr)->QPauseAnimation::setPaused(paused != 0); } void QPauseAnimation_Start(void* ptr, int policy) { QMetaObject::invokeMethod(static_cast(ptr), "start", Q_ARG(QAbstractAnimation::DeletionPolicy, static_cast(policy))); } void QPauseAnimation_StartDefault(void* ptr, int policy) { static_cast(ptr)->QPauseAnimation::start(static_cast(policy)); } void QPauseAnimation_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } void QPauseAnimation_StopDefault(void* ptr) { static_cast(ptr)->QPauseAnimation::stop(); } void QPauseAnimation_UpdateDirection(void* ptr, int direction) { static_cast(ptr)->updateDirection(static_cast(direction)); } void QPauseAnimation_UpdateDirectionDefault(void* ptr, int direction) { static_cast(ptr)->QPauseAnimation::updateDirection(static_cast(direction)); } void QPauseAnimation_UpdateState(void* ptr, int newState, int oldState) { static_cast(ptr)->updateState(static_cast(newState), static_cast(oldState)); } void QPauseAnimation_UpdateStateDefault(void* ptr, int newState, int oldState) { static_cast(ptr)->QPauseAnimation::updateState(static_cast(newState), static_cast(oldState)); } void QPauseAnimation_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QPauseAnimation_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QPauseAnimation::timerEvent(static_cast(event)); } void QPauseAnimation_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QPauseAnimation_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QPauseAnimation::childEvent(static_cast(event)); } void QPauseAnimation_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QPauseAnimation_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QPauseAnimation::connectNotify(*static_cast(sign)); } void QPauseAnimation_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QPauseAnimation_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QPauseAnimation::customEvent(static_cast(event)); } void QPauseAnimation_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QPauseAnimation_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QPauseAnimation::deleteLater(); } void QPauseAnimation_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QPauseAnimation_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QPauseAnimation::disconnectNotify(*static_cast(sign)); } int QPauseAnimation_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QPauseAnimation_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QPauseAnimation::eventFilter(static_cast(watched), static_cast(event)); } void* QPauseAnimation_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QPauseAnimation_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QPauseAnimation::metaObject()); } void* QPersistentModelIndex_NewQPersistentModelIndex3(void* other) { return new QPersistentModelIndex(*static_cast(other)); } int QPersistentModelIndex_Column(void* ptr) { return static_cast(ptr)->column(); } int QPersistentModelIndex_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QPersistentModelIndex_Row(void* ptr) { return static_cast(ptr)->row(); } void* QPersistentModelIndex_NewQPersistentModelIndex4(void* other) { return new QPersistentModelIndex(*static_cast(other)); } void* QPersistentModelIndex_NewQPersistentModelIndex(void* index) { return new QPersistentModelIndex(*static_cast(index)); } void* QPersistentModelIndex_Child(void* ptr, int row, int column) { return new QModelIndex(static_cast(ptr)->child(row, column)); } void* QPersistentModelIndex_Data(void* ptr, int role) { return new QVariant(static_cast(ptr)->data(role)); } int QPersistentModelIndex_Flags(void* ptr) { return static_cast(ptr)->flags(); } void* QPersistentModelIndex_Model(void* ptr) { return const_cast(static_cast(ptr)->model()); } void* QPersistentModelIndex_Parent(void* ptr) { return new QModelIndex(static_cast(ptr)->parent()); } void* QPersistentModelIndex_Sibling(void* ptr, int row, int column) { return new QModelIndex(static_cast(ptr)->sibling(row, column)); } void QPersistentModelIndex_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } char* QPluginLoader_FileName(void* ptr) { return static_cast(ptr)->fileName().toUtf8().data(); } int QPluginLoader_LoadHints(void* ptr) { return static_cast(ptr)->loadHints(); } void QPluginLoader_SetFileName(void* ptr, char* fileName) { static_cast(ptr)->setFileName(QString(fileName)); } void QPluginLoader_SetLoadHints(void* ptr, int loadHints) { static_cast(ptr)->setLoadHints(static_cast(loadHints)); } void* QPluginLoader_NewQPluginLoader(void* parent) { return new QPluginLoader(static_cast(parent)); } void* QPluginLoader_NewQPluginLoader2(char* fileName, void* parent) { return new QPluginLoader(QString(fileName), static_cast(parent)); } char* QPluginLoader_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } void* QPluginLoader_Instance(void* ptr) { return static_cast(ptr)->instance(); } int QPluginLoader_IsLoaded(void* ptr) { return static_cast(ptr)->isLoaded(); } int QPluginLoader_Load(void* ptr) { return static_cast(ptr)->load(); } void* QPluginLoader_MetaData(void* ptr) { return new QJsonObject(static_cast(ptr)->metaData()); } int QPluginLoader_Unload(void* ptr) { return static_cast(ptr)->unload(); } void QPluginLoader_DestroyQPluginLoader(void* ptr) { static_cast(ptr)->~QPluginLoader(); } void QPluginLoader_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QPluginLoader_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QPluginLoader::timerEvent(static_cast(event)); } void QPluginLoader_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QPluginLoader_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QPluginLoader::childEvent(static_cast(event)); } void QPluginLoader_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QPluginLoader_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QPluginLoader::connectNotify(*static_cast(sign)); } void QPluginLoader_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QPluginLoader_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QPluginLoader::customEvent(static_cast(event)); } void QPluginLoader_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QPluginLoader_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QPluginLoader::deleteLater(); } void QPluginLoader_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QPluginLoader_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QPluginLoader::disconnectNotify(*static_cast(sign)); } int QPluginLoader_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QPluginLoader_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QPluginLoader::event(static_cast(e)); } int QPluginLoader_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QPluginLoader_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QPluginLoader::eventFilter(static_cast(watched), static_cast(event)); } void* QPluginLoader_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QPluginLoader_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QPluginLoader::metaObject()); } void* QPoint_NewQPoint() { return new QPoint(); } void* QPoint_NewQPoint2(int xpos, int ypos) { return new QPoint(xpos, ypos); } int QPoint_QPoint_DotProduct(void* p1, void* p2) { return QPoint::dotProduct(*static_cast(p1), *static_cast(p2)); } int QPoint_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QPoint_ManhattanLength(void* ptr) { return static_cast(ptr)->manhattanLength(); } int QPoint_Rx(void* ptr) { return static_cast(ptr)->rx(); } int QPoint_Ry(void* ptr) { return static_cast(ptr)->ry(); } void QPoint_SetX(void* ptr, int x) { static_cast(ptr)->setX(x); } void QPoint_SetY(void* ptr, int y) { static_cast(ptr)->setY(y); } int QPoint_X(void* ptr) { return static_cast(ptr)->x(); } int QPoint_Y(void* ptr) { return static_cast(ptr)->y(); } void* QPointF_NewQPointF() { return new QPointF(); } void* QPointF_NewQPointF2(void* point) { return new QPointF(*static_cast(point)); } void* QPointF_NewQPointF3(double xpos, double ypos) { return new QPointF(static_cast(xpos), static_cast(ypos)); } double QPointF_QPointF_DotProduct(void* p1, void* p2) { return static_cast(QPointF::dotProduct(*static_cast(p1), *static_cast(p2))); } int QPointF_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } double QPointF_ManhattanLength(void* ptr) { return static_cast(static_cast(ptr)->manhattanLength()); } double QPointF_Rx(void* ptr) { return static_cast(static_cast(ptr)->rx()); } double QPointF_Ry(void* ptr) { return static_cast(static_cast(ptr)->ry()); } void QPointF_SetX(void* ptr, double x) { static_cast(ptr)->setX(static_cast(x)); } void QPointF_SetY(void* ptr, double y) { static_cast(ptr)->setY(static_cast(y)); } void* QPointF_ToPoint(void* ptr) { return new QPoint(static_cast(static_cast(ptr)->toPoint()).x(), static_cast(static_cast(ptr)->toPoint()).y()); } double QPointF_X(void* ptr) { return static_cast(static_cast(ptr)->x()); } double QPointF_Y(void* ptr) { return static_cast(static_cast(ptr)->y()); } class MyQProcess: public QProcess { public: MyQProcess(QObject *parent) : QProcess(parent) {}; bool atEnd() const { return callbackQProcess_AtEnd(const_cast(this), this->objectName().toUtf8().data()) != 0; }; qint64 bytesAvailable() const { return static_cast(callbackQProcess_BytesAvailable(const_cast(this), this->objectName().toUtf8().data())); }; qint64 bytesToWrite() const { return static_cast(callbackQProcess_BytesToWrite(const_cast(this), this->objectName().toUtf8().data())); }; bool canReadLine() const { return callbackQProcess_CanReadLine(const_cast(this), this->objectName().toUtf8().data()) != 0; }; void close() { callbackQProcess_Close(this, this->objectName().toUtf8().data()); }; void Signal_Error2(QProcess::ProcessError error) { callbackQProcess_Error2(this, this->objectName().toUtf8().data(), error); }; void Signal_Finished(int exitCode, QProcess::ExitStatus exitStatus) { callbackQProcess_Finished(this, this->objectName().toUtf8().data(), exitCode, exitStatus); }; bool isSequential() const { return callbackQProcess_IsSequential(const_cast(this), this->objectName().toUtf8().data()) != 0; }; void kill() { callbackQProcess_Kill(this, this->objectName().toUtf8().data()); }; bool open(QIODevice::OpenMode mode) { return callbackQProcess_Open(this, this->objectName().toUtf8().data(), mode) != 0; }; void Signal_ReadyReadStandardError() { callbackQProcess_ReadyReadStandardError(this, this->objectName().toUtf8().data()); }; void Signal_ReadyReadStandardOutput() { callbackQProcess_ReadyReadStandardOutput(this, this->objectName().toUtf8().data()); }; void setupChildProcess() { callbackQProcess_SetupChildProcess(this, this->objectName().toUtf8().data()); }; void Signal_Started() { callbackQProcess_Started(this, this->objectName().toUtf8().data()); }; void Signal_StateChanged(QProcess::ProcessState newState) { callbackQProcess_StateChanged(this, this->objectName().toUtf8().data(), newState); }; void terminate() { callbackQProcess_Terminate(this, this->objectName().toUtf8().data()); }; bool waitForBytesWritten(int msecs) { return callbackQProcess_WaitForBytesWritten(this, this->objectName().toUtf8().data(), msecs) != 0; }; bool waitForReadyRead(int msecs) { return callbackQProcess_WaitForReadyRead(this, this->objectName().toUtf8().data(), msecs) != 0; }; qint64 writeData(const char * data, qint64 len) { return static_cast(callbackQProcess_WriteData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(len))); }; qint64 pos() const { return static_cast(callbackQProcess_Pos(const_cast(this), this->objectName().toUtf8().data())); }; qint64 readLineData(char * data, qint64 maxSize) { return static_cast(callbackQProcess_ReadLineData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(maxSize))); }; bool reset() { return callbackQProcess_Reset(this, this->objectName().toUtf8().data()) != 0; }; bool seek(qint64 pos) { return callbackQProcess_Seek(this, this->objectName().toUtf8().data(), static_cast(pos)) != 0; }; qint64 size() const { return static_cast(callbackQProcess_Size(const_cast(this), this->objectName().toUtf8().data())); }; void timerEvent(QTimerEvent * event) { callbackQProcess_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQProcess_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQProcess_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQProcess_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQProcess_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQProcess_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQProcess_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQProcess_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQProcess_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QProcess_NewQProcess(void* parent) { return new MyQProcess(static_cast(parent)); } char* QProcess_Arguments(void* ptr) { return static_cast(ptr)->arguments().join("|").toUtf8().data(); } int QProcess_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } int QProcess_AtEndDefault(void* ptr) { return static_cast(ptr)->QProcess::atEnd(); } long long QProcess_BytesAvailable(void* ptr) { return static_cast(static_cast(ptr)->bytesAvailable()); } long long QProcess_BytesAvailableDefault(void* ptr) { return static_cast(static_cast(ptr)->QProcess::bytesAvailable()); } long long QProcess_BytesToWrite(void* ptr) { return static_cast(static_cast(ptr)->bytesToWrite()); } long long QProcess_BytesToWriteDefault(void* ptr) { return static_cast(static_cast(ptr)->QProcess::bytesToWrite()); } int QProcess_CanReadLine(void* ptr) { return static_cast(ptr)->canReadLine(); } int QProcess_CanReadLineDefault(void* ptr) { return static_cast(ptr)->QProcess::canReadLine(); } void QProcess_Close(void* ptr) { static_cast(ptr)->close(); } void QProcess_CloseDefault(void* ptr) { static_cast(ptr)->QProcess::close(); } void QProcess_CloseReadChannel(void* ptr, int channel) { static_cast(ptr)->closeReadChannel(static_cast(channel)); } void QProcess_CloseWriteChannel(void* ptr) { static_cast(ptr)->closeWriteChannel(); } void QProcess_ConnectError2(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QProcess::error), static_cast(ptr), static_cast(&MyQProcess::Signal_Error2)); } void QProcess_DisconnectError2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QProcess::error), static_cast(ptr), static_cast(&MyQProcess::Signal_Error2)); } void QProcess_Error2(void* ptr, int error) { static_cast(ptr)->error(static_cast(error)); } int QProcess_Error(void* ptr) { return static_cast(ptr)->error(); } int QProcess_QProcess_Execute2(char* command) { return QProcess::execute(QString(command)); } int QProcess_QProcess_Execute(char* program, char* arguments) { return QProcess::execute(QString(program), QString(arguments).split("|", QString::SkipEmptyParts)); } int QProcess_ExitCode(void* ptr) { return static_cast(ptr)->exitCode(); } int QProcess_ExitStatus(void* ptr) { return static_cast(ptr)->exitStatus(); } void QProcess_ConnectFinished(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QProcess::finished), static_cast(ptr), static_cast(&MyQProcess::Signal_Finished)); } void QProcess_DisconnectFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QProcess::finished), static_cast(ptr), static_cast(&MyQProcess::Signal_Finished)); } void QProcess_Finished(void* ptr, int exitCode, int exitStatus) { static_cast(ptr)->finished(exitCode, static_cast(exitStatus)); } int QProcess_InputChannelMode(void* ptr) { return static_cast(ptr)->inputChannelMode(); } int QProcess_IsSequential(void* ptr) { return static_cast(ptr)->isSequential(); } int QProcess_IsSequentialDefault(void* ptr) { return static_cast(ptr)->QProcess::isSequential(); } void QProcess_Kill(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "kill"); } char* QProcess_NativeArguments(void* ptr) { #ifdef Q_OS_WIN return static_cast(ptr)->nativeArguments().toUtf8().data(); #else return ""; #endif } char* QProcess_QProcess_NullDevice() { return QProcess::nullDevice().toUtf8().data(); } int QProcess_Open(void* ptr, int mode) { return static_cast(ptr)->open(static_cast(mode)); } int QProcess_OpenDefault(void* ptr, int mode) { return static_cast(ptr)->QProcess::open(static_cast(mode)); } int QProcess_ProcessChannelMode(void* ptr) { return static_cast(ptr)->processChannelMode(); } void* QProcess_ProcessEnvironment(void* ptr) { return new QProcessEnvironment(static_cast(ptr)->processEnvironment()); } long long QProcess_ProcessId(void* ptr) { return static_cast(static_cast(ptr)->processId()); } char* QProcess_Program(void* ptr) { return static_cast(ptr)->program().toUtf8().data(); } char* QProcess_ReadAllStandardError(void* ptr) { return QString(static_cast(ptr)->readAllStandardError()).toUtf8().data(); } char* QProcess_ReadAllStandardOutput(void* ptr) { return QString(static_cast(ptr)->readAllStandardOutput()).toUtf8().data(); } int QProcess_ReadChannel(void* ptr) { return static_cast(ptr)->readChannel(); } void QProcess_ConnectReadyReadStandardError(void* ptr) { QObject::connect(static_cast(ptr), &QProcess::readyReadStandardError, static_cast(ptr), static_cast(&MyQProcess::Signal_ReadyReadStandardError)); } void QProcess_DisconnectReadyReadStandardError(void* ptr) { QObject::disconnect(static_cast(ptr), &QProcess::readyReadStandardError, static_cast(ptr), static_cast(&MyQProcess::Signal_ReadyReadStandardError)); } void QProcess_ConnectReadyReadStandardOutput(void* ptr) { QObject::connect(static_cast(ptr), &QProcess::readyReadStandardOutput, static_cast(ptr), static_cast(&MyQProcess::Signal_ReadyReadStandardOutput)); } void QProcess_DisconnectReadyReadStandardOutput(void* ptr) { QObject::disconnect(static_cast(ptr), &QProcess::readyReadStandardOutput, static_cast(ptr), static_cast(&MyQProcess::Signal_ReadyReadStandardOutput)); } void QProcess_SetArguments(void* ptr, char* arguments) { static_cast(ptr)->setArguments(QString(arguments).split("|", QString::SkipEmptyParts)); } void QProcess_SetInputChannelMode(void* ptr, int mode) { static_cast(ptr)->setInputChannelMode(static_cast(mode)); } void QProcess_SetNativeArguments(void* ptr, char* arguments) { #ifdef Q_OS_WIN static_cast(ptr)->setNativeArguments(QString(arguments)); #endif } void QProcess_SetProcessChannelMode(void* ptr, int mode) { static_cast(ptr)->setProcessChannelMode(static_cast(mode)); } void QProcess_SetProcessEnvironment(void* ptr, void* environment) { static_cast(ptr)->setProcessEnvironment(*static_cast(environment)); } void QProcess_SetProcessState(void* ptr, int state) { static_cast(ptr)->setProcessState(static_cast(state)); } void QProcess_SetProgram(void* ptr, char* program) { static_cast(ptr)->setProgram(QString(program)); } void QProcess_SetReadChannel(void* ptr, int channel) { static_cast(ptr)->setReadChannel(static_cast(channel)); } void QProcess_SetStandardErrorFile(void* ptr, char* fileName, int mode) { static_cast(ptr)->setStandardErrorFile(QString(fileName), static_cast(mode)); } void QProcess_SetStandardInputFile(void* ptr, char* fileName) { static_cast(ptr)->setStandardInputFile(QString(fileName)); } void QProcess_SetStandardOutputFile(void* ptr, char* fileName, int mode) { static_cast(ptr)->setStandardOutputFile(QString(fileName), static_cast(mode)); } void QProcess_SetStandardOutputProcess(void* ptr, void* destination) { static_cast(ptr)->setStandardOutputProcess(static_cast(destination)); } void QProcess_SetWorkingDirectory(void* ptr, char* dir) { static_cast(ptr)->setWorkingDirectory(QString(dir)); } void QProcess_SetupChildProcess(void* ptr) { static_cast(ptr)->setupChildProcess(); } void QProcess_SetupChildProcessDefault(void* ptr) { static_cast(ptr)->QProcess::setupChildProcess(); } void QProcess_Start2(void* ptr, int mode) { static_cast(ptr)->start(static_cast(mode)); } void QProcess_Start3(void* ptr, char* command, int mode) { static_cast(ptr)->start(QString(command), static_cast(mode)); } void QProcess_Start(void* ptr, char* program, char* arguments, int mode) { static_cast(ptr)->start(QString(program), QString(arguments).split("|", QString::SkipEmptyParts), static_cast(mode)); } int QProcess_QProcess_StartDetached2(char* command) { return QProcess::startDetached(QString(command)); } void QProcess_ConnectStarted(void* ptr) { QObject::connect(static_cast(ptr), &QProcess::started, static_cast(ptr), static_cast(&MyQProcess::Signal_Started)); } void QProcess_DisconnectStarted(void* ptr) { QObject::disconnect(static_cast(ptr), &QProcess::started, static_cast(ptr), static_cast(&MyQProcess::Signal_Started)); } int QProcess_State(void* ptr) { return static_cast(ptr)->state(); } void QProcess_ConnectStateChanged(void* ptr) { QObject::connect(static_cast(ptr), &QProcess::stateChanged, static_cast(ptr), static_cast(&MyQProcess::Signal_StateChanged)); } void QProcess_DisconnectStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QProcess::stateChanged, static_cast(ptr), static_cast(&MyQProcess::Signal_StateChanged)); } char* QProcess_QProcess_SystemEnvironment() { return QProcess::systemEnvironment().join("|").toUtf8().data(); } void QProcess_Terminate(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "terminate"); } int QProcess_WaitForBytesWritten(void* ptr, int msecs) { return static_cast(ptr)->waitForBytesWritten(msecs); } int QProcess_WaitForBytesWrittenDefault(void* ptr, int msecs) { return static_cast(ptr)->QProcess::waitForBytesWritten(msecs); } int QProcess_WaitForFinished(void* ptr, int msecs) { return static_cast(ptr)->waitForFinished(msecs); } int QProcess_WaitForReadyRead(void* ptr, int msecs) { return static_cast(ptr)->waitForReadyRead(msecs); } int QProcess_WaitForReadyReadDefault(void* ptr, int msecs) { return static_cast(ptr)->QProcess::waitForReadyRead(msecs); } int QProcess_WaitForStarted(void* ptr, int msecs) { return static_cast(ptr)->waitForStarted(msecs); } char* QProcess_WorkingDirectory(void* ptr) { return static_cast(ptr)->workingDirectory().toUtf8().data(); } long long QProcess_WriteData(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->writeData(const_cast(data), static_cast(len))); } long long QProcess_WriteDataDefault(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->QProcess::writeData(const_cast(data), static_cast(len))); } void QProcess_DestroyQProcess(void* ptr) { static_cast(ptr)->~QProcess(); } long long QProcess_Pos(void* ptr) { return static_cast(static_cast(ptr)->pos()); } long long QProcess_PosDefault(void* ptr) { return static_cast(static_cast(ptr)->QProcess::pos()); } long long QProcess_ReadLineData(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->readLineData(data, static_cast(maxSize))); } long long QProcess_ReadLineDataDefault(void* ptr, char* data, long long maxSize) { return static_cast(static_cast(ptr)->QProcess::readLineData(data, static_cast(maxSize))); } int QProcess_Reset(void* ptr) { return static_cast(ptr)->reset(); } int QProcess_ResetDefault(void* ptr) { return static_cast(ptr)->QProcess::reset(); } int QProcess_Seek(void* ptr, long long pos) { return static_cast(ptr)->seek(static_cast(pos)); } int QProcess_SeekDefault(void* ptr, long long pos) { return static_cast(ptr)->QProcess::seek(static_cast(pos)); } long long QProcess_Size(void* ptr) { return static_cast(static_cast(ptr)->size()); } long long QProcess_SizeDefault(void* ptr) { return static_cast(static_cast(ptr)->QProcess::size()); } void QProcess_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QProcess_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QProcess::timerEvent(static_cast(event)); } void QProcess_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QProcess_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QProcess::childEvent(static_cast(event)); } void QProcess_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QProcess_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QProcess::connectNotify(*static_cast(sign)); } void QProcess_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QProcess_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QProcess::customEvent(static_cast(event)); } void QProcess_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QProcess_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QProcess::deleteLater(); } void QProcess_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QProcess_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QProcess::disconnectNotify(*static_cast(sign)); } int QProcess_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QProcess_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QProcess::event(static_cast(e)); } int QProcess_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QProcess_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QProcess::eventFilter(static_cast(watched), static_cast(event)); } void* QProcess_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QProcess_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QProcess::metaObject()); } void* QProcessEnvironment_NewQProcessEnvironment() { return new QProcessEnvironment(); } void* QProcessEnvironment_NewQProcessEnvironment2(void* other) { return new QProcessEnvironment(*static_cast(other)); } void QProcessEnvironment_Clear(void* ptr) { static_cast(ptr)->clear(); } int QProcessEnvironment_Contains(void* ptr, char* name) { return static_cast(ptr)->contains(QString(name)); } void QProcessEnvironment_Insert2(void* ptr, void* e) { static_cast(ptr)->insert(*static_cast(e)); } void QProcessEnvironment_Insert(void* ptr, char* name, char* value) { static_cast(ptr)->insert(QString(name), QString(value)); } int QProcessEnvironment_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } char* QProcessEnvironment_Keys(void* ptr) { return static_cast(ptr)->keys().join("|").toUtf8().data(); } void QProcessEnvironment_Remove(void* ptr, char* name) { static_cast(ptr)->remove(QString(name)); } void QProcessEnvironment_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } char* QProcessEnvironment_ToStringList(void* ptr) { return static_cast(ptr)->toStringList().join("|").toUtf8().data(); } char* QProcessEnvironment_Value(void* ptr, char* name, char* defaultValue) { return static_cast(ptr)->value(QString(name), QString(defaultValue)).toUtf8().data(); } void QProcessEnvironment_DestroyQProcessEnvironment(void* ptr) { static_cast(ptr)->~QProcessEnvironment(); } void* QProcessEnvironment_QProcessEnvironment_SystemEnvironment() { return new QProcessEnvironment(QProcessEnvironment::systemEnvironment()); } class MyQPropertyAnimation: public QPropertyAnimation { public: MyQPropertyAnimation(QObject *parent) : QPropertyAnimation(parent) {}; MyQPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent) : QPropertyAnimation(target, propertyName, parent) {}; bool event(QEvent * event) { return callbackQPropertyAnimation_Event(this, this->objectName().toUtf8().data(), event) != 0; }; void updateCurrentValue(const QVariant & value) { callbackQPropertyAnimation_UpdateCurrentValue(this, this->objectName().toUtf8().data(), new QVariant(value)); }; void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { callbackQPropertyAnimation_UpdateState(this, this->objectName().toUtf8().data(), newState, oldState); }; int duration() const { return callbackQPropertyAnimation_Duration(const_cast(this), this->objectName().toUtf8().data()); }; QVariant interpolated(const QVariant & from, const QVariant & to, qreal progress) const { return *static_cast(callbackQPropertyAnimation_Interpolated(const_cast(this), this->objectName().toUtf8().data(), new QVariant(from), new QVariant(to), static_cast(progress))); }; void updateCurrentTime(int vin) { callbackQPropertyAnimation_UpdateCurrentTime(this, this->objectName().toUtf8().data(), vin); }; void setCurrentTime(int msecs) { callbackQPropertyAnimation_SetCurrentTime(this, this->objectName().toUtf8().data(), msecs); }; void pause() { callbackQPropertyAnimation_Pause(this, this->objectName().toUtf8().data()); }; void resume() { callbackQPropertyAnimation_Resume(this, this->objectName().toUtf8().data()); }; void setPaused(bool paused) { callbackQPropertyAnimation_SetPaused(this, this->objectName().toUtf8().data(), paused); }; void start(QAbstractAnimation::DeletionPolicy policy) { callbackQPropertyAnimation_Start(this, this->objectName().toUtf8().data(), policy); }; void stop() { callbackQPropertyAnimation_Stop(this, this->objectName().toUtf8().data()); }; void updateDirection(QAbstractAnimation::Direction direction) { callbackQPropertyAnimation_UpdateDirection(this, this->objectName().toUtf8().data(), direction); }; void timerEvent(QTimerEvent * event) { callbackQPropertyAnimation_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQPropertyAnimation_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQPropertyAnimation_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQPropertyAnimation_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQPropertyAnimation_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQPropertyAnimation_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQPropertyAnimation_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQPropertyAnimation_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; char* QPropertyAnimation_PropertyName(void* ptr) { return QString(static_cast(ptr)->propertyName()).toUtf8().data(); } void QPropertyAnimation_SetPropertyName(void* ptr, char* propertyName) { static_cast(ptr)->setPropertyName(QByteArray(propertyName)); } void QPropertyAnimation_SetTargetObject(void* ptr, void* target) { static_cast(ptr)->setTargetObject(static_cast(target)); } void* QPropertyAnimation_TargetObject(void* ptr) { return static_cast(ptr)->targetObject(); } void* QPropertyAnimation_NewQPropertyAnimation(void* parent) { return new MyQPropertyAnimation(static_cast(parent)); } void* QPropertyAnimation_NewQPropertyAnimation2(void* target, char* propertyName, void* parent) { return new MyQPropertyAnimation(static_cast(target), QByteArray(propertyName), static_cast(parent)); } int QPropertyAnimation_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } int QPropertyAnimation_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QPropertyAnimation::event(static_cast(event)); } void QPropertyAnimation_UpdateCurrentValue(void* ptr, void* value) { static_cast(ptr)->updateCurrentValue(*static_cast(value)); } void QPropertyAnimation_UpdateCurrentValueDefault(void* ptr, void* value) { static_cast(ptr)->QPropertyAnimation::updateCurrentValue(*static_cast(value)); } void QPropertyAnimation_UpdateState(void* ptr, int newState, int oldState) { static_cast(ptr)->updateState(static_cast(newState), static_cast(oldState)); } void QPropertyAnimation_UpdateStateDefault(void* ptr, int newState, int oldState) { static_cast(ptr)->QPropertyAnimation::updateState(static_cast(newState), static_cast(oldState)); } void QPropertyAnimation_DestroyQPropertyAnimation(void* ptr) { static_cast(ptr)->~QPropertyAnimation(); } int QPropertyAnimation_Duration(void* ptr) { return static_cast(ptr)->duration(); } int QPropertyAnimation_DurationDefault(void* ptr) { return static_cast(ptr)->QPropertyAnimation::duration(); } void* QPropertyAnimation_Interpolated(void* ptr, void* from, void* to, double progress) { return new QVariant(static_cast(ptr)->interpolated(*static_cast(from), *static_cast(to), static_cast(progress))); } void* QPropertyAnimation_InterpolatedDefault(void* ptr, void* from, void* to, double progress) { return new QVariant(static_cast(ptr)->QPropertyAnimation::interpolated(*static_cast(from), *static_cast(to), static_cast(progress))); } void QPropertyAnimation_UpdateCurrentTime(void* ptr, int vin) { static_cast(ptr)->updateCurrentTime(vin); } void QPropertyAnimation_UpdateCurrentTimeDefault(void* ptr, int vin) { static_cast(ptr)->QPropertyAnimation::updateCurrentTime(vin); } void QPropertyAnimation_SetCurrentTime(void* ptr, int msecs) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentTime", Q_ARG(int, msecs)); } void QPropertyAnimation_SetCurrentTimeDefault(void* ptr, int msecs) { static_cast(ptr)->QPropertyAnimation::setCurrentTime(msecs); } void QPropertyAnimation_Pause(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "pause"); } void QPropertyAnimation_PauseDefault(void* ptr) { static_cast(ptr)->QPropertyAnimation::pause(); } void QPropertyAnimation_Resume(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resume"); } void QPropertyAnimation_ResumeDefault(void* ptr) { static_cast(ptr)->QPropertyAnimation::resume(); } void QPropertyAnimation_SetPaused(void* ptr, int paused) { QMetaObject::invokeMethod(static_cast(ptr), "setPaused", Q_ARG(bool, paused != 0)); } void QPropertyAnimation_SetPausedDefault(void* ptr, int paused) { static_cast(ptr)->QPropertyAnimation::setPaused(paused != 0); } void QPropertyAnimation_Start(void* ptr, int policy) { QMetaObject::invokeMethod(static_cast(ptr), "start", Q_ARG(QAbstractAnimation::DeletionPolicy, static_cast(policy))); } void QPropertyAnimation_StartDefault(void* ptr, int policy) { static_cast(ptr)->QPropertyAnimation::start(static_cast(policy)); } void QPropertyAnimation_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } void QPropertyAnimation_StopDefault(void* ptr) { static_cast(ptr)->QPropertyAnimation::stop(); } void QPropertyAnimation_UpdateDirection(void* ptr, int direction) { static_cast(ptr)->updateDirection(static_cast(direction)); } void QPropertyAnimation_UpdateDirectionDefault(void* ptr, int direction) { static_cast(ptr)->QPropertyAnimation::updateDirection(static_cast(direction)); } void QPropertyAnimation_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QPropertyAnimation_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QPropertyAnimation::timerEvent(static_cast(event)); } void QPropertyAnimation_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QPropertyAnimation_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QPropertyAnimation::childEvent(static_cast(event)); } void QPropertyAnimation_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QPropertyAnimation_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QPropertyAnimation::connectNotify(*static_cast(sign)); } void QPropertyAnimation_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QPropertyAnimation_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QPropertyAnimation::customEvent(static_cast(event)); } void QPropertyAnimation_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QPropertyAnimation_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QPropertyAnimation::deleteLater(); } void QPropertyAnimation_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QPropertyAnimation_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QPropertyAnimation::disconnectNotify(*static_cast(sign)); } int QPropertyAnimation_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QPropertyAnimation_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QPropertyAnimation::eventFilter(static_cast(watched), static_cast(event)); } void* QPropertyAnimation_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QPropertyAnimation_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QPropertyAnimation::metaObject()); } void* QReadLocker_NewQReadLocker(void* lock) { return new QReadLocker(static_cast(lock)); } void* QReadLocker_ReadWriteLock(void* ptr) { return static_cast(ptr)->readWriteLock(); } void QReadLocker_Relock(void* ptr) { static_cast(ptr)->relock(); } void QReadLocker_Unlock(void* ptr) { static_cast(ptr)->unlock(); } void QReadLocker_DestroyQReadLocker(void* ptr) { static_cast(ptr)->~QReadLocker(); } void* QReadWriteLock_NewQReadWriteLock(int recursionMode) { return new QReadWriteLock(static_cast(recursionMode)); } void QReadWriteLock_LockForRead(void* ptr) { static_cast(ptr)->lockForRead(); } void QReadWriteLock_LockForWrite(void* ptr) { static_cast(ptr)->lockForWrite(); } int QReadWriteLock_TryLockForRead(void* ptr) { return static_cast(ptr)->tryLockForRead(); } int QReadWriteLock_TryLockForRead2(void* ptr, int timeout) { return static_cast(ptr)->tryLockForRead(timeout); } int QReadWriteLock_TryLockForWrite(void* ptr) { return static_cast(ptr)->tryLockForWrite(); } int QReadWriteLock_TryLockForWrite2(void* ptr, int timeout) { return static_cast(ptr)->tryLockForWrite(timeout); } void QReadWriteLock_Unlock(void* ptr) { static_cast(ptr)->unlock(); } void QReadWriteLock_DestroyQReadWriteLock(void* ptr) { static_cast(ptr)->~QReadWriteLock(); } int QRect_Contains(void* ptr, void* point, int proper) { return static_cast(ptr)->contains(*static_cast(point), proper != 0); } int QRect_Contains4(void* ptr, void* rectangle, int proper) { return static_cast(ptr)->contains(*static_cast(rectangle), proper != 0); } int QRect_Intersects(void* ptr, void* rectangle) { return static_cast(ptr)->intersects(*static_cast(rectangle)); } void* QRect_NewQRect() { return new QRect(); } void* QRect_NewQRect2(void* topLeft, void* bottomRight) { return new QRect(*static_cast(topLeft), *static_cast(bottomRight)); } void* QRect_NewQRect3(void* topLeft, void* size) { return new QRect(*static_cast(topLeft), *static_cast(size)); } void* QRect_NewQRect4(int x, int y, int width, int height) { return new QRect(x, y, width, height); } void QRect_Adjust(void* ptr, int dx1, int dy1, int dx2, int dy2) { static_cast(ptr)->adjust(dx1, dy1, dx2, dy2); } void* QRect_Adjusted(void* ptr, int dx1, int dy1, int dx2, int dy2) { return new QRect(static_cast(static_cast(ptr)->adjusted(dx1, dy1, dx2, dy2)).x(), static_cast(static_cast(ptr)->adjusted(dx1, dy1, dx2, dy2)).y(), static_cast(static_cast(ptr)->adjusted(dx1, dy1, dx2, dy2)).width(), static_cast(static_cast(ptr)->adjusted(dx1, dy1, dx2, dy2)).height()); } int QRect_Bottom(void* ptr) { return static_cast(ptr)->bottom(); } void* QRect_BottomLeft(void* ptr) { return new QPoint(static_cast(static_cast(ptr)->bottomLeft()).x(), static_cast(static_cast(ptr)->bottomLeft()).y()); } void* QRect_BottomRight(void* ptr) { return new QPoint(static_cast(static_cast(ptr)->bottomRight()).x(), static_cast(static_cast(ptr)->bottomRight()).y()); } void* QRect_Center(void* ptr) { return new QPoint(static_cast(static_cast(ptr)->center()).x(), static_cast(static_cast(ptr)->center()).y()); } int QRect_Contains3(void* ptr, int x, int y) { return static_cast(ptr)->contains(x, y); } int QRect_Contains2(void* ptr, int x, int y, int proper) { return static_cast(ptr)->contains(x, y, proper != 0); } void QRect_GetCoords(void* ptr, int x1, int y1, int x2, int y2) { static_cast(ptr)->getCoords(&x1, &y1, &x2, &y2); } void QRect_GetRect(void* ptr, int x, int y, int width, int height) { static_cast(ptr)->getRect(&x, &y, &width, &height); } int QRect_Height(void* ptr) { return static_cast(ptr)->height(); } void* QRect_Intersected(void* ptr, void* rectangle) { return new QRect(static_cast(static_cast(ptr)->intersected(*static_cast(rectangle))).x(), static_cast(static_cast(ptr)->intersected(*static_cast(rectangle))).y(), static_cast(static_cast(ptr)->intersected(*static_cast(rectangle))).width(), static_cast(static_cast(ptr)->intersected(*static_cast(rectangle))).height()); } int QRect_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QRect_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QRect_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QRect_Left(void* ptr) { return static_cast(ptr)->left(); } void* QRect_MarginsAdded(void* ptr, void* margins) { return new QRect(static_cast(static_cast(ptr)->marginsAdded(*static_cast(margins))).x(), static_cast(static_cast(ptr)->marginsAdded(*static_cast(margins))).y(), static_cast(static_cast(ptr)->marginsAdded(*static_cast(margins))).width(), static_cast(static_cast(ptr)->marginsAdded(*static_cast(margins))).height()); } void* QRect_MarginsRemoved(void* ptr, void* margins) { return new QRect(static_cast(static_cast(ptr)->marginsRemoved(*static_cast(margins))).x(), static_cast(static_cast(ptr)->marginsRemoved(*static_cast(margins))).y(), static_cast(static_cast(ptr)->marginsRemoved(*static_cast(margins))).width(), static_cast(static_cast(ptr)->marginsRemoved(*static_cast(margins))).height()); } void QRect_MoveBottom(void* ptr, int y) { static_cast(ptr)->moveBottom(y); } void QRect_MoveBottomLeft(void* ptr, void* position) { static_cast(ptr)->moveBottomLeft(*static_cast(position)); } void QRect_MoveBottomRight(void* ptr, void* position) { static_cast(ptr)->moveBottomRight(*static_cast(position)); } void QRect_MoveCenter(void* ptr, void* position) { static_cast(ptr)->moveCenter(*static_cast(position)); } void QRect_MoveLeft(void* ptr, int x) { static_cast(ptr)->moveLeft(x); } void QRect_MoveRight(void* ptr, int x) { static_cast(ptr)->moveRight(x); } void QRect_MoveTo2(void* ptr, void* position) { static_cast(ptr)->moveTo(*static_cast(position)); } void QRect_MoveTo(void* ptr, int x, int y) { static_cast(ptr)->moveTo(x, y); } void QRect_MoveTop(void* ptr, int y) { static_cast(ptr)->moveTop(y); } void QRect_MoveTopLeft(void* ptr, void* position) { static_cast(ptr)->moveTopLeft(*static_cast(position)); } void QRect_MoveTopRight(void* ptr, void* position) { static_cast(ptr)->moveTopRight(*static_cast(position)); } void* QRect_Normalized(void* ptr) { return new QRect(static_cast(static_cast(ptr)->normalized()).x(), static_cast(static_cast(ptr)->normalized()).y(), static_cast(static_cast(ptr)->normalized()).width(), static_cast(static_cast(ptr)->normalized()).height()); } int QRect_Right(void* ptr) { return static_cast(ptr)->right(); } void QRect_SetBottom(void* ptr, int y) { static_cast(ptr)->setBottom(y); } void QRect_SetBottomLeft(void* ptr, void* position) { static_cast(ptr)->setBottomLeft(*static_cast(position)); } void QRect_SetBottomRight(void* ptr, void* position) { static_cast(ptr)->setBottomRight(*static_cast(position)); } void QRect_SetCoords(void* ptr, int x1, int y1, int x2, int y2) { static_cast(ptr)->setCoords(x1, y1, x2, y2); } void QRect_SetHeight(void* ptr, int height) { static_cast(ptr)->setHeight(height); } void QRect_SetLeft(void* ptr, int x) { static_cast(ptr)->setLeft(x); } void QRect_SetRect(void* ptr, int x, int y, int width, int height) { static_cast(ptr)->setRect(x, y, width, height); } void QRect_SetRight(void* ptr, int x) { static_cast(ptr)->setRight(x); } void QRect_SetSize(void* ptr, void* size) { static_cast(ptr)->setSize(*static_cast(size)); } void QRect_SetTop(void* ptr, int y) { static_cast(ptr)->setTop(y); } void QRect_SetTopLeft(void* ptr, void* position) { static_cast(ptr)->setTopLeft(*static_cast(position)); } void QRect_SetTopRight(void* ptr, void* position) { static_cast(ptr)->setTopRight(*static_cast(position)); } void QRect_SetWidth(void* ptr, int width) { static_cast(ptr)->setWidth(width); } void QRect_SetX(void* ptr, int x) { static_cast(ptr)->setX(x); } void QRect_SetY(void* ptr, int y) { static_cast(ptr)->setY(y); } void* QRect_Size(void* ptr) { return new QSize(static_cast(static_cast(ptr)->size()).width(), static_cast(static_cast(ptr)->size()).height()); } int QRect_Top(void* ptr) { return static_cast(ptr)->top(); } void* QRect_TopLeft(void* ptr) { return new QPoint(static_cast(static_cast(ptr)->topLeft()).x(), static_cast(static_cast(ptr)->topLeft()).y()); } void* QRect_TopRight(void* ptr) { return new QPoint(static_cast(static_cast(ptr)->topRight()).x(), static_cast(static_cast(ptr)->topRight()).y()); } void QRect_Translate2(void* ptr, void* offset) { static_cast(ptr)->translate(*static_cast(offset)); } void QRect_Translate(void* ptr, int dx, int dy) { static_cast(ptr)->translate(dx, dy); } void* QRect_Translated2(void* ptr, void* offset) { return new QRect(static_cast(static_cast(ptr)->translated(*static_cast(offset))).x(), static_cast(static_cast(ptr)->translated(*static_cast(offset))).y(), static_cast(static_cast(ptr)->translated(*static_cast(offset))).width(), static_cast(static_cast(ptr)->translated(*static_cast(offset))).height()); } void* QRect_Translated(void* ptr, int dx, int dy) { return new QRect(static_cast(static_cast(ptr)->translated(dx, dy)).x(), static_cast(static_cast(ptr)->translated(dx, dy)).y(), static_cast(static_cast(ptr)->translated(dx, dy)).width(), static_cast(static_cast(ptr)->translated(dx, dy)).height()); } void* QRect_United(void* ptr, void* rectangle) { return new QRect(static_cast(static_cast(ptr)->united(*static_cast(rectangle))).x(), static_cast(static_cast(ptr)->united(*static_cast(rectangle))).y(), static_cast(static_cast(ptr)->united(*static_cast(rectangle))).width(), static_cast(static_cast(ptr)->united(*static_cast(rectangle))).height()); } int QRect_Width(void* ptr) { return static_cast(ptr)->width(); } int QRect_X(void* ptr) { return static_cast(ptr)->x(); } int QRect_Y(void* ptr) { return static_cast(ptr)->y(); } int QRectF_Contains(void* ptr, void* point) { return static_cast(ptr)->contains(*static_cast(point)); } int QRectF_Contains3(void* ptr, void* rectangle) { return static_cast(ptr)->contains(*static_cast(rectangle)); } int QRectF_Intersects(void* ptr, void* rectangle) { return static_cast(ptr)->intersects(*static_cast(rectangle)); } void* QRectF_ToAlignedRect(void* ptr) { return new QRect(static_cast(static_cast(ptr)->toAlignedRect()).x(), static_cast(static_cast(ptr)->toAlignedRect()).y(), static_cast(static_cast(ptr)->toAlignedRect()).width(), static_cast(static_cast(ptr)->toAlignedRect()).height()); } void* QRectF_NewQRectF() { return new QRectF(); } void* QRectF_NewQRectF3(void* topLeft, void* bottomRight) { return new QRectF(*static_cast(topLeft), *static_cast(bottomRight)); } void* QRectF_NewQRectF2(void* topLeft, void* size) { return new QRectF(*static_cast(topLeft), *static_cast(size)); } void* QRectF_NewQRectF5(void* rectangle) { return new QRectF(*static_cast(rectangle)); } void* QRectF_NewQRectF4(double x, double y, double width, double height) { return new QRectF(static_cast(x), static_cast(y), static_cast(width), static_cast(height)); } void QRectF_Adjust(void* ptr, double dx1, double dy1, double dx2, double dy2) { static_cast(ptr)->adjust(static_cast(dx1), static_cast(dy1), static_cast(dx2), static_cast(dy2)); } void* QRectF_Adjusted(void* ptr, double dx1, double dy1, double dx2, double dy2) { return new QRectF(static_cast(static_cast(ptr)->adjusted(static_cast(dx1), static_cast(dy1), static_cast(dx2), static_cast(dy2))).x(), static_cast(static_cast(ptr)->adjusted(static_cast(dx1), static_cast(dy1), static_cast(dx2), static_cast(dy2))).y(), static_cast(static_cast(ptr)->adjusted(static_cast(dx1), static_cast(dy1), static_cast(dx2), static_cast(dy2))).width(), static_cast(static_cast(ptr)->adjusted(static_cast(dx1), static_cast(dy1), static_cast(dx2), static_cast(dy2))).height()); } double QRectF_Bottom(void* ptr) { return static_cast(static_cast(ptr)->bottom()); } void* QRectF_BottomLeft(void* ptr) { return new QPointF(static_cast(static_cast(ptr)->bottomLeft()).x(), static_cast(static_cast(ptr)->bottomLeft()).y()); } void* QRectF_BottomRight(void* ptr) { return new QPointF(static_cast(static_cast(ptr)->bottomRight()).x(), static_cast(static_cast(ptr)->bottomRight()).y()); } void* QRectF_Center(void* ptr) { return new QPointF(static_cast(static_cast(ptr)->center()).x(), static_cast(static_cast(ptr)->center()).y()); } int QRectF_Contains2(void* ptr, double x, double y) { return static_cast(ptr)->contains(static_cast(x), static_cast(y)); } double QRectF_Height(void* ptr) { return static_cast(static_cast(ptr)->height()); } void* QRectF_Intersected(void* ptr, void* rectangle) { return new QRectF(static_cast(static_cast(ptr)->intersected(*static_cast(rectangle))).x(), static_cast(static_cast(ptr)->intersected(*static_cast(rectangle))).y(), static_cast(static_cast(ptr)->intersected(*static_cast(rectangle))).width(), static_cast(static_cast(ptr)->intersected(*static_cast(rectangle))).height()); } int QRectF_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QRectF_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QRectF_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } double QRectF_Left(void* ptr) { return static_cast(static_cast(ptr)->left()); } void* QRectF_MarginsAdded(void* ptr, void* margins) { return new QRectF(static_cast(static_cast(ptr)->marginsAdded(*static_cast(margins))).x(), static_cast(static_cast(ptr)->marginsAdded(*static_cast(margins))).y(), static_cast(static_cast(ptr)->marginsAdded(*static_cast(margins))).width(), static_cast(static_cast(ptr)->marginsAdded(*static_cast(margins))).height()); } void* QRectF_MarginsRemoved(void* ptr, void* margins) { return new QRectF(static_cast(static_cast(ptr)->marginsRemoved(*static_cast(margins))).x(), static_cast(static_cast(ptr)->marginsRemoved(*static_cast(margins))).y(), static_cast(static_cast(ptr)->marginsRemoved(*static_cast(margins))).width(), static_cast(static_cast(ptr)->marginsRemoved(*static_cast(margins))).height()); } void QRectF_MoveBottom(void* ptr, double y) { static_cast(ptr)->moveBottom(static_cast(y)); } void QRectF_MoveBottomLeft(void* ptr, void* position) { static_cast(ptr)->moveBottomLeft(*static_cast(position)); } void QRectF_MoveBottomRight(void* ptr, void* position) { static_cast(ptr)->moveBottomRight(*static_cast(position)); } void QRectF_MoveCenter(void* ptr, void* position) { static_cast(ptr)->moveCenter(*static_cast(position)); } void QRectF_MoveLeft(void* ptr, double x) { static_cast(ptr)->moveLeft(static_cast(x)); } void QRectF_MoveRight(void* ptr, double x) { static_cast(ptr)->moveRight(static_cast(x)); } void QRectF_MoveTo2(void* ptr, void* position) { static_cast(ptr)->moveTo(*static_cast(position)); } void QRectF_MoveTo(void* ptr, double x, double y) { static_cast(ptr)->moveTo(static_cast(x), static_cast(y)); } void QRectF_MoveTop(void* ptr, double y) { static_cast(ptr)->moveTop(static_cast(y)); } void QRectF_MoveTopLeft(void* ptr, void* position) { static_cast(ptr)->moveTopLeft(*static_cast(position)); } void QRectF_MoveTopRight(void* ptr, void* position) { static_cast(ptr)->moveTopRight(*static_cast(position)); } void* QRectF_Normalized(void* ptr) { return new QRectF(static_cast(static_cast(ptr)->normalized()).x(), static_cast(static_cast(ptr)->normalized()).y(), static_cast(static_cast(ptr)->normalized()).width(), static_cast(static_cast(ptr)->normalized()).height()); } double QRectF_Right(void* ptr) { return static_cast(static_cast(ptr)->right()); } void QRectF_SetBottom(void* ptr, double y) { static_cast(ptr)->setBottom(static_cast(y)); } void QRectF_SetBottomLeft(void* ptr, void* position) { static_cast(ptr)->setBottomLeft(*static_cast(position)); } void QRectF_SetBottomRight(void* ptr, void* position) { static_cast(ptr)->setBottomRight(*static_cast(position)); } void QRectF_SetCoords(void* ptr, double x1, double y1, double x2, double y2) { static_cast(ptr)->setCoords(static_cast(x1), static_cast(y1), static_cast(x2), static_cast(y2)); } void QRectF_SetHeight(void* ptr, double height) { static_cast(ptr)->setHeight(static_cast(height)); } void QRectF_SetLeft(void* ptr, double x) { static_cast(ptr)->setLeft(static_cast(x)); } void QRectF_SetRect(void* ptr, double x, double y, double width, double height) { static_cast(ptr)->setRect(static_cast(x), static_cast(y), static_cast(width), static_cast(height)); } void QRectF_SetRight(void* ptr, double x) { static_cast(ptr)->setRight(static_cast(x)); } void QRectF_SetSize(void* ptr, void* size) { static_cast(ptr)->setSize(*static_cast(size)); } void QRectF_SetTop(void* ptr, double y) { static_cast(ptr)->setTop(static_cast(y)); } void QRectF_SetTopLeft(void* ptr, void* position) { static_cast(ptr)->setTopLeft(*static_cast(position)); } void QRectF_SetTopRight(void* ptr, void* position) { static_cast(ptr)->setTopRight(*static_cast(position)); } void QRectF_SetWidth(void* ptr, double width) { static_cast(ptr)->setWidth(static_cast(width)); } void QRectF_SetX(void* ptr, double x) { static_cast(ptr)->setX(static_cast(x)); } void QRectF_SetY(void* ptr, double y) { static_cast(ptr)->setY(static_cast(y)); } void* QRectF_Size(void* ptr) { return new QSizeF(static_cast(static_cast(ptr)->size()).width(), static_cast(static_cast(ptr)->size()).height()); } void* QRectF_ToRect(void* ptr) { return new QRect(static_cast(static_cast(ptr)->toRect()).x(), static_cast(static_cast(ptr)->toRect()).y(), static_cast(static_cast(ptr)->toRect()).width(), static_cast(static_cast(ptr)->toRect()).height()); } double QRectF_Top(void* ptr) { return static_cast(static_cast(ptr)->top()); } void* QRectF_TopLeft(void* ptr) { return new QPointF(static_cast(static_cast(ptr)->topLeft()).x(), static_cast(static_cast(ptr)->topLeft()).y()); } void* QRectF_TopRight(void* ptr) { return new QPointF(static_cast(static_cast(ptr)->topRight()).x(), static_cast(static_cast(ptr)->topRight()).y()); } void QRectF_Translate2(void* ptr, void* offset) { static_cast(ptr)->translate(*static_cast(offset)); } void QRectF_Translate(void* ptr, double dx, double dy) { static_cast(ptr)->translate(static_cast(dx), static_cast(dy)); } void* QRectF_Translated2(void* ptr, void* offset) { return new QRectF(static_cast(static_cast(ptr)->translated(*static_cast(offset))).x(), static_cast(static_cast(ptr)->translated(*static_cast(offset))).y(), static_cast(static_cast(ptr)->translated(*static_cast(offset))).width(), static_cast(static_cast(ptr)->translated(*static_cast(offset))).height()); } void* QRectF_Translated(void* ptr, double dx, double dy) { return new QRectF(static_cast(static_cast(ptr)->translated(static_cast(dx), static_cast(dy))).x(), static_cast(static_cast(ptr)->translated(static_cast(dx), static_cast(dy))).y(), static_cast(static_cast(ptr)->translated(static_cast(dx), static_cast(dy))).width(), static_cast(static_cast(ptr)->translated(static_cast(dx), static_cast(dy))).height()); } void* QRectF_United(void* ptr, void* rectangle) { return new QRectF(static_cast(static_cast(ptr)->united(*static_cast(rectangle))).x(), static_cast(static_cast(ptr)->united(*static_cast(rectangle))).y(), static_cast(static_cast(ptr)->united(*static_cast(rectangle))).width(), static_cast(static_cast(ptr)->united(*static_cast(rectangle))).height()); } double QRectF_Width(void* ptr) { return static_cast(static_cast(ptr)->width()); } double QRectF_X(void* ptr) { return static_cast(static_cast(ptr)->x()); } double QRectF_Y(void* ptr) { return static_cast(static_cast(ptr)->y()); } void* QRegExp_NewQRegExp() { return new QRegExp(); } void* QRegExp_NewQRegExp3(void* rx) { return new QRegExp(*static_cast(rx)); } void* QRegExp_NewQRegExp2(char* pattern, int cs, int syntax) { return new QRegExp(QString(pattern), static_cast(cs), static_cast(syntax)); } char* QRegExp_Cap(void* ptr, int nth) { return static_cast(ptr)->cap(nth).toUtf8().data(); } char* QRegExp_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } int QRegExp_CaptureCount(void* ptr) { return static_cast(ptr)->captureCount(); } char* QRegExp_CapturedTexts(void* ptr) { return static_cast(ptr)->capturedTexts().join("|").toUtf8().data(); } int QRegExp_CaseSensitivity(void* ptr) { return static_cast(ptr)->caseSensitivity(); } char* QRegExp_QRegExp_Escape(char* str) { return QRegExp::escape(QString(str)).toUtf8().data(); } int QRegExp_ExactMatch(void* ptr, char* str) { return static_cast(ptr)->exactMatch(QString(str)); } int QRegExp_IndexIn(void* ptr, char* str, int offset, int caretMode) { return static_cast(ptr)->indexIn(QString(str), offset, static_cast(caretMode)); } int QRegExp_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QRegExp_IsMinimal(void* ptr) { return static_cast(ptr)->isMinimal(); } int QRegExp_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QRegExp_LastIndexIn(void* ptr, char* str, int offset, int caretMode) { return static_cast(ptr)->lastIndexIn(QString(str), offset, static_cast(caretMode)); } int QRegExp_MatchedLength(void* ptr) { return static_cast(ptr)->matchedLength(); } char* QRegExp_Pattern(void* ptr) { return static_cast(ptr)->pattern().toUtf8().data(); } int QRegExp_PatternSyntax(void* ptr) { return static_cast(ptr)->patternSyntax(); } int QRegExp_Pos(void* ptr, int nth) { return static_cast(ptr)->pos(nth); } void QRegExp_SetCaseSensitivity(void* ptr, int cs) { static_cast(ptr)->setCaseSensitivity(static_cast(cs)); } void QRegExp_SetMinimal(void* ptr, int minimal) { static_cast(ptr)->setMinimal(minimal != 0); } void QRegExp_SetPattern(void* ptr, char* pattern) { static_cast(ptr)->setPattern(QString(pattern)); } void QRegExp_SetPatternSyntax(void* ptr, int syntax) { static_cast(ptr)->setPatternSyntax(static_cast(syntax)); } void QRegExp_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void QRegExp_DestroyQRegExp(void* ptr) { static_cast(ptr)->~QRegExp(); } void* QRegularExpression_NewQRegularExpression() { return new QRegularExpression(); } void* QRegularExpression_NewQRegularExpression3(void* re) { return new QRegularExpression(*static_cast(re)); } void* QRegularExpression_NewQRegularExpression2(char* pattern, int options) { return new QRegularExpression(QString(pattern), static_cast(options)); } int QRegularExpression_CaptureCount(void* ptr) { return static_cast(ptr)->captureCount(); } char* QRegularExpression_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } char* QRegularExpression_QRegularExpression_Escape(char* str) { return QRegularExpression::escape(QString(str)).toUtf8().data(); } void* QRegularExpression_GlobalMatch(void* ptr, char* subject, int offset, int matchType, int matchOptions) { return new QRegularExpressionMatchIterator(static_cast(ptr)->globalMatch(QString(subject), offset, static_cast(matchType), static_cast(matchOptions))); } void* QRegularExpression_GlobalMatch2(void* ptr, void* subjectRef, int offset, int matchType, int matchOptions) { return new QRegularExpressionMatchIterator(static_cast(ptr)->globalMatch(*static_cast(subjectRef), offset, static_cast(matchType), static_cast(matchOptions))); } int QRegularExpression_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } void* QRegularExpression_Match(void* ptr, char* subject, int offset, int matchType, int matchOptions) { return new QRegularExpressionMatch(static_cast(ptr)->match(QString(subject), offset, static_cast(matchType), static_cast(matchOptions))); } void* QRegularExpression_Match2(void* ptr, void* subjectRef, int offset, int matchType, int matchOptions) { return new QRegularExpressionMatch(static_cast(ptr)->match(*static_cast(subjectRef), offset, static_cast(matchType), static_cast(matchOptions))); } char* QRegularExpression_NamedCaptureGroups(void* ptr) { return static_cast(ptr)->namedCaptureGroups().join("|").toUtf8().data(); } void QRegularExpression_Optimize(void* ptr) { static_cast(ptr)->optimize(); } char* QRegularExpression_Pattern(void* ptr) { return static_cast(ptr)->pattern().toUtf8().data(); } int QRegularExpression_PatternErrorOffset(void* ptr) { return static_cast(ptr)->patternErrorOffset(); } int QRegularExpression_PatternOptions(void* ptr) { return static_cast(ptr)->patternOptions(); } void QRegularExpression_SetPattern(void* ptr, char* pattern) { static_cast(ptr)->setPattern(QString(pattern)); } void QRegularExpression_SetPatternOptions(void* ptr, int options) { static_cast(ptr)->setPatternOptions(static_cast(options)); } void QRegularExpression_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void QRegularExpression_DestroyQRegularExpression(void* ptr) { static_cast(ptr)->~QRegularExpression(); } void* QRegularExpressionMatch_NewQRegularExpressionMatch() { return new QRegularExpressionMatch(); } void* QRegularExpressionMatch_NewQRegularExpressionMatch2(void* match) { return new QRegularExpressionMatch(*static_cast(match)); } char* QRegularExpressionMatch_Captured2(void* ptr, char* name) { return static_cast(ptr)->captured(QString(name)).toUtf8().data(); } char* QRegularExpressionMatch_Captured(void* ptr, int nth) { return static_cast(ptr)->captured(nth).toUtf8().data(); } int QRegularExpressionMatch_CapturedEnd2(void* ptr, char* name) { return static_cast(ptr)->capturedEnd(QString(name)); } int QRegularExpressionMatch_CapturedEnd(void* ptr, int nth) { return static_cast(ptr)->capturedEnd(nth); } int QRegularExpressionMatch_CapturedLength2(void* ptr, char* name) { return static_cast(ptr)->capturedLength(QString(name)); } int QRegularExpressionMatch_CapturedLength(void* ptr, int nth) { return static_cast(ptr)->capturedLength(nth); } void* QRegularExpressionMatch_CapturedRef2(void* ptr, char* name) { return new QStringRef(static_cast(ptr)->capturedRef(QString(name))); } void* QRegularExpressionMatch_CapturedRef(void* ptr, int nth) { return new QStringRef(static_cast(ptr)->capturedRef(nth)); } int QRegularExpressionMatch_CapturedStart2(void* ptr, char* name) { return static_cast(ptr)->capturedStart(QString(name)); } int QRegularExpressionMatch_CapturedStart(void* ptr, int nth) { return static_cast(ptr)->capturedStart(nth); } char* QRegularExpressionMatch_CapturedTexts(void* ptr) { return static_cast(ptr)->capturedTexts().join("|").toUtf8().data(); } int QRegularExpressionMatch_HasMatch(void* ptr) { return static_cast(ptr)->hasMatch(); } int QRegularExpressionMatch_HasPartialMatch(void* ptr) { return static_cast(ptr)->hasPartialMatch(); } int QRegularExpressionMatch_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QRegularExpressionMatch_LastCapturedIndex(void* ptr) { return static_cast(ptr)->lastCapturedIndex(); } int QRegularExpressionMatch_MatchOptions(void* ptr) { return static_cast(ptr)->matchOptions(); } int QRegularExpressionMatch_MatchType(void* ptr) { return static_cast(ptr)->matchType(); } void* QRegularExpressionMatch_RegularExpression(void* ptr) { return new QRegularExpression(static_cast(ptr)->regularExpression()); } void QRegularExpressionMatch_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void QRegularExpressionMatch_DestroyQRegularExpressionMatch(void* ptr) { static_cast(ptr)->~QRegularExpressionMatch(); } int QResource_QResource_RegisterResource(char* rccFileName, char* mapRoot) { return QResource::registerResource(QString(rccFileName), QString(mapRoot)); } int QResource_QResource_UnregisterResource(char* rccFileName, char* mapRoot) { return QResource::unregisterResource(QString(rccFileName), QString(mapRoot)); } void* QResource_NewQResource(char* file, void* locale) { return new QResource(QString(file), *static_cast(locale)); } char* QResource_AbsoluteFilePath(void* ptr) { return static_cast(ptr)->absoluteFilePath().toUtf8().data(); } char* QResource_Children(void* ptr) { return static_cast(ptr)->children().join("|").toUtf8().data(); } char* QResource_FileName(void* ptr) { return static_cast(ptr)->fileName().toUtf8().data(); } int QResource_IsCompressed(void* ptr) { return static_cast(ptr)->isCompressed(); } int QResource_IsDir(void* ptr) { return static_cast(ptr)->isDir(); } int QResource_IsFile(void* ptr) { return static_cast(ptr)->isFile(); } int QResource_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } void* QResource_Locale(void* ptr) { return new QLocale(static_cast(ptr)->locale()); } void QResource_SetFileName(void* ptr, char* file) { static_cast(ptr)->setFileName(QString(file)); } void QResource_SetLocale(void* ptr, void* locale) { static_cast(ptr)->setLocale(*static_cast(locale)); } long long QResource_Size(void* ptr) { return static_cast(static_cast(ptr)->size()); } void QResource_DestroyQResource(void* ptr) { static_cast(ptr)->~QResource(); } class MyQRunnable: public QRunnable { public: QString _objectName; QString objectNameAbs() const { return this->_objectName; }; void setObjectNameAbs(const QString &name) { this->_objectName = name; }; MyQRunnable() : QRunnable() {}; void run() { callbackQRunnable_Run(this, this->objectNameAbs().toUtf8().data()); }; }; void* QRunnable_NewQRunnable() { return new MyQRunnable(); } int QRunnable_AutoDelete(void* ptr) { return static_cast(ptr)->autoDelete(); } void QRunnable_Run(void* ptr) { static_cast(ptr)->run(); } void QRunnable_SetAutoDelete(void* ptr, int autoDelete) { static_cast(ptr)->setAutoDelete(autoDelete != 0); } void QRunnable_DestroyQRunnable(void* ptr) { static_cast(ptr)->~QRunnable(); } char* QRunnable_ObjectNameAbs(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->objectNameAbs().toUtf8().data(); } return QString("QRunnable_BASE").toUtf8().data(); } void QRunnable_SetObjectNameAbs(void* ptr, char* name) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setObjectNameAbs(QString(name)); } } class MyQSaveFile: public QSaveFile { public: MyQSaveFile(QObject *parent) : QSaveFile(parent) {}; MyQSaveFile(const QString &name) : QSaveFile(name) {}; MyQSaveFile(const QString &name, QObject *parent) : QSaveFile(name, parent) {}; QString fileName() const { return QString(callbackQSaveFile_FileName(const_cast(this), this->objectName().toUtf8().data())); }; bool open(QIODevice::OpenMode mode) { return callbackQSaveFile_Open(this, this->objectName().toUtf8().data(), mode) != 0; }; qint64 writeData(const char * data, qint64 len) { return static_cast(callbackQSaveFile_WriteData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(len))); }; bool seek(qint64 pos) { return callbackQSaveFile_Seek(this, this->objectName().toUtf8().data(), static_cast(pos)) != 0; }; bool atEnd() const { return callbackQSaveFile_AtEnd(const_cast(this), this->objectName().toUtf8().data()) != 0; }; void close() { callbackQSaveFile_Close(this, this->objectName().toUtf8().data()); }; bool isSequential() const { return callbackQSaveFile_IsSequential(const_cast(this), this->objectName().toUtf8().data()) != 0; }; Permissions permissions() const { return static_cast(callbackQSaveFile_Permissions(const_cast(this), this->objectName().toUtf8().data())); }; qint64 pos() const { return static_cast(callbackQSaveFile_Pos(const_cast(this), this->objectName().toUtf8().data())); }; qint64 readLineData(char * data, qint64 maxlen) { return static_cast(callbackQSaveFile_ReadLineData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(maxlen))); }; bool resize(qint64 sz) { return callbackQSaveFile_Resize(this, this->objectName().toUtf8().data(), static_cast(sz)) != 0; }; bool setPermissions(QFileDevice::Permissions permissions) { return callbackQSaveFile_SetPermissions(this, this->objectName().toUtf8().data(), permissions) != 0; }; qint64 size() const { return static_cast(callbackQSaveFile_Size(const_cast(this), this->objectName().toUtf8().data())); }; qint64 bytesAvailable() const { return static_cast(callbackQSaveFile_BytesAvailable(const_cast(this), this->objectName().toUtf8().data())); }; qint64 bytesToWrite() const { return static_cast(callbackQSaveFile_BytesToWrite(const_cast(this), this->objectName().toUtf8().data())); }; bool canReadLine() const { return callbackQSaveFile_CanReadLine(const_cast(this), this->objectName().toUtf8().data()) != 0; }; bool reset() { return callbackQSaveFile_Reset(this, this->objectName().toUtf8().data()) != 0; }; bool waitForBytesWritten(int msecs) { return callbackQSaveFile_WaitForBytesWritten(this, this->objectName().toUtf8().data(), msecs) != 0; }; bool waitForReadyRead(int msecs) { return callbackQSaveFile_WaitForReadyRead(this, this->objectName().toUtf8().data(), msecs) != 0; }; void timerEvent(QTimerEvent * event) { callbackQSaveFile_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQSaveFile_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQSaveFile_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQSaveFile_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQSaveFile_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQSaveFile_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQSaveFile_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSaveFile_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQSaveFile_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QSaveFile_NewQSaveFile2(void* parent) { return new MyQSaveFile(static_cast(parent)); } void* QSaveFile_NewQSaveFile(char* name) { return new MyQSaveFile(QString(name)); } void* QSaveFile_NewQSaveFile3(char* name, void* parent) { return new MyQSaveFile(QString(name), static_cast(parent)); } void QSaveFile_CancelWriting(void* ptr) { static_cast(ptr)->cancelWriting(); } int QSaveFile_Commit(void* ptr) { return static_cast(ptr)->commit(); } int QSaveFile_DirectWriteFallback(void* ptr) { return static_cast(ptr)->directWriteFallback(); } char* QSaveFile_FileName(void* ptr) { return static_cast(ptr)->fileName().toUtf8().data(); } char* QSaveFile_FileNameDefault(void* ptr) { return static_cast(ptr)->QSaveFile::fileName().toUtf8().data(); } int QSaveFile_Open(void* ptr, int mode) { return static_cast(ptr)->open(static_cast(mode)); } int QSaveFile_OpenDefault(void* ptr, int mode) { return static_cast(ptr)->QSaveFile::open(static_cast(mode)); } void QSaveFile_SetDirectWriteFallback(void* ptr, int enabled) { static_cast(ptr)->setDirectWriteFallback(enabled != 0); } void QSaveFile_SetFileName(void* ptr, char* name) { static_cast(ptr)->setFileName(QString(name)); } long long QSaveFile_WriteData(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->writeData(const_cast(data), static_cast(len))); } long long QSaveFile_WriteDataDefault(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->QSaveFile::writeData(const_cast(data), static_cast(len))); } void QSaveFile_DestroyQSaveFile(void* ptr) { static_cast(ptr)->~QSaveFile(); } int QSaveFile_Seek(void* ptr, long long pos) { return static_cast(ptr)->seek(static_cast(pos)); } int QSaveFile_SeekDefault(void* ptr, long long pos) { return static_cast(ptr)->QSaveFile::seek(static_cast(pos)); } int QSaveFile_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } int QSaveFile_AtEndDefault(void* ptr) { return static_cast(ptr)->QSaveFile::atEnd(); } void QSaveFile_Close(void* ptr) { static_cast(ptr)->close(); } void QSaveFile_CloseDefault(void* ptr) { static_cast(ptr)->QSaveFile::close(); } int QSaveFile_IsSequential(void* ptr) { return static_cast(ptr)->isSequential(); } int QSaveFile_IsSequentialDefault(void* ptr) { return static_cast(ptr)->QSaveFile::isSequential(); } int QSaveFile_Permissions(void* ptr) { return static_cast(ptr)->permissions(); } int QSaveFile_PermissionsDefault(void* ptr) { return static_cast(ptr)->QSaveFile::permissions(); } long long QSaveFile_Pos(void* ptr) { return static_cast(static_cast(ptr)->pos()); } long long QSaveFile_PosDefault(void* ptr) { return static_cast(static_cast(ptr)->QSaveFile::pos()); } long long QSaveFile_ReadLineData(void* ptr, char* data, long long maxlen) { return static_cast(static_cast(ptr)->readLineData(data, static_cast(maxlen))); } long long QSaveFile_ReadLineDataDefault(void* ptr, char* data, long long maxlen) { return static_cast(static_cast(ptr)->QSaveFile::readLineData(data, static_cast(maxlen))); } int QSaveFile_Resize(void* ptr, long long sz) { return static_cast(ptr)->resize(static_cast(sz)); } int QSaveFile_ResizeDefault(void* ptr, long long sz) { return static_cast(ptr)->QSaveFile::resize(static_cast(sz)); } int QSaveFile_SetPermissions(void* ptr, int permissions) { return static_cast(ptr)->setPermissions(static_cast(permissions)); } int QSaveFile_SetPermissionsDefault(void* ptr, int permissions) { return static_cast(ptr)->QSaveFile::setPermissions(static_cast(permissions)); } long long QSaveFile_Size(void* ptr) { return static_cast(static_cast(ptr)->size()); } long long QSaveFile_SizeDefault(void* ptr) { return static_cast(static_cast(ptr)->QSaveFile::size()); } long long QSaveFile_BytesAvailable(void* ptr) { return static_cast(static_cast(ptr)->bytesAvailable()); } long long QSaveFile_BytesAvailableDefault(void* ptr) { return static_cast(static_cast(ptr)->QSaveFile::bytesAvailable()); } long long QSaveFile_BytesToWrite(void* ptr) { return static_cast(static_cast(ptr)->bytesToWrite()); } long long QSaveFile_BytesToWriteDefault(void* ptr) { return static_cast(static_cast(ptr)->QSaveFile::bytesToWrite()); } int QSaveFile_CanReadLine(void* ptr) { return static_cast(ptr)->canReadLine(); } int QSaveFile_CanReadLineDefault(void* ptr) { return static_cast(ptr)->QSaveFile::canReadLine(); } int QSaveFile_Reset(void* ptr) { return static_cast(ptr)->reset(); } int QSaveFile_ResetDefault(void* ptr) { return static_cast(ptr)->QSaveFile::reset(); } int QSaveFile_WaitForBytesWritten(void* ptr, int msecs) { return static_cast(ptr)->waitForBytesWritten(msecs); } int QSaveFile_WaitForBytesWrittenDefault(void* ptr, int msecs) { return static_cast(ptr)->QSaveFile::waitForBytesWritten(msecs); } int QSaveFile_WaitForReadyRead(void* ptr, int msecs) { return static_cast(ptr)->waitForReadyRead(msecs); } int QSaveFile_WaitForReadyReadDefault(void* ptr, int msecs) { return static_cast(ptr)->QSaveFile::waitForReadyRead(msecs); } void QSaveFile_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QSaveFile_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QSaveFile::timerEvent(static_cast(event)); } void QSaveFile_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QSaveFile_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QSaveFile::childEvent(static_cast(event)); } void QSaveFile_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QSaveFile_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSaveFile::connectNotify(*static_cast(sign)); } void QSaveFile_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QSaveFile_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QSaveFile::customEvent(static_cast(event)); } void QSaveFile_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QSaveFile_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QSaveFile::deleteLater(); } void QSaveFile_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QSaveFile_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSaveFile::disconnectNotify(*static_cast(sign)); } int QSaveFile_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QSaveFile_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QSaveFile::event(static_cast(e)); } int QSaveFile_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QSaveFile_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QSaveFile::eventFilter(static_cast(watched), static_cast(event)); } void* QSaveFile_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QSaveFile_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QSaveFile::metaObject()); } void* QSemaphore_NewQSemaphore(int n) { return new QSemaphore(n); } void QSemaphore_Acquire(void* ptr, int n) { static_cast(ptr)->acquire(n); } int QSemaphore_Available(void* ptr) { return static_cast(ptr)->available(); } void QSemaphore_Release(void* ptr, int n) { static_cast(ptr)->release(n); } int QSemaphore_TryAcquire(void* ptr, int n) { return static_cast(ptr)->tryAcquire(n); } int QSemaphore_TryAcquire2(void* ptr, int n, int timeout) { return static_cast(ptr)->tryAcquire(n, timeout); } void QSemaphore_DestroyQSemaphore(void* ptr) { static_cast(ptr)->~QSemaphore(); } class MyQSequentialAnimationGroup: public QSequentialAnimationGroup { public: MyQSequentialAnimationGroup(QObject *parent) : QSequentialAnimationGroup(parent) {}; void Signal_CurrentAnimationChanged(QAbstractAnimation * current) { callbackQSequentialAnimationGroup_CurrentAnimationChanged(this, this->objectName().toUtf8().data(), current); }; int duration() const { return callbackQSequentialAnimationGroup_Duration(const_cast(this), this->objectName().toUtf8().data()); }; bool event(QEvent * event) { return callbackQSequentialAnimationGroup_Event(this, this->objectName().toUtf8().data(), event) != 0; }; void updateCurrentTime(int currentTime) { callbackQSequentialAnimationGroup_UpdateCurrentTime(this, this->objectName().toUtf8().data(), currentTime); }; void updateDirection(QAbstractAnimation::Direction direction) { callbackQSequentialAnimationGroup_UpdateDirection(this, this->objectName().toUtf8().data(), direction); }; void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { callbackQSequentialAnimationGroup_UpdateState(this, this->objectName().toUtf8().data(), newState, oldState); }; void setCurrentTime(int msecs) { callbackQSequentialAnimationGroup_SetCurrentTime(this, this->objectName().toUtf8().data(), msecs); }; void pause() { callbackQSequentialAnimationGroup_Pause(this, this->objectName().toUtf8().data()); }; void resume() { callbackQSequentialAnimationGroup_Resume(this, this->objectName().toUtf8().data()); }; void setPaused(bool paused) { callbackQSequentialAnimationGroup_SetPaused(this, this->objectName().toUtf8().data(), paused); }; void start(QAbstractAnimation::DeletionPolicy policy) { callbackQSequentialAnimationGroup_Start(this, this->objectName().toUtf8().data(), policy); }; void stop() { callbackQSequentialAnimationGroup_Stop(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQSequentialAnimationGroup_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQSequentialAnimationGroup_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQSequentialAnimationGroup_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQSequentialAnimationGroup_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQSequentialAnimationGroup_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQSequentialAnimationGroup_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSequentialAnimationGroup_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQSequentialAnimationGroup_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QSequentialAnimationGroup_CurrentAnimation(void* ptr) { return static_cast(ptr)->currentAnimation(); } void* QSequentialAnimationGroup_NewQSequentialAnimationGroup(void* parent) { return new MyQSequentialAnimationGroup(static_cast(parent)); } void* QSequentialAnimationGroup_AddPause(void* ptr, int msecs) { return static_cast(ptr)->addPause(msecs); } void QSequentialAnimationGroup_ConnectCurrentAnimationChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QSequentialAnimationGroup::currentAnimationChanged), static_cast(ptr), static_cast(&MyQSequentialAnimationGroup::Signal_CurrentAnimationChanged)); } void QSequentialAnimationGroup_DisconnectCurrentAnimationChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSequentialAnimationGroup::currentAnimationChanged), static_cast(ptr), static_cast(&MyQSequentialAnimationGroup::Signal_CurrentAnimationChanged)); } void QSequentialAnimationGroup_CurrentAnimationChanged(void* ptr, void* current) { static_cast(ptr)->currentAnimationChanged(static_cast(current)); } int QSequentialAnimationGroup_Duration(void* ptr) { return static_cast(ptr)->duration(); } int QSequentialAnimationGroup_DurationDefault(void* ptr) { return static_cast(ptr)->QSequentialAnimationGroup::duration(); } int QSequentialAnimationGroup_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } int QSequentialAnimationGroup_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QSequentialAnimationGroup::event(static_cast(event)); } void* QSequentialAnimationGroup_InsertPause(void* ptr, int index, int msecs) { return static_cast(ptr)->insertPause(index, msecs); } void QSequentialAnimationGroup_UpdateCurrentTime(void* ptr, int currentTime) { static_cast(ptr)->updateCurrentTime(currentTime); } void QSequentialAnimationGroup_UpdateCurrentTimeDefault(void* ptr, int currentTime) { static_cast(ptr)->QSequentialAnimationGroup::updateCurrentTime(currentTime); } void QSequentialAnimationGroup_UpdateDirection(void* ptr, int direction) { static_cast(ptr)->updateDirection(static_cast(direction)); } void QSequentialAnimationGroup_UpdateDirectionDefault(void* ptr, int direction) { static_cast(ptr)->QSequentialAnimationGroup::updateDirection(static_cast(direction)); } void QSequentialAnimationGroup_UpdateState(void* ptr, int newState, int oldState) { static_cast(ptr)->updateState(static_cast(newState), static_cast(oldState)); } void QSequentialAnimationGroup_UpdateStateDefault(void* ptr, int newState, int oldState) { static_cast(ptr)->QSequentialAnimationGroup::updateState(static_cast(newState), static_cast(oldState)); } void QSequentialAnimationGroup_DestroyQSequentialAnimationGroup(void* ptr) { static_cast(ptr)->~QSequentialAnimationGroup(); } void QSequentialAnimationGroup_SetCurrentTime(void* ptr, int msecs) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentTime", Q_ARG(int, msecs)); } void QSequentialAnimationGroup_SetCurrentTimeDefault(void* ptr, int msecs) { static_cast(ptr)->QSequentialAnimationGroup::setCurrentTime(msecs); } void QSequentialAnimationGroup_Pause(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "pause"); } void QSequentialAnimationGroup_PauseDefault(void* ptr) { static_cast(ptr)->QSequentialAnimationGroup::pause(); } void QSequentialAnimationGroup_Resume(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resume"); } void QSequentialAnimationGroup_ResumeDefault(void* ptr) { static_cast(ptr)->QSequentialAnimationGroup::resume(); } void QSequentialAnimationGroup_SetPaused(void* ptr, int paused) { QMetaObject::invokeMethod(static_cast(ptr), "setPaused", Q_ARG(bool, paused != 0)); } void QSequentialAnimationGroup_SetPausedDefault(void* ptr, int paused) { static_cast(ptr)->QSequentialAnimationGroup::setPaused(paused != 0); } void QSequentialAnimationGroup_Start(void* ptr, int policy) { QMetaObject::invokeMethod(static_cast(ptr), "start", Q_ARG(QAbstractAnimation::DeletionPolicy, static_cast(policy))); } void QSequentialAnimationGroup_StartDefault(void* ptr, int policy) { static_cast(ptr)->QSequentialAnimationGroup::start(static_cast(policy)); } void QSequentialAnimationGroup_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } void QSequentialAnimationGroup_StopDefault(void* ptr) { static_cast(ptr)->QSequentialAnimationGroup::stop(); } void QSequentialAnimationGroup_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QSequentialAnimationGroup_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QSequentialAnimationGroup::timerEvent(static_cast(event)); } void QSequentialAnimationGroup_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QSequentialAnimationGroup_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QSequentialAnimationGroup::childEvent(static_cast(event)); } void QSequentialAnimationGroup_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QSequentialAnimationGroup_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSequentialAnimationGroup::connectNotify(*static_cast(sign)); } void QSequentialAnimationGroup_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QSequentialAnimationGroup_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QSequentialAnimationGroup::customEvent(static_cast(event)); } void QSequentialAnimationGroup_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QSequentialAnimationGroup_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QSequentialAnimationGroup::deleteLater(); } void QSequentialAnimationGroup_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QSequentialAnimationGroup_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSequentialAnimationGroup::disconnectNotify(*static_cast(sign)); } int QSequentialAnimationGroup_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QSequentialAnimationGroup_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QSequentialAnimationGroup::eventFilter(static_cast(watched), static_cast(event)); } void* QSequentialAnimationGroup_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QSequentialAnimationGroup_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QSequentialAnimationGroup::metaObject()); } void* QSequentialIterable_At(void* ptr, int idx) { return new QVariant(static_cast(ptr)->at(idx)); } int QSequentialIterable_CanReverseIterate(void* ptr) { return static_cast(ptr)->canReverseIterate(); } int QSequentialIterable_Size(void* ptr) { return static_cast(ptr)->size(); } class MyQSettings: public QSettings { public: MyQSettings(Format format, Scope scope, const QString &organization, const QString &application, QObject *parent) : QSettings(format, scope, organization, application, parent) {}; MyQSettings(QObject *parent) : QSettings(parent) {}; MyQSettings(Scope scope, const QString &organization, const QString &application, QObject *parent) : QSettings(scope, organization, application, parent) {}; MyQSettings(const QString &fileName, Format format, QObject *parent) : QSettings(fileName, format, parent) {}; MyQSettings(const QString &organization, const QString &application, QObject *parent) : QSettings(organization, application, parent) {}; bool event(QEvent * event) { return callbackQSettings_Event(this, this->objectName().toUtf8().data(), event) != 0; }; void timerEvent(QTimerEvent * event) { callbackQSettings_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQSettings_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQSettings_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQSettings_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQSettings_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQSettings_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSettings_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQSettings_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QSettings_NewQSettings3(int format, int scope, char* organization, char* application, void* parent) { return new MyQSettings(static_cast(format), static_cast(scope), QString(organization), QString(application), static_cast(parent)); } void* QSettings_NewQSettings5(void* parent) { return new MyQSettings(static_cast(parent)); } void* QSettings_NewQSettings2(int scope, char* organization, char* application, void* parent) { return new MyQSettings(static_cast(scope), QString(organization), QString(application), static_cast(parent)); } void* QSettings_NewQSettings4(char* fileName, int format, void* parent) { return new MyQSettings(QString(fileName), static_cast(format), static_cast(parent)); } void* QSettings_NewQSettings(char* organization, char* application, void* parent) { return new MyQSettings(QString(organization), QString(application), static_cast(parent)); } char* QSettings_AllKeys(void* ptr) { return static_cast(ptr)->allKeys().join("|").toUtf8().data(); } char* QSettings_ApplicationName(void* ptr) { return static_cast(ptr)->applicationName().toUtf8().data(); } void QSettings_BeginGroup(void* ptr, char* prefix) { static_cast(ptr)->beginGroup(QString(prefix)); } int QSettings_BeginReadArray(void* ptr, char* prefix) { return static_cast(ptr)->beginReadArray(QString(prefix)); } void QSettings_BeginWriteArray(void* ptr, char* prefix, int size) { static_cast(ptr)->beginWriteArray(QString(prefix), size); } char* QSettings_ChildGroups(void* ptr) { return static_cast(ptr)->childGroups().join("|").toUtf8().data(); } char* QSettings_ChildKeys(void* ptr) { return static_cast(ptr)->childKeys().join("|").toUtf8().data(); } void QSettings_Clear(void* ptr) { static_cast(ptr)->clear(); } int QSettings_Contains(void* ptr, char* key) { return static_cast(ptr)->contains(QString(key)); } int QSettings_QSettings_DefaultFormat() { return QSettings::defaultFormat(); } void QSettings_EndArray(void* ptr) { static_cast(ptr)->endArray(); } void QSettings_EndGroup(void* ptr) { static_cast(ptr)->endGroup(); } int QSettings_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } int QSettings_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QSettings::event(static_cast(event)); } int QSettings_FallbacksEnabled(void* ptr) { return static_cast(ptr)->fallbacksEnabled(); } char* QSettings_FileName(void* ptr) { return static_cast(ptr)->fileName().toUtf8().data(); } int QSettings_Format(void* ptr) { return static_cast(ptr)->format(); } char* QSettings_Group(void* ptr) { return static_cast(ptr)->group().toUtf8().data(); } void* QSettings_IniCodec(void* ptr) { return static_cast(ptr)->iniCodec(); } int QSettings_IsWritable(void* ptr) { return static_cast(ptr)->isWritable(); } char* QSettings_OrganizationName(void* ptr) { return static_cast(ptr)->organizationName().toUtf8().data(); } void QSettings_Remove(void* ptr, char* key) { static_cast(ptr)->remove(QString(key)); } int QSettings_Scope(void* ptr) { return static_cast(ptr)->scope(); } void QSettings_SetArrayIndex(void* ptr, int i) { static_cast(ptr)->setArrayIndex(i); } void QSettings_QSettings_SetDefaultFormat(int format) { QSettings::setDefaultFormat(static_cast(format)); } void QSettings_SetFallbacksEnabled(void* ptr, int b) { static_cast(ptr)->setFallbacksEnabled(b != 0); } void QSettings_SetIniCodec(void* ptr, void* codec) { static_cast(ptr)->setIniCodec(static_cast(codec)); } void QSettings_SetIniCodec2(void* ptr, char* codecName) { static_cast(ptr)->setIniCodec(const_cast(codecName)); } void QSettings_QSettings_SetPath(int format, int scope, char* path) { QSettings::setPath(static_cast(format), static_cast(scope), QString(path)); } void QSettings_SetValue(void* ptr, char* key, void* value) { static_cast(ptr)->setValue(QString(key), *static_cast(value)); } int QSettings_Status(void* ptr) { return static_cast(ptr)->status(); } void QSettings_Sync(void* ptr) { static_cast(ptr)->sync(); } void* QSettings_Value(void* ptr, char* key, void* defaultValue) { return new QVariant(static_cast(ptr)->value(QString(key), *static_cast(defaultValue))); } void QSettings_DestroyQSettings(void* ptr) { static_cast(ptr)->~QSettings(); } void QSettings_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QSettings_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QSettings::timerEvent(static_cast(event)); } void QSettings_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QSettings_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QSettings::childEvent(static_cast(event)); } void QSettings_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QSettings_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSettings::connectNotify(*static_cast(sign)); } void QSettings_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QSettings_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QSettings::customEvent(static_cast(event)); } void QSettings_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QSettings_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QSettings::deleteLater(); } void QSettings_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QSettings_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSettings::disconnectNotify(*static_cast(sign)); } int QSettings_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QSettings_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QSettings::eventFilter(static_cast(watched), static_cast(event)); } void* QSettings_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QSettings_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QSettings::metaObject()); } void* QSharedData_NewQSharedData() { return new QSharedData(); } void* QSharedData_NewQSharedData2(void* other) { return new QSharedData(*static_cast(other)); } void* QSharedMemory_NewQSharedMemory2(void* parent) { return new QSharedMemory(static_cast(parent)); } void* QSharedMemory_NewQSharedMemory(char* key, void* parent) { return new QSharedMemory(QString(key), static_cast(parent)); } int QSharedMemory_Attach(void* ptr, int mode) { return static_cast(ptr)->attach(static_cast(mode)); } void* QSharedMemory_ConstData(void* ptr) { return const_cast(static_cast(ptr)->constData()); } int QSharedMemory_Create(void* ptr, int size, int mode) { return static_cast(ptr)->create(size, static_cast(mode)); } void* QSharedMemory_Data(void* ptr) { return static_cast(ptr)->data(); } void* QSharedMemory_Data2(void* ptr) { return const_cast(static_cast(ptr)->data()); } int QSharedMemory_Detach(void* ptr) { return static_cast(ptr)->detach(); } int QSharedMemory_Error(void* ptr) { return static_cast(ptr)->error(); } char* QSharedMemory_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } int QSharedMemory_IsAttached(void* ptr) { return static_cast(ptr)->isAttached(); } char* QSharedMemory_Key(void* ptr) { return static_cast(ptr)->key().toUtf8().data(); } int QSharedMemory_Lock(void* ptr) { return static_cast(ptr)->lock(); } char* QSharedMemory_NativeKey(void* ptr) { return static_cast(ptr)->nativeKey().toUtf8().data(); } void QSharedMemory_SetKey(void* ptr, char* key) { static_cast(ptr)->setKey(QString(key)); } void QSharedMemory_SetNativeKey(void* ptr, char* key) { static_cast(ptr)->setNativeKey(QString(key)); } int QSharedMemory_Size(void* ptr) { return static_cast(ptr)->size(); } int QSharedMemory_Unlock(void* ptr) { return static_cast(ptr)->unlock(); } void QSharedMemory_DestroyQSharedMemory(void* ptr) { static_cast(ptr)->~QSharedMemory(); } void QSharedMemory_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QSharedMemory_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QSharedMemory::timerEvent(static_cast(event)); } void QSharedMemory_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QSharedMemory_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QSharedMemory::childEvent(static_cast(event)); } void QSharedMemory_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QSharedMemory_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSharedMemory::connectNotify(*static_cast(sign)); } void QSharedMemory_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QSharedMemory_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QSharedMemory::customEvent(static_cast(event)); } void QSharedMemory_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QSharedMemory_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QSharedMemory::deleteLater(); } void QSharedMemory_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QSharedMemory_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSharedMemory::disconnectNotify(*static_cast(sign)); } int QSharedMemory_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QSharedMemory_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QSharedMemory::event(static_cast(e)); } int QSharedMemory_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QSharedMemory_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QSharedMemory::eventFilter(static_cast(watched), static_cast(event)); } void* QSharedMemory_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QSharedMemory_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QSharedMemory::metaObject()); } void* QSignalBlocker_NewQSignalBlocker3(void* object) { return new QSignalBlocker(*static_cast(object)); } void* QSignalBlocker_NewQSignalBlocker(void* object) { return new QSignalBlocker(static_cast(object)); } void QSignalBlocker_Reblock(void* ptr) { static_cast(ptr)->reblock(); } void QSignalBlocker_Unblock(void* ptr) { static_cast(ptr)->unblock(); } void QSignalBlocker_DestroyQSignalBlocker(void* ptr) { static_cast(ptr)->~QSignalBlocker(); } class MyQSignalMapper: public QSignalMapper { public: MyQSignalMapper(QObject *parent) : QSignalMapper(parent) {}; void map() { callbackQSignalMapper_Map(this, this->objectName().toUtf8().data()); }; void map(QObject * sender) { callbackQSignalMapper_Map2(this, this->objectName().toUtf8().data(), sender); }; void Signal_Mapped4(QObject * object) { callbackQSignalMapper_Mapped4(this, this->objectName().toUtf8().data(), object); }; void Signal_Mapped3(QWidget * widget) { callbackQSignalMapper_Mapped3(this, this->objectName().toUtf8().data(), widget); }; void Signal_Mapped2(const QString & text) { callbackQSignalMapper_Mapped2(this, this->objectName().toUtf8().data(), text.toUtf8().data()); }; void Signal_Mapped(int i) { callbackQSignalMapper_Mapped(this, this->objectName().toUtf8().data(), i); }; void timerEvent(QTimerEvent * event) { callbackQSignalMapper_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQSignalMapper_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQSignalMapper_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQSignalMapper_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQSignalMapper_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQSignalMapper_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQSignalMapper_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSignalMapper_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQSignalMapper_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QSignalMapper_NewQSignalMapper(void* parent) { return new MyQSignalMapper(static_cast(parent)); } void QSignalMapper_Map(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "map"); } void QSignalMapper_Map2(void* ptr, void* sender) { QMetaObject::invokeMethod(static_cast(ptr), "map", Q_ARG(QObject*, static_cast(sender))); } void QSignalMapper_ConnectMapped4(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QSignalMapper::mapped), static_cast(ptr), static_cast(&MyQSignalMapper::Signal_Mapped4)); } void QSignalMapper_DisconnectMapped4(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSignalMapper::mapped), static_cast(ptr), static_cast(&MyQSignalMapper::Signal_Mapped4)); } void QSignalMapper_Mapped4(void* ptr, void* object) { static_cast(ptr)->mapped(static_cast(object)); } void QSignalMapper_ConnectMapped3(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QSignalMapper::mapped), static_cast(ptr), static_cast(&MyQSignalMapper::Signal_Mapped3)); } void QSignalMapper_DisconnectMapped3(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSignalMapper::mapped), static_cast(ptr), static_cast(&MyQSignalMapper::Signal_Mapped3)); } void QSignalMapper_Mapped3(void* ptr, void* widget) { static_cast(ptr)->mapped(static_cast(widget)); } void QSignalMapper_ConnectMapped2(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QSignalMapper::mapped), static_cast(ptr), static_cast(&MyQSignalMapper::Signal_Mapped2)); } void QSignalMapper_DisconnectMapped2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSignalMapper::mapped), static_cast(ptr), static_cast(&MyQSignalMapper::Signal_Mapped2)); } void QSignalMapper_Mapped2(void* ptr, char* text) { static_cast(ptr)->mapped(QString(text)); } void QSignalMapper_ConnectMapped(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QSignalMapper::mapped), static_cast(ptr), static_cast(&MyQSignalMapper::Signal_Mapped)); } void QSignalMapper_DisconnectMapped(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSignalMapper::mapped), static_cast(ptr), static_cast(&MyQSignalMapper::Signal_Mapped)); } void QSignalMapper_Mapped(void* ptr, int i) { static_cast(ptr)->mapped(i); } void* QSignalMapper_Mapping4(void* ptr, void* object) { return static_cast(ptr)->mapping(static_cast(object)); } void* QSignalMapper_Mapping3(void* ptr, void* widget) { return static_cast(ptr)->mapping(static_cast(widget)); } void* QSignalMapper_Mapping2(void* ptr, char* id) { return static_cast(ptr)->mapping(QString(id)); } void* QSignalMapper_Mapping(void* ptr, int id) { return static_cast(ptr)->mapping(id); } void QSignalMapper_RemoveMappings(void* ptr, void* sender) { static_cast(ptr)->removeMappings(static_cast(sender)); } void QSignalMapper_SetMapping4(void* ptr, void* sender, void* object) { static_cast(ptr)->setMapping(static_cast(sender), static_cast(object)); } void QSignalMapper_SetMapping3(void* ptr, void* sender, void* widget) { static_cast(ptr)->setMapping(static_cast(sender), static_cast(widget)); } void QSignalMapper_SetMapping2(void* ptr, void* sender, char* text) { static_cast(ptr)->setMapping(static_cast(sender), QString(text)); } void QSignalMapper_SetMapping(void* ptr, void* sender, int id) { static_cast(ptr)->setMapping(static_cast(sender), id); } void QSignalMapper_DestroyQSignalMapper(void* ptr) { static_cast(ptr)->~QSignalMapper(); } void QSignalMapper_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QSignalMapper_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QSignalMapper::timerEvent(static_cast(event)); } void QSignalMapper_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QSignalMapper_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QSignalMapper::childEvent(static_cast(event)); } void QSignalMapper_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QSignalMapper_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSignalMapper::connectNotify(*static_cast(sign)); } void QSignalMapper_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QSignalMapper_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QSignalMapper::customEvent(static_cast(event)); } void QSignalMapper_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QSignalMapper_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QSignalMapper::deleteLater(); } void QSignalMapper_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QSignalMapper_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSignalMapper::disconnectNotify(*static_cast(sign)); } int QSignalMapper_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QSignalMapper_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QSignalMapper::event(static_cast(e)); } int QSignalMapper_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QSignalMapper_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QSignalMapper::eventFilter(static_cast(watched), static_cast(event)); } void* QSignalMapper_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QSignalMapper_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QSignalMapper::metaObject()); } class MyQSignalTransition: public QSignalTransition { public: MyQSignalTransition(QState *sourceState) : QSignalTransition(sourceState) {}; MyQSignalTransition(const QObject *sender, const char *signal, QState *sourceState) : QSignalTransition(sender, signal, sourceState) {}; bool event(QEvent * e) { return callbackQSignalTransition_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventTest(QEvent * event) { return callbackQSignalTransition_EventTest(this, this->objectName().toUtf8().data(), event) != 0; }; void onTransition(QEvent * event) { callbackQSignalTransition_OnTransition(this, this->objectName().toUtf8().data(), event); }; void Signal_SenderObjectChanged() { callbackQSignalTransition_SenderObjectChanged(this, this->objectName().toUtf8().data()); }; void Signal_SignalChanged() { callbackQSignalTransition_SignalChanged(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQSignalTransition_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQSignalTransition_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQSignalTransition_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQSignalTransition_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQSignalTransition_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQSignalTransition_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSignalTransition_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQSignalTransition_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QSignalTransition_NewQSignalTransition(void* sourceState) { return new MyQSignalTransition(static_cast(sourceState)); } void* QSignalTransition_NewQSignalTransition2(void* sender, char* sign, void* sourceState) { return new MyQSignalTransition(static_cast(sender), const_cast(sign), static_cast(sourceState)); } int QSignalTransition_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QSignalTransition_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QSignalTransition::event(static_cast(e)); } int QSignalTransition_EventTest(void* ptr, void* event) { return static_cast(ptr)->eventTest(static_cast(event)); } int QSignalTransition_EventTestDefault(void* ptr, void* event) { return static_cast(ptr)->QSignalTransition::eventTest(static_cast(event)); } void QSignalTransition_OnTransition(void* ptr, void* event) { static_cast(ptr)->onTransition(static_cast(event)); } void QSignalTransition_OnTransitionDefault(void* ptr, void* event) { static_cast(ptr)->QSignalTransition::onTransition(static_cast(event)); } void* QSignalTransition_SenderObject(void* ptr) { return static_cast(ptr)->senderObject(); } void QSignalTransition_ConnectSenderObjectChanged(void* ptr) { QObject::connect(static_cast(ptr), &QSignalTransition::senderObjectChanged, static_cast(ptr), static_cast(&MyQSignalTransition::Signal_SenderObjectChanged)); } void QSignalTransition_DisconnectSenderObjectChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QSignalTransition::senderObjectChanged, static_cast(ptr), static_cast(&MyQSignalTransition::Signal_SenderObjectChanged)); } void QSignalTransition_SetSenderObject(void* ptr, void* sender) { static_cast(ptr)->setSenderObject(static_cast(sender)); } void QSignalTransition_SetSignal(void* ptr, char* sign) { static_cast(ptr)->setSignal(QByteArray(sign)); } char* QSignalTransition_Signal(void* ptr) { return QString(static_cast(ptr)->signal()).toUtf8().data(); } void QSignalTransition_ConnectSignalChanged(void* ptr) { QObject::connect(static_cast(ptr), &QSignalTransition::signalChanged, static_cast(ptr), static_cast(&MyQSignalTransition::Signal_SignalChanged)); } void QSignalTransition_DisconnectSignalChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QSignalTransition::signalChanged, static_cast(ptr), static_cast(&MyQSignalTransition::Signal_SignalChanged)); } void QSignalTransition_DestroyQSignalTransition(void* ptr) { static_cast(ptr)->~QSignalTransition(); } void QSignalTransition_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QSignalTransition_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QSignalTransition::timerEvent(static_cast(event)); } void QSignalTransition_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QSignalTransition_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QSignalTransition::childEvent(static_cast(event)); } void QSignalTransition_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QSignalTransition_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSignalTransition::connectNotify(*static_cast(sign)); } void QSignalTransition_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QSignalTransition_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QSignalTransition::customEvent(static_cast(event)); } void QSignalTransition_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QSignalTransition_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QSignalTransition::deleteLater(); } void QSignalTransition_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QSignalTransition_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSignalTransition::disconnectNotify(*static_cast(sign)); } int QSignalTransition_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QSignalTransition_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QSignalTransition::eventFilter(static_cast(watched), static_cast(event)); } void* QSignalTransition_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QSignalTransition_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QSignalTransition::metaObject()); } void* QSize_NewQSize() { return new QSize(); } void* QSize_NewQSize2(int width, int height) { return new QSize(width, height); } void* QSize_BoundedTo(void* ptr, void* otherSize) { return new QSize(static_cast(static_cast(ptr)->boundedTo(*static_cast(otherSize))).width(), static_cast(static_cast(ptr)->boundedTo(*static_cast(otherSize))).height()); } void* QSize_ExpandedTo(void* ptr, void* otherSize) { return new QSize(static_cast(static_cast(ptr)->expandedTo(*static_cast(otherSize))).width(), static_cast(static_cast(ptr)->expandedTo(*static_cast(otherSize))).height()); } int QSize_Height(void* ptr) { return static_cast(ptr)->height(); } int QSize_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QSize_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QSize_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QSize_Rheight(void* ptr) { return static_cast(ptr)->rheight(); } int QSize_Rwidth(void* ptr) { return static_cast(ptr)->rwidth(); } void QSize_Scale2(void* ptr, void* size, int mode) { static_cast(ptr)->scale(*static_cast(size), static_cast(mode)); } void QSize_Scale(void* ptr, int width, int height, int mode) { static_cast(ptr)->scale(width, height, static_cast(mode)); } void* QSize_Scaled2(void* ptr, void* s, int mode) { return new QSize(static_cast(static_cast(ptr)->scaled(*static_cast(s), static_cast(mode))).width(), static_cast(static_cast(ptr)->scaled(*static_cast(s), static_cast(mode))).height()); } void* QSize_Scaled(void* ptr, int width, int height, int mode) { return new QSize(static_cast(static_cast(ptr)->scaled(width, height, static_cast(mode))).width(), static_cast(static_cast(ptr)->scaled(width, height, static_cast(mode))).height()); } void QSize_SetHeight(void* ptr, int height) { static_cast(ptr)->setHeight(height); } void QSize_SetWidth(void* ptr, int width) { static_cast(ptr)->setWidth(width); } void QSize_Transpose(void* ptr) { static_cast(ptr)->transpose(); } void* QSize_Transposed(void* ptr) { return new QSize(static_cast(static_cast(ptr)->transposed()).width(), static_cast(static_cast(ptr)->transposed()).height()); } int QSize_Width(void* ptr) { return static_cast(ptr)->width(); } void* QSizeF_NewQSizeF() { return new QSizeF(); } void* QSizeF_NewQSizeF2(void* size) { return new QSizeF(*static_cast(size)); } void* QSizeF_NewQSizeF3(double width, double height) { return new QSizeF(static_cast(width), static_cast(height)); } void* QSizeF_BoundedTo(void* ptr, void* otherSize) { return new QSizeF(static_cast(static_cast(ptr)->boundedTo(*static_cast(otherSize))).width(), static_cast(static_cast(ptr)->boundedTo(*static_cast(otherSize))).height()); } void* QSizeF_ExpandedTo(void* ptr, void* otherSize) { return new QSizeF(static_cast(static_cast(ptr)->expandedTo(*static_cast(otherSize))).width(), static_cast(static_cast(ptr)->expandedTo(*static_cast(otherSize))).height()); } double QSizeF_Height(void* ptr) { return static_cast(static_cast(ptr)->height()); } int QSizeF_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QSizeF_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QSizeF_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } double QSizeF_Rheight(void* ptr) { return static_cast(static_cast(ptr)->rheight()); } double QSizeF_Rwidth(void* ptr) { return static_cast(static_cast(ptr)->rwidth()); } void QSizeF_Scale2(void* ptr, void* size, int mode) { static_cast(ptr)->scale(*static_cast(size), static_cast(mode)); } void QSizeF_Scale(void* ptr, double width, double height, int mode) { static_cast(ptr)->scale(static_cast(width), static_cast(height), static_cast(mode)); } void* QSizeF_Scaled2(void* ptr, void* s, int mode) { return new QSizeF(static_cast(static_cast(ptr)->scaled(*static_cast(s), static_cast(mode))).width(), static_cast(static_cast(ptr)->scaled(*static_cast(s), static_cast(mode))).height()); } void* QSizeF_Scaled(void* ptr, double width, double height, int mode) { return new QSizeF(static_cast(static_cast(ptr)->scaled(static_cast(width), static_cast(height), static_cast(mode))).width(), static_cast(static_cast(ptr)->scaled(static_cast(width), static_cast(height), static_cast(mode))).height()); } void QSizeF_SetHeight(void* ptr, double height) { static_cast(ptr)->setHeight(static_cast(height)); } void QSizeF_SetWidth(void* ptr, double width) { static_cast(ptr)->setWidth(static_cast(width)); } void* QSizeF_ToSize(void* ptr) { return new QSize(static_cast(static_cast(ptr)->toSize()).width(), static_cast(static_cast(ptr)->toSize()).height()); } void QSizeF_Transpose(void* ptr) { static_cast(ptr)->transpose(); } void* QSizeF_Transposed(void* ptr) { return new QSizeF(static_cast(static_cast(ptr)->transposed()).width(), static_cast(static_cast(ptr)->transposed()).height()); } double QSizeF_Width(void* ptr) { return static_cast(static_cast(ptr)->width()); } class MyQSocketNotifier: public QSocketNotifier { public: void Signal_Activated(int socket) { callbackQSocketNotifier_Activated(this, this->objectName().toUtf8().data(), socket); }; bool event(QEvent * e) { return callbackQSocketNotifier_Event(this, this->objectName().toUtf8().data(), e) != 0; }; void setEnabled(bool enable) { callbackQSocketNotifier_SetEnabled(this, this->objectName().toUtf8().data(), enable); }; void timerEvent(QTimerEvent * event) { callbackQSocketNotifier_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQSocketNotifier_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQSocketNotifier_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQSocketNotifier_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQSocketNotifier_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQSocketNotifier_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSocketNotifier_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQSocketNotifier_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void QSocketNotifier_ConnectActivated(void* ptr) { QObject::connect(static_cast(ptr), &QSocketNotifier::activated, static_cast(ptr), static_cast(&MyQSocketNotifier::Signal_Activated)); } void QSocketNotifier_DisconnectActivated(void* ptr) { QObject::disconnect(static_cast(ptr), &QSocketNotifier::activated, static_cast(ptr), static_cast(&MyQSocketNotifier::Signal_Activated)); } int QSocketNotifier_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QSocketNotifier_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QSocketNotifier::event(static_cast(e)); } int QSocketNotifier_IsEnabled(void* ptr) { return static_cast(ptr)->isEnabled(); } void QSocketNotifier_SetEnabled(void* ptr, int enable) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, enable != 0)); } int QSocketNotifier_Type(void* ptr) { return static_cast(ptr)->type(); } void QSocketNotifier_DestroyQSocketNotifier(void* ptr) { static_cast(ptr)->~QSocketNotifier(); } void QSocketNotifier_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QSocketNotifier_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QSocketNotifier::timerEvent(static_cast(event)); } void QSocketNotifier_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QSocketNotifier_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QSocketNotifier::childEvent(static_cast(event)); } void QSocketNotifier_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QSocketNotifier_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSocketNotifier::connectNotify(*static_cast(sign)); } void QSocketNotifier_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QSocketNotifier_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QSocketNotifier::customEvent(static_cast(event)); } void QSocketNotifier_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QSocketNotifier_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QSocketNotifier::deleteLater(); } void QSocketNotifier_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QSocketNotifier_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSocketNotifier::disconnectNotify(*static_cast(sign)); } int QSocketNotifier_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QSocketNotifier_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QSocketNotifier::eventFilter(static_cast(watched), static_cast(event)); } void* QSocketNotifier_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QSocketNotifier_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QSocketNotifier::metaObject()); } class MyQSortFilterProxyModel: public QSortFilterProxyModel { public: MyQSortFilterProxyModel(QObject *parent) : QSortFilterProxyModel(parent) {}; QModelIndex buddy(const QModelIndex & index) const { return *static_cast(callbackQSortFilterProxyModel_Buddy(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool canFetchMore(const QModelIndex & parent) const { return callbackQSortFilterProxyModel_CanFetchMore(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; int columnCount(const QModelIndex & parent) const { return callbackQSortFilterProxyModel_ColumnCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; QVariant data(const QModelIndex & index, int role) const { return *static_cast(callbackQSortFilterProxyModel_Data(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index), role)); }; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQSortFilterProxyModel_DropMimeData(this, this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; void fetchMore(const QModelIndex & parent) { callbackQSortFilterProxyModel_FetchMore(this, this->objectName().toUtf8().data(), new QModelIndex(parent)); }; bool filterAcceptsColumn(int source_column, const QModelIndex & source_parent) const { return callbackQSortFilterProxyModel_FilterAcceptsColumn(const_cast(this), this->objectName().toUtf8().data(), source_column, new QModelIndex(source_parent)) != 0; }; bool filterAcceptsRow(int source_row, const QModelIndex & source_parent) const { return callbackQSortFilterProxyModel_FilterAcceptsRow(const_cast(this), this->objectName().toUtf8().data(), source_row, new QModelIndex(source_parent)) != 0; }; Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast(callbackQSortFilterProxyModel_Flags(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool hasChildren(const QModelIndex & parent) const { return callbackQSortFilterProxyModel_HasChildren(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast(callbackQSortFilterProxyModel_HeaderData(const_cast(this), this->objectName().toUtf8().data(), section, orientation, role)); }; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQSortFilterProxyModel_Index(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(parent))); }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQSortFilterProxyModel_InsertColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQSortFilterProxyModel_InsertRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; void invalidate() { callbackQSortFilterProxyModel_Invalidate(this, this->objectName().toUtf8().data()); }; bool lessThan(const QModelIndex & source_left, const QModelIndex & source_right) const { return callbackQSortFilterProxyModel_LessThan(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(source_left), new QModelIndex(source_right)) != 0; }; QModelIndex mapFromSource(const QModelIndex & sourceIndex) const { return *static_cast(callbackQSortFilterProxyModel_MapFromSource(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(sourceIndex))); }; QItemSelection mapSelectionFromSource(const QItemSelection & sourceSelection) const { return *static_cast(callbackQSortFilterProxyModel_MapSelectionFromSource(const_cast(this), this->objectName().toUtf8().data(), new QItemSelection(sourceSelection))); }; QItemSelection mapSelectionToSource(const QItemSelection & proxySelection) const { return *static_cast(callbackQSortFilterProxyModel_MapSelectionToSource(const_cast(this), this->objectName().toUtf8().data(), new QItemSelection(proxySelection))); }; QModelIndex mapToSource(const QModelIndex & proxyIndex) const { return *static_cast(callbackQSortFilterProxyModel_MapToSource(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(proxyIndex))); }; QStringList mimeTypes() const { return QString(callbackQSortFilterProxyModel_MimeTypes(const_cast(this), this->objectName().toUtf8().data())).split("|", QString::SkipEmptyParts); }; QModelIndex parent(const QModelIndex & child) const { return *static_cast(callbackQSortFilterProxyModel_Parent(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(child))); }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQSortFilterProxyModel_RemoveColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQSortFilterProxyModel_RemoveRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; int rowCount(const QModelIndex & parent) const { return callbackQSortFilterProxyModel_RowCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQSortFilterProxyModel_SetData(this, this->objectName().toUtf8().data(), new QModelIndex(index), new QVariant(value), role) != 0; }; void setFilterFixedString(const QString & pattern) { callbackQSortFilterProxyModel_SetFilterFixedString(this, this->objectName().toUtf8().data(), pattern.toUtf8().data()); }; void setFilterRegExp(const QString & pattern) { callbackQSortFilterProxyModel_SetFilterRegExp2(this, this->objectName().toUtf8().data(), pattern.toUtf8().data()); }; void setFilterWildcard(const QString & pattern) { callbackQSortFilterProxyModel_SetFilterWildcard(this, this->objectName().toUtf8().data(), pattern.toUtf8().data()); }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQSortFilterProxyModel_SetHeaderData(this, this->objectName().toUtf8().data(), section, orientation, new QVariant(value), role) != 0; }; void setSourceModel(QAbstractItemModel * sourceModel) { callbackQSortFilterProxyModel_SetSourceModel(this, this->objectName().toUtf8().data(), sourceModel); }; QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast(callbackQSortFilterProxyModel_Sibling(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(idx))); }; void sort(int column, Qt::SortOrder order) { callbackQSortFilterProxyModel_Sort(this, this->objectName().toUtf8().data(), column, order); }; QSize span(const QModelIndex & index) const { return *static_cast(callbackQSortFilterProxyModel_Span(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQSortFilterProxyModel_SupportedDropActions(const_cast(this), this->objectName().toUtf8().data())); }; bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQSortFilterProxyModel_CanDropMimeData(const_cast(this), this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; void resetInternalData() { callbackQSortFilterProxyModel_ResetInternalData(this, this->objectName().toUtf8().data()); }; void revert() { callbackQSortFilterProxyModel_Revert(this, this->objectName().toUtf8().data()); }; bool submit() { return callbackQSortFilterProxyModel_Submit(this, this->objectName().toUtf8().data()) != 0; }; Qt::DropActions supportedDragActions() const { return static_cast(callbackQSortFilterProxyModel_SupportedDragActions(const_cast(this), this->objectName().toUtf8().data())); }; bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQSortFilterProxyModel_MoveColumns(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceColumn, count, new QModelIndex(destinationParent), destinationChild) != 0; }; bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQSortFilterProxyModel_MoveRows(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceRow, count, new QModelIndex(destinationParent), destinationChild) != 0; }; void timerEvent(QTimerEvent * event) { callbackQSortFilterProxyModel_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQSortFilterProxyModel_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQSortFilterProxyModel_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQSortFilterProxyModel_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQSortFilterProxyModel_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQSortFilterProxyModel_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQSortFilterProxyModel_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSortFilterProxyModel_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQSortFilterProxyModel_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; int QSortFilterProxyModel_DynamicSortFilter(void* ptr) { return static_cast(ptr)->dynamicSortFilter(); } int QSortFilterProxyModel_FilterCaseSensitivity(void* ptr) { return static_cast(ptr)->filterCaseSensitivity(); } int QSortFilterProxyModel_FilterKeyColumn(void* ptr) { return static_cast(ptr)->filterKeyColumn(); } void* QSortFilterProxyModel_FilterRegExp(void* ptr) { return new QRegExp(static_cast(ptr)->filterRegExp()); } int QSortFilterProxyModel_FilterRole(void* ptr) { return static_cast(ptr)->filterRole(); } int QSortFilterProxyModel_IsSortLocaleAware(void* ptr) { return static_cast(ptr)->isSortLocaleAware(); } void QSortFilterProxyModel_SetDynamicSortFilter(void* ptr, int enable) { static_cast(ptr)->setDynamicSortFilter(enable != 0); } void QSortFilterProxyModel_SetFilterCaseSensitivity(void* ptr, int cs) { static_cast(ptr)->setFilterCaseSensitivity(static_cast(cs)); } void QSortFilterProxyModel_SetFilterKeyColumn(void* ptr, int column) { static_cast(ptr)->setFilterKeyColumn(column); } void QSortFilterProxyModel_SetFilterRegExp(void* ptr, void* regExp) { static_cast(ptr)->setFilterRegExp(*static_cast(regExp)); } void QSortFilterProxyModel_SetFilterRole(void* ptr, int role) { static_cast(ptr)->setFilterRole(role); } void QSortFilterProxyModel_SetSortCaseSensitivity(void* ptr, int cs) { static_cast(ptr)->setSortCaseSensitivity(static_cast(cs)); } void QSortFilterProxyModel_SetSortLocaleAware(void* ptr, int on) { static_cast(ptr)->setSortLocaleAware(on != 0); } void QSortFilterProxyModel_SetSortRole(void* ptr, int role) { static_cast(ptr)->setSortRole(role); } int QSortFilterProxyModel_SortCaseSensitivity(void* ptr) { return static_cast(ptr)->sortCaseSensitivity(); } int QSortFilterProxyModel_SortRole(void* ptr) { return static_cast(ptr)->sortRole(); } void* QSortFilterProxyModel_NewQSortFilterProxyModel(void* parent) { return new MyQSortFilterProxyModel(static_cast(parent)); } void* QSortFilterProxyModel_Buddy(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->buddy(*static_cast(index))); } void* QSortFilterProxyModel_BuddyDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QSortFilterProxyModel::buddy(*static_cast(index))); } int QSortFilterProxyModel_CanFetchMore(void* ptr, void* parent) { return static_cast(ptr)->canFetchMore(*static_cast(parent)); } int QSortFilterProxyModel_CanFetchMoreDefault(void* ptr, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::canFetchMore(*static_cast(parent)); } int QSortFilterProxyModel_ColumnCount(void* ptr, void* parent) { return static_cast(ptr)->columnCount(*static_cast(parent)); } int QSortFilterProxyModel_ColumnCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::columnCount(*static_cast(parent)); } void* QSortFilterProxyModel_Data(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->data(*static_cast(index), role)); } void* QSortFilterProxyModel_DataDefault(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->QSortFilterProxyModel::data(*static_cast(index), role)); } int QSortFilterProxyModel_DropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QSortFilterProxyModel_DropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } void QSortFilterProxyModel_FetchMore(void* ptr, void* parent) { static_cast(ptr)->fetchMore(*static_cast(parent)); } void QSortFilterProxyModel_FetchMoreDefault(void* ptr, void* parent) { static_cast(ptr)->QSortFilterProxyModel::fetchMore(*static_cast(parent)); } int QSortFilterProxyModel_FilterAcceptsColumn(void* ptr, int source_column, void* source_parent) { return static_cast(ptr)->filterAcceptsColumn(source_column, *static_cast(source_parent)); } int QSortFilterProxyModel_FilterAcceptsColumnDefault(void* ptr, int source_column, void* source_parent) { return static_cast(ptr)->QSortFilterProxyModel::filterAcceptsColumn(source_column, *static_cast(source_parent)); } int QSortFilterProxyModel_FilterAcceptsRow(void* ptr, int source_row, void* source_parent) { return static_cast(ptr)->filterAcceptsRow(source_row, *static_cast(source_parent)); } int QSortFilterProxyModel_FilterAcceptsRowDefault(void* ptr, int source_row, void* source_parent) { return static_cast(ptr)->QSortFilterProxyModel::filterAcceptsRow(source_row, *static_cast(source_parent)); } int QSortFilterProxyModel_Flags(void* ptr, void* index) { return static_cast(ptr)->flags(*static_cast(index)); } int QSortFilterProxyModel_FlagsDefault(void* ptr, void* index) { return static_cast(ptr)->QSortFilterProxyModel::flags(*static_cast(index)); } int QSortFilterProxyModel_HasChildren(void* ptr, void* parent) { return static_cast(ptr)->hasChildren(*static_cast(parent)); } int QSortFilterProxyModel_HasChildrenDefault(void* ptr, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::hasChildren(*static_cast(parent)); } void* QSortFilterProxyModel_HeaderData(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->headerData(section, static_cast(orientation), role)); } void* QSortFilterProxyModel_HeaderDataDefault(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->QSortFilterProxyModel::headerData(section, static_cast(orientation), role)); } void* QSortFilterProxyModel_Index(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->index(row, column, *static_cast(parent))); } void* QSortFilterProxyModel_IndexDefault(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->QSortFilterProxyModel::index(row, column, *static_cast(parent))); } int QSortFilterProxyModel_InsertColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->insertColumns(column, count, *static_cast(parent)); } int QSortFilterProxyModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::insertColumns(column, count, *static_cast(parent)); } int QSortFilterProxyModel_InsertRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->insertRows(row, count, *static_cast(parent)); } int QSortFilterProxyModel_InsertRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::insertRows(row, count, *static_cast(parent)); } void QSortFilterProxyModel_Invalidate(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "invalidate"); } void QSortFilterProxyModel_InvalidateFilter(void* ptr) { static_cast(ptr)->invalidateFilter(); } int QSortFilterProxyModel_LessThan(void* ptr, void* source_left, void* source_right) { return static_cast(ptr)->lessThan(*static_cast(source_left), *static_cast(source_right)); } int QSortFilterProxyModel_LessThanDefault(void* ptr, void* source_left, void* source_right) { return static_cast(ptr)->QSortFilterProxyModel::lessThan(*static_cast(source_left), *static_cast(source_right)); } void* QSortFilterProxyModel_MapFromSource(void* ptr, void* sourceIndex) { return new QModelIndex(static_cast(ptr)->mapFromSource(*static_cast(sourceIndex))); } void* QSortFilterProxyModel_MapFromSourceDefault(void* ptr, void* sourceIndex) { return new QModelIndex(static_cast(ptr)->QSortFilterProxyModel::mapFromSource(*static_cast(sourceIndex))); } void* QSortFilterProxyModel_MapSelectionFromSource(void* ptr, void* sourceSelection) { return new QItemSelection(static_cast(ptr)->mapSelectionFromSource(*static_cast(sourceSelection))); } void* QSortFilterProxyModel_MapSelectionFromSourceDefault(void* ptr, void* sourceSelection) { return new QItemSelection(static_cast(ptr)->QSortFilterProxyModel::mapSelectionFromSource(*static_cast(sourceSelection))); } void* QSortFilterProxyModel_MapSelectionToSource(void* ptr, void* proxySelection) { return new QItemSelection(static_cast(ptr)->mapSelectionToSource(*static_cast(proxySelection))); } void* QSortFilterProxyModel_MapSelectionToSourceDefault(void* ptr, void* proxySelection) { return new QItemSelection(static_cast(ptr)->QSortFilterProxyModel::mapSelectionToSource(*static_cast(proxySelection))); } void* QSortFilterProxyModel_MapToSource(void* ptr, void* proxyIndex) { return new QModelIndex(static_cast(ptr)->mapToSource(*static_cast(proxyIndex))); } void* QSortFilterProxyModel_MapToSourceDefault(void* ptr, void* proxyIndex) { return new QModelIndex(static_cast(ptr)->QSortFilterProxyModel::mapToSource(*static_cast(proxyIndex))); } char* QSortFilterProxyModel_MimeTypes(void* ptr) { return static_cast(ptr)->mimeTypes().join("|").toUtf8().data(); } char* QSortFilterProxyModel_MimeTypesDefault(void* ptr) { return static_cast(ptr)->QSortFilterProxyModel::mimeTypes().join("|").toUtf8().data(); } void* QSortFilterProxyModel_Parent(void* ptr, void* child) { return new QModelIndex(static_cast(ptr)->parent(*static_cast(child))); } void* QSortFilterProxyModel_ParentDefault(void* ptr, void* child) { return new QModelIndex(static_cast(ptr)->QSortFilterProxyModel::parent(*static_cast(child))); } int QSortFilterProxyModel_RemoveColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->removeColumns(column, count, *static_cast(parent)); } int QSortFilterProxyModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::removeColumns(column, count, *static_cast(parent)); } int QSortFilterProxyModel_RemoveRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->removeRows(row, count, *static_cast(parent)); } int QSortFilterProxyModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::removeRows(row, count, *static_cast(parent)); } int QSortFilterProxyModel_RowCount(void* ptr, void* parent) { return static_cast(ptr)->rowCount(*static_cast(parent)); } int QSortFilterProxyModel_RowCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::rowCount(*static_cast(parent)); } int QSortFilterProxyModel_SetData(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->setData(*static_cast(index), *static_cast(value), role); } int QSortFilterProxyModel_SetDataDefault(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->QSortFilterProxyModel::setData(*static_cast(index), *static_cast(value), role); } void QSortFilterProxyModel_SetFilterFixedString(void* ptr, char* pattern) { QMetaObject::invokeMethod(static_cast(ptr), "setFilterFixedString", Q_ARG(QString, QString(pattern))); } void QSortFilterProxyModel_SetFilterRegExp2(void* ptr, char* pattern) { QMetaObject::invokeMethod(static_cast(ptr), "setFilterRegExp", Q_ARG(QString, QString(pattern))); } void QSortFilterProxyModel_SetFilterWildcard(void* ptr, char* pattern) { QMetaObject::invokeMethod(static_cast(ptr), "setFilterWildcard", Q_ARG(QString, QString(pattern))); } int QSortFilterProxyModel_SetHeaderData(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->setHeaderData(section, static_cast(orientation), *static_cast(value), role); } int QSortFilterProxyModel_SetHeaderDataDefault(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->QSortFilterProxyModel::setHeaderData(section, static_cast(orientation), *static_cast(value), role); } void QSortFilterProxyModel_SetSourceModel(void* ptr, void* sourceModel) { static_cast(ptr)->setSourceModel(static_cast(sourceModel)); } void QSortFilterProxyModel_SetSourceModelDefault(void* ptr, void* sourceModel) { static_cast(ptr)->QSortFilterProxyModel::setSourceModel(static_cast(sourceModel)); } void* QSortFilterProxyModel_Sibling(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->sibling(row, column, *static_cast(idx))); } void* QSortFilterProxyModel_SiblingDefault(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->QSortFilterProxyModel::sibling(row, column, *static_cast(idx))); } void QSortFilterProxyModel_Sort(void* ptr, int column, int order) { static_cast(ptr)->sort(column, static_cast(order)); } void QSortFilterProxyModel_SortDefault(void* ptr, int column, int order) { static_cast(ptr)->QSortFilterProxyModel::sort(column, static_cast(order)); } int QSortFilterProxyModel_SortColumn(void* ptr) { return static_cast(ptr)->sortColumn(); } int QSortFilterProxyModel_SortOrder(void* ptr) { return static_cast(ptr)->sortOrder(); } void* QSortFilterProxyModel_Span(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->span(*static_cast(index))).width(), static_cast(static_cast(ptr)->span(*static_cast(index))).height()); } void* QSortFilterProxyModel_SpanDefault(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->QSortFilterProxyModel::span(*static_cast(index))).width(), static_cast(static_cast(ptr)->QSortFilterProxyModel::span(*static_cast(index))).height()); } int QSortFilterProxyModel_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } int QSortFilterProxyModel_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QSortFilterProxyModel::supportedDropActions(); } void QSortFilterProxyModel_DestroyQSortFilterProxyModel(void* ptr) { static_cast(ptr)->~QSortFilterProxyModel(); } int QSortFilterProxyModel_CanDropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QSortFilterProxyModel_CanDropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QSortFilterProxyModel::canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } void QSortFilterProxyModel_ResetInternalData(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resetInternalData"); } void QSortFilterProxyModel_ResetInternalDataDefault(void* ptr) { static_cast(ptr)->QSortFilterProxyModel::resetInternalData(); } void QSortFilterProxyModel_Revert(void* ptr) { static_cast(ptr)->revert(); } void QSortFilterProxyModel_RevertDefault(void* ptr) { static_cast(ptr)->QSortFilterProxyModel::revert(); } int QSortFilterProxyModel_Submit(void* ptr) { return static_cast(ptr)->submit(); } int QSortFilterProxyModel_SubmitDefault(void* ptr) { return static_cast(ptr)->QSortFilterProxyModel::submit(); } int QSortFilterProxyModel_SupportedDragActions(void* ptr) { return static_cast(ptr)->supportedDragActions(); } int QSortFilterProxyModel_SupportedDragActionsDefault(void* ptr) { return static_cast(ptr)->QSortFilterProxyModel::supportedDragActions(); } int QSortFilterProxyModel_MoveColumns(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QSortFilterProxyModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QSortFilterProxyModel::moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QSortFilterProxyModel_MoveRows(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } int QSortFilterProxyModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QSortFilterProxyModel::moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } void QSortFilterProxyModel_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QSortFilterProxyModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QSortFilterProxyModel::timerEvent(static_cast(event)); } void QSortFilterProxyModel_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QSortFilterProxyModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QSortFilterProxyModel::childEvent(static_cast(event)); } void QSortFilterProxyModel_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QSortFilterProxyModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSortFilterProxyModel::connectNotify(*static_cast(sign)); } void QSortFilterProxyModel_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QSortFilterProxyModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QSortFilterProxyModel::customEvent(static_cast(event)); } void QSortFilterProxyModel_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QSortFilterProxyModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QSortFilterProxyModel::deleteLater(); } void QSortFilterProxyModel_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QSortFilterProxyModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSortFilterProxyModel::disconnectNotify(*static_cast(sign)); } int QSortFilterProxyModel_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QSortFilterProxyModel_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QSortFilterProxyModel::event(static_cast(e)); } int QSortFilterProxyModel_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QSortFilterProxyModel_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QSortFilterProxyModel::eventFilter(static_cast(watched), static_cast(event)); } void* QSortFilterProxyModel_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QSortFilterProxyModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QSortFilterProxyModel::metaObject()); } void QStandardPaths_QStandardPaths_SetTestModeEnabled(int testMode) { QStandardPaths::setTestModeEnabled(testMode != 0); } char* QStandardPaths_QStandardPaths_FindExecutable(char* executableName, char* paths) { return QStandardPaths::findExecutable(QString(executableName), QString(paths).split("|", QString::SkipEmptyParts)).toUtf8().data(); } char* QStandardPaths_QStandardPaths_Locate(int ty, char* fileName, int options) { return QStandardPaths::locate(static_cast(ty), QString(fileName), static_cast(options)).toUtf8().data(); } char* QStandardPaths_QStandardPaths_LocateAll(int ty, char* fileName, int options) { return QStandardPaths::locateAll(static_cast(ty), QString(fileName), static_cast(options)).join("|").toUtf8().data(); } char* QStandardPaths_QStandardPaths_DisplayName(int ty) { return QStandardPaths::displayName(static_cast(ty)).toUtf8().data(); } char* QStandardPaths_QStandardPaths_StandardLocations(int ty) { return QStandardPaths::standardLocations(static_cast(ty)).join("|").toUtf8().data(); } char* QStandardPaths_QStandardPaths_WritableLocation(int ty) { return QStandardPaths::writableLocation(static_cast(ty)).toUtf8().data(); } class MyQState: public QState { public: MyQState(ChildMode childMode, QState *parent) : QState(childMode, parent) {}; MyQState(QState *parent) : QState(parent) {}; void Signal_ChildModeChanged() { callbackQState_ChildModeChanged(this, this->objectName().toUtf8().data()); }; void Signal_ErrorStateChanged() { callbackQState_ErrorStateChanged(this, this->objectName().toUtf8().data()); }; bool event(QEvent * e) { return callbackQState_Event(this, this->objectName().toUtf8().data(), e) != 0; }; void Signal_Finished() { callbackQState_Finished(this, this->objectName().toUtf8().data()); }; void Signal_InitialStateChanged() { callbackQState_InitialStateChanged(this, this->objectName().toUtf8().data()); }; void onEntry(QEvent * event) { callbackQState_OnEntry(this, this->objectName().toUtf8().data(), event); }; void onExit(QEvent * event) { callbackQState_OnExit(this, this->objectName().toUtf8().data(), event); }; void Signal_PropertiesAssigned() { callbackQState_PropertiesAssigned(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQState_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQState_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQState_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQState_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQState_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQState_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQState_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQState_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QState_NewQState2(int childMode, void* parent) { return new MyQState(static_cast(childMode), static_cast(parent)); } void* QState_NewQState(void* parent) { return new MyQState(static_cast(parent)); } void* QState_AddTransition3(void* ptr, void* target) { return static_cast(ptr)->addTransition(static_cast(target)); } void* QState_AddTransition2(void* ptr, void* sender, char* sign, void* target) { return static_cast(ptr)->addTransition(static_cast(sender), const_cast(sign), static_cast(target)); } void QState_AddTransition(void* ptr, void* transition) { static_cast(ptr)->addTransition(static_cast(transition)); } void QState_AssignProperty(void* ptr, void* object, char* name, void* value) { static_cast(ptr)->assignProperty(static_cast(object), const_cast(name), *static_cast(value)); } int QState_ChildMode(void* ptr) { return static_cast(ptr)->childMode(); } void QState_ConnectChildModeChanged(void* ptr) { QObject::connect(static_cast(ptr), &QState::childModeChanged, static_cast(ptr), static_cast(&MyQState::Signal_ChildModeChanged)); } void QState_DisconnectChildModeChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QState::childModeChanged, static_cast(ptr), static_cast(&MyQState::Signal_ChildModeChanged)); } void* QState_ErrorState(void* ptr) { return static_cast(ptr)->errorState(); } void QState_ConnectErrorStateChanged(void* ptr) { QObject::connect(static_cast(ptr), &QState::errorStateChanged, static_cast(ptr), static_cast(&MyQState::Signal_ErrorStateChanged)); } void QState_DisconnectErrorStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QState::errorStateChanged, static_cast(ptr), static_cast(&MyQState::Signal_ErrorStateChanged)); } int QState_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QState_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QState::event(static_cast(e)); } void QState_ConnectFinished(void* ptr) { QObject::connect(static_cast(ptr), &QState::finished, static_cast(ptr), static_cast(&MyQState::Signal_Finished)); } void QState_DisconnectFinished(void* ptr) { QObject::disconnect(static_cast(ptr), &QState::finished, static_cast(ptr), static_cast(&MyQState::Signal_Finished)); } void* QState_InitialState(void* ptr) { return static_cast(ptr)->initialState(); } void QState_ConnectInitialStateChanged(void* ptr) { QObject::connect(static_cast(ptr), &QState::initialStateChanged, static_cast(ptr), static_cast(&MyQState::Signal_InitialStateChanged)); } void QState_DisconnectInitialStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QState::initialStateChanged, static_cast(ptr), static_cast(&MyQState::Signal_InitialStateChanged)); } void QState_OnEntry(void* ptr, void* event) { static_cast(ptr)->onEntry(static_cast(event)); } void QState_OnEntryDefault(void* ptr, void* event) { static_cast(ptr)->QState::onEntry(static_cast(event)); } void QState_OnExit(void* ptr, void* event) { static_cast(ptr)->onExit(static_cast(event)); } void QState_OnExitDefault(void* ptr, void* event) { static_cast(ptr)->QState::onExit(static_cast(event)); } void QState_ConnectPropertiesAssigned(void* ptr) { QObject::connect(static_cast(ptr), &QState::propertiesAssigned, static_cast(ptr), static_cast(&MyQState::Signal_PropertiesAssigned)); } void QState_DisconnectPropertiesAssigned(void* ptr) { QObject::disconnect(static_cast(ptr), &QState::propertiesAssigned, static_cast(ptr), static_cast(&MyQState::Signal_PropertiesAssigned)); } void QState_RemoveTransition(void* ptr, void* transition) { static_cast(ptr)->removeTransition(static_cast(transition)); } void QState_SetChildMode(void* ptr, int mode) { static_cast(ptr)->setChildMode(static_cast(mode)); } void QState_SetErrorState(void* ptr, void* state) { static_cast(ptr)->setErrorState(static_cast(state)); } void QState_SetInitialState(void* ptr, void* state) { static_cast(ptr)->setInitialState(static_cast(state)); } void QState_DestroyQState(void* ptr) { static_cast(ptr)->~QState(); } void QState_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QState_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QState::timerEvent(static_cast(event)); } void QState_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QState_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QState::childEvent(static_cast(event)); } void QState_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QState_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QState::connectNotify(*static_cast(sign)); } void QState_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QState_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QState::customEvent(static_cast(event)); } void QState_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QState_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QState::deleteLater(); } void QState_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QState_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QState::disconnectNotify(*static_cast(sign)); } int QState_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QState_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QState::eventFilter(static_cast(watched), static_cast(event)); } void* QState_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QState_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QState::metaObject()); } class MyQStateMachine: public QStateMachine { public: MyQStateMachine(QObject *parent) : QStateMachine(parent) {}; MyQStateMachine(QState::ChildMode childMode, QObject *parent) : QStateMachine(childMode, parent) {}; bool event(QEvent * e) { return callbackQStateMachine_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQStateMachine_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; void onEntry(QEvent * event) { callbackQStateMachine_OnEntry(this, this->objectName().toUtf8().data(), event); }; void onExit(QEvent * event) { callbackQStateMachine_OnExit(this, this->objectName().toUtf8().data(), event); }; void Signal_RunningChanged(bool running) { callbackQStateMachine_RunningChanged(this, this->objectName().toUtf8().data(), running); }; void setRunning(bool running) { callbackQStateMachine_SetRunning(this, this->objectName().toUtf8().data(), running); }; void start() { callbackQStateMachine_Start(this, this->objectName().toUtf8().data()); }; void Signal_Started() { callbackQStateMachine_Started(this, this->objectName().toUtf8().data()); }; void stop() { callbackQStateMachine_Stop(this, this->objectName().toUtf8().data()); }; void Signal_Stopped() { callbackQStateMachine_Stopped(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQStateMachine_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQStateMachine_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQStateMachine_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQStateMachine_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQStateMachine_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQStateMachine_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQStateMachine_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QStateMachine_NewQStateMachine(void* parent) { return new MyQStateMachine(static_cast(parent)); } void* QStateMachine_NewQStateMachine2(int childMode, void* parent) { return new MyQStateMachine(static_cast(childMode), static_cast(parent)); } void QStateMachine_AddDefaultAnimation(void* ptr, void* animation) { static_cast(ptr)->addDefaultAnimation(static_cast(animation)); } void QStateMachine_AddState(void* ptr, void* state) { static_cast(ptr)->addState(static_cast(state)); } void QStateMachine_ClearError(void* ptr) { static_cast(ptr)->clearError(); } int QStateMachine_CancelDelayedEvent(void* ptr, int id) { return static_cast(ptr)->cancelDelayedEvent(id); } int QStateMachine_Error(void* ptr) { return static_cast(ptr)->error(); } char* QStateMachine_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } int QStateMachine_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QStateMachine_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QStateMachine::event(static_cast(e)); } int QStateMachine_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QStateMachine_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QStateMachine::eventFilter(static_cast(watched), static_cast(event)); } int QStateMachine_GlobalRestorePolicy(void* ptr) { return static_cast(ptr)->globalRestorePolicy(); } int QStateMachine_IsAnimated(void* ptr) { return static_cast(ptr)->isAnimated(); } int QStateMachine_IsRunning(void* ptr) { return static_cast(ptr)->isRunning(); } void QStateMachine_OnEntry(void* ptr, void* event) { static_cast(ptr)->onEntry(static_cast(event)); } void QStateMachine_OnEntryDefault(void* ptr, void* event) { static_cast(ptr)->QStateMachine::onEntry(static_cast(event)); } void QStateMachine_OnExit(void* ptr, void* event) { static_cast(ptr)->onExit(static_cast(event)); } void QStateMachine_OnExitDefault(void* ptr, void* event) { static_cast(ptr)->QStateMachine::onExit(static_cast(event)); } int QStateMachine_PostDelayedEvent(void* ptr, void* event, int delay) { return static_cast(ptr)->postDelayedEvent(static_cast(event), delay); } void QStateMachine_PostEvent(void* ptr, void* event, int priority) { static_cast(ptr)->postEvent(static_cast(event), static_cast(priority)); } void QStateMachine_RemoveDefaultAnimation(void* ptr, void* animation) { static_cast(ptr)->removeDefaultAnimation(static_cast(animation)); } void QStateMachine_RemoveState(void* ptr, void* state) { static_cast(ptr)->removeState(static_cast(state)); } void QStateMachine_ConnectRunningChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QStateMachine::runningChanged), static_cast(ptr), static_cast(&MyQStateMachine::Signal_RunningChanged)); } void QStateMachine_DisconnectRunningChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QStateMachine::runningChanged), static_cast(ptr), static_cast(&MyQStateMachine::Signal_RunningChanged)); } void QStateMachine_RunningChanged(void* ptr, int running) { static_cast(ptr)->runningChanged(running != 0); } void QStateMachine_SetAnimated(void* ptr, int enabled) { static_cast(ptr)->setAnimated(enabled != 0); } void QStateMachine_SetGlobalRestorePolicy(void* ptr, int restorePolicy) { static_cast(ptr)->setGlobalRestorePolicy(static_cast(restorePolicy)); } void QStateMachine_SetRunning(void* ptr, int running) { QMetaObject::invokeMethod(static_cast(ptr), "setRunning", Q_ARG(bool, running != 0)); } void QStateMachine_Start(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "start"); } void QStateMachine_ConnectStarted(void* ptr) { QObject::connect(static_cast(ptr), &QStateMachine::started, static_cast(ptr), static_cast(&MyQStateMachine::Signal_Started)); } void QStateMachine_DisconnectStarted(void* ptr) { QObject::disconnect(static_cast(ptr), &QStateMachine::started, static_cast(ptr), static_cast(&MyQStateMachine::Signal_Started)); } void QStateMachine_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } void QStateMachine_ConnectStopped(void* ptr) { QObject::connect(static_cast(ptr), &QStateMachine::stopped, static_cast(ptr), static_cast(&MyQStateMachine::Signal_Stopped)); } void QStateMachine_DisconnectStopped(void* ptr) { QObject::disconnect(static_cast(ptr), &QStateMachine::stopped, static_cast(ptr), static_cast(&MyQStateMachine::Signal_Stopped)); } void QStateMachine_DestroyQStateMachine(void* ptr) { static_cast(ptr)->~QStateMachine(); } void QStateMachine_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QStateMachine_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QStateMachine::timerEvent(static_cast(event)); } void QStateMachine_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QStateMachine_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QStateMachine::childEvent(static_cast(event)); } void QStateMachine_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QStateMachine_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QStateMachine::connectNotify(*static_cast(sign)); } void QStateMachine_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QStateMachine_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QStateMachine::customEvent(static_cast(event)); } void QStateMachine_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QStateMachine_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QStateMachine::deleteLater(); } void QStateMachine_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QStateMachine_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QStateMachine::disconnectNotify(*static_cast(sign)); } void* QStateMachine_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QStateMachine_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QStateMachine::metaObject()); } void* QStaticPlugin_Instance(void* ptr) { return static_cast(ptr)->instance(); } void* QStaticPlugin_MetaData(void* ptr) { return new QJsonObject(static_cast(ptr)->metaData()); } char* QStaticPlugin_RawMetaData(void* ptr) { return QString(static_cast(ptr)->rawMetaData()).toUtf8().data(); } void* QStorageInfo_NewQStorageInfo() { return new QStorageInfo(); } void* QStorageInfo_NewQStorageInfo3(void* dir) { return new QStorageInfo(*static_cast(dir)); } void* QStorageInfo_NewQStorageInfo4(void* other) { return new QStorageInfo(*static_cast(other)); } void* QStorageInfo_NewQStorageInfo2(char* path) { return new QStorageInfo(QString(path)); } long long QStorageInfo_BytesAvailable(void* ptr) { return static_cast(static_cast(ptr)->bytesAvailable()); } long long QStorageInfo_BytesFree(void* ptr) { return static_cast(static_cast(ptr)->bytesFree()); } long long QStorageInfo_BytesTotal(void* ptr) { return static_cast(static_cast(ptr)->bytesTotal()); } char* QStorageInfo_Device(void* ptr) { return QString(static_cast(ptr)->device()).toUtf8().data(); } char* QStorageInfo_DisplayName(void* ptr) { return static_cast(ptr)->displayName().toUtf8().data(); } char* QStorageInfo_FileSystemType(void* ptr) { return QString(static_cast(ptr)->fileSystemType()).toUtf8().data(); } int QStorageInfo_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } int QStorageInfo_IsReady(void* ptr) { return static_cast(ptr)->isReady(); } int QStorageInfo_IsRoot(void* ptr) { return static_cast(ptr)->isRoot(); } int QStorageInfo_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } char* QStorageInfo_Name(void* ptr) { return static_cast(ptr)->name().toUtf8().data(); } void QStorageInfo_Refresh(void* ptr) { static_cast(ptr)->refresh(); } void* QStorageInfo_QStorageInfo_Root() { return new QStorageInfo(QStorageInfo::root()); } char* QStorageInfo_RootPath(void* ptr) { return static_cast(ptr)->rootPath().toUtf8().data(); } void QStorageInfo_SetPath(void* ptr, char* path) { static_cast(ptr)->setPath(QString(path)); } void QStorageInfo_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void QStorageInfo_DestroyQStorageInfo(void* ptr) { static_cast(ptr)->~QStorageInfo(); } class MyQStringListModel: public QStringListModel { public: MyQStringListModel(QObject *parent) : QStringListModel(parent) {}; MyQStringListModel(const QStringList &strings, QObject *parent) : QStringListModel(strings, parent) {}; QVariant data(const QModelIndex & index, int role) const { return *static_cast(callbackQStringListModel_Data(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index), role)); }; Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast(callbackQStringListModel_Flags(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQStringListModel_InsertRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQStringListModel_RemoveRows(this, this->objectName().toUtf8().data(), row, count, new QModelIndex(parent)) != 0; }; int rowCount(const QModelIndex & parent) const { return callbackQStringListModel_RowCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQStringListModel_SetData(this, this->objectName().toUtf8().data(), new QModelIndex(index), new QVariant(value), role) != 0; }; QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast(callbackQStringListModel_Sibling(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(idx))); }; void sort(int column, Qt::SortOrder order) { callbackQStringListModel_Sort(this, this->objectName().toUtf8().data(), column, order); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQStringListModel_SupportedDropActions(const_cast(this), this->objectName().toUtf8().data())); }; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQStringListModel_Index(const_cast(this), this->objectName().toUtf8().data(), row, column, new QModelIndex(parent))); }; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQStringListModel_DropMimeData(this, this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; QModelIndex buddy(const QModelIndex & index) const { return *static_cast(callbackQStringListModel_Buddy(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQStringListModel_CanDropMimeData(const_cast(this), this->objectName().toUtf8().data(), const_cast(data), action, row, column, new QModelIndex(parent)) != 0; }; bool canFetchMore(const QModelIndex & parent) const { return callbackQStringListModel_CanFetchMore(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; int columnCount(const QModelIndex & parent) const { return callbackQStringListModel_ColumnCount(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)); }; void fetchMore(const QModelIndex & parent) { callbackQStringListModel_FetchMore(this, this->objectName().toUtf8().data(), new QModelIndex(parent)); }; bool hasChildren(const QModelIndex & parent) const { return callbackQStringListModel_HasChildren(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(parent)) != 0; }; QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast(callbackQStringListModel_HeaderData(const_cast(this), this->objectName().toUtf8().data(), section, orientation, role)); }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQStringListModel_InsertColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; QStringList mimeTypes() const { return QString(callbackQStringListModel_MimeTypes(const_cast(this), this->objectName().toUtf8().data())).split("|", QString::SkipEmptyParts); }; bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQStringListModel_MoveColumns(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceColumn, count, new QModelIndex(destinationParent), destinationChild) != 0; }; bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQStringListModel_MoveRows(this, this->objectName().toUtf8().data(), new QModelIndex(sourceParent), sourceRow, count, new QModelIndex(destinationParent), destinationChild) != 0; }; QModelIndex parent(const QModelIndex & index) const { return *static_cast(callbackQStringListModel_Parent(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQStringListModel_RemoveColumns(this, this->objectName().toUtf8().data(), column, count, new QModelIndex(parent)) != 0; }; void resetInternalData() { callbackQStringListModel_ResetInternalData(this, this->objectName().toUtf8().data()); }; void revert() { callbackQStringListModel_Revert(this, this->objectName().toUtf8().data()); }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQStringListModel_SetHeaderData(this, this->objectName().toUtf8().data(), section, orientation, new QVariant(value), role) != 0; }; QSize span(const QModelIndex & index) const { return *static_cast(callbackQStringListModel_Span(const_cast(this), this->objectName().toUtf8().data(), new QModelIndex(index))); }; bool submit() { return callbackQStringListModel_Submit(this, this->objectName().toUtf8().data()) != 0; }; Qt::DropActions supportedDragActions() const { return static_cast(callbackQStringListModel_SupportedDragActions(const_cast(this), this->objectName().toUtf8().data())); }; void timerEvent(QTimerEvent * event) { callbackQStringListModel_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQStringListModel_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQStringListModel_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQStringListModel_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQStringListModel_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQStringListModel_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQStringListModel_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQStringListModel_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQStringListModel_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QStringListModel_NewQStringListModel(void* parent) { return new MyQStringListModel(static_cast(parent)); } void* QStringListModel_NewQStringListModel2(char* strin, void* parent) { return new MyQStringListModel(QString(strin).split("|", QString::SkipEmptyParts), static_cast(parent)); } void* QStringListModel_Data(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->data(*static_cast(index), role)); } void* QStringListModel_DataDefault(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->QStringListModel::data(*static_cast(index), role)); } int QStringListModel_Flags(void* ptr, void* index) { return static_cast(ptr)->flags(*static_cast(index)); } int QStringListModel_FlagsDefault(void* ptr, void* index) { return static_cast(ptr)->QStringListModel::flags(*static_cast(index)); } int QStringListModel_InsertRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->insertRows(row, count, *static_cast(parent)); } int QStringListModel_InsertRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QStringListModel::insertRows(row, count, *static_cast(parent)); } int QStringListModel_RemoveRows(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->removeRows(row, count, *static_cast(parent)); } int QStringListModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QStringListModel::removeRows(row, count, *static_cast(parent)); } int QStringListModel_RowCount(void* ptr, void* parent) { return static_cast(ptr)->rowCount(*static_cast(parent)); } int QStringListModel_RowCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QStringListModel::rowCount(*static_cast(parent)); } int QStringListModel_SetData(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->setData(*static_cast(index), *static_cast(value), role); } int QStringListModel_SetDataDefault(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->QStringListModel::setData(*static_cast(index), *static_cast(value), role); } void QStringListModel_SetStringList(void* ptr, char* strin) { static_cast(ptr)->setStringList(QString(strin).split("|", QString::SkipEmptyParts)); } void* QStringListModel_Sibling(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->sibling(row, column, *static_cast(idx))); } void* QStringListModel_SiblingDefault(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->QStringListModel::sibling(row, column, *static_cast(idx))); } void QStringListModel_Sort(void* ptr, int column, int order) { static_cast(ptr)->sort(column, static_cast(order)); } void QStringListModel_SortDefault(void* ptr, int column, int order) { static_cast(ptr)->QStringListModel::sort(column, static_cast(order)); } char* QStringListModel_StringList(void* ptr) { return static_cast(ptr)->stringList().join("|").toUtf8().data(); } int QStringListModel_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } int QStringListModel_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QStringListModel::supportedDropActions(); } void* QStringListModel_Index(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->index(row, column, *static_cast(parent))); } void* QStringListModel_IndexDefault(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->QStringListModel::index(row, column, *static_cast(parent))); } int QStringListModel_DropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QStringListModel_DropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QStringListModel::dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } void* QStringListModel_Buddy(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->buddy(*static_cast(index))); } void* QStringListModel_BuddyDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QStringListModel::buddy(*static_cast(index))); } int QStringListModel_CanDropMimeData(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QStringListModel_CanDropMimeDataDefault(void* ptr, void* data, int action, int row, int column, void* parent) { return static_cast(ptr)->QStringListModel::canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } int QStringListModel_CanFetchMore(void* ptr, void* parent) { return static_cast(ptr)->canFetchMore(*static_cast(parent)); } int QStringListModel_CanFetchMoreDefault(void* ptr, void* parent) { return static_cast(ptr)->QStringListModel::canFetchMore(*static_cast(parent)); } int QStringListModel_ColumnCount(void* ptr, void* parent) { return static_cast(ptr)->columnCount(*static_cast(parent)); } int QStringListModel_ColumnCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QStringListModel::columnCount(*static_cast(parent)); } void QStringListModel_FetchMore(void* ptr, void* parent) { static_cast(ptr)->fetchMore(*static_cast(parent)); } void QStringListModel_FetchMoreDefault(void* ptr, void* parent) { static_cast(ptr)->QStringListModel::fetchMore(*static_cast(parent)); } int QStringListModel_HasChildren(void* ptr, void* parent) { return static_cast(ptr)->hasChildren(*static_cast(parent)); } int QStringListModel_HasChildrenDefault(void* ptr, void* parent) { return static_cast(ptr)->QStringListModel::hasChildren(*static_cast(parent)); } void* QStringListModel_HeaderData(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->headerData(section, static_cast(orientation), role)); } void* QStringListModel_HeaderDataDefault(void* ptr, int section, int orientation, int role) { return new QVariant(static_cast(ptr)->QStringListModel::headerData(section, static_cast(orientation), role)); } int QStringListModel_InsertColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->insertColumns(column, count, *static_cast(parent)); } int QStringListModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QStringListModel::insertColumns(column, count, *static_cast(parent)); } char* QStringListModel_MimeTypes(void* ptr) { return static_cast(ptr)->mimeTypes().join("|").toUtf8().data(); } char* QStringListModel_MimeTypesDefault(void* ptr) { return static_cast(ptr)->QStringListModel::mimeTypes().join("|").toUtf8().data(); } int QStringListModel_MoveColumns(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QStringListModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QStringListModel::moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } int QStringListModel_MoveRows(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } int QStringListModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QStringListModel::moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } void* QStringListModel_Parent(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->parent(*static_cast(index))); } void* QStringListModel_ParentDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QStringListModel::parent(*static_cast(index))); } int QStringListModel_RemoveColumns(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->removeColumns(column, count, *static_cast(parent)); } int QStringListModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QStringListModel::removeColumns(column, count, *static_cast(parent)); } void QStringListModel_ResetInternalData(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resetInternalData"); } void QStringListModel_ResetInternalDataDefault(void* ptr) { static_cast(ptr)->QStringListModel::resetInternalData(); } void QStringListModel_Revert(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "revert"); } void QStringListModel_RevertDefault(void* ptr) { static_cast(ptr)->QStringListModel::revert(); } int QStringListModel_SetHeaderData(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->setHeaderData(section, static_cast(orientation), *static_cast(value), role); } int QStringListModel_SetHeaderDataDefault(void* ptr, int section, int orientation, void* value, int role) { return static_cast(ptr)->QStringListModel::setHeaderData(section, static_cast(orientation), *static_cast(value), role); } void* QStringListModel_Span(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->span(*static_cast(index))).width(), static_cast(static_cast(ptr)->span(*static_cast(index))).height()); } void* QStringListModel_SpanDefault(void* ptr, void* index) { return new QSize(static_cast(static_cast(ptr)->QStringListModel::span(*static_cast(index))).width(), static_cast(static_cast(ptr)->QStringListModel::span(*static_cast(index))).height()); } int QStringListModel_Submit(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "submit", Q_RETURN_ARG(bool, returnArg)); return returnArg; } int QStringListModel_SubmitDefault(void* ptr) { return static_cast(ptr)->QStringListModel::submit(); } int QStringListModel_SupportedDragActions(void* ptr) { return static_cast(ptr)->supportedDragActions(); } int QStringListModel_SupportedDragActionsDefault(void* ptr) { return static_cast(ptr)->QStringListModel::supportedDragActions(); } void QStringListModel_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QStringListModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QStringListModel::timerEvent(static_cast(event)); } void QStringListModel_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QStringListModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QStringListModel::childEvent(static_cast(event)); } void QStringListModel_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QStringListModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QStringListModel::connectNotify(*static_cast(sign)); } void QStringListModel_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QStringListModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QStringListModel::customEvent(static_cast(event)); } void QStringListModel_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QStringListModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QStringListModel::deleteLater(); } void QStringListModel_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QStringListModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QStringListModel::disconnectNotify(*static_cast(sign)); } int QStringListModel_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QStringListModel_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QStringListModel::event(static_cast(e)); } int QStringListModel_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QStringListModel_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QStringListModel::eventFilter(static_cast(watched), static_cast(event)); } void* QStringListModel_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QStringListModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QStringListModel::metaObject()); } void* QStringMatcher_NewQStringMatcher3(void* uc, int length, int cs) { return new QStringMatcher(static_cast(uc), length, static_cast(cs)); } char* QStringMatcher_Pattern(void* ptr) { return static_cast(ptr)->pattern().toUtf8().data(); } void* QStringMatcher_NewQStringMatcher() { return new QStringMatcher(); } void* QStringMatcher_NewQStringMatcher2(char* pattern, int cs) { return new QStringMatcher(QString(pattern), static_cast(cs)); } void* QStringMatcher_NewQStringMatcher4(void* other) { return new QStringMatcher(*static_cast(other)); } int QStringMatcher_CaseSensitivity(void* ptr) { return static_cast(ptr)->caseSensitivity(); } int QStringMatcher_IndexIn2(void* ptr, void* str, int length, int from) { return static_cast(ptr)->indexIn(static_cast(str), length, from); } int QStringMatcher_IndexIn(void* ptr, char* str, int from) { return static_cast(ptr)->indexIn(QString(str), from); } void QStringMatcher_SetCaseSensitivity(void* ptr, int cs) { static_cast(ptr)->setCaseSensitivity(static_cast(cs)); } void QStringMatcher_SetPattern(void* ptr, char* pattern) { static_cast(ptr)->setPattern(QString(pattern)); } void QStringMatcher_DestroyQStringMatcher(void* ptr) { static_cast(ptr)->~QStringMatcher(); } void* QStringRef_Left(void* ptr, int n) { return new QStringRef(static_cast(ptr)->left(n)); } void* QStringRef_Mid(void* ptr, int position, int n) { return new QStringRef(static_cast(ptr)->mid(position, n)); } void* QStringRef_Right(void* ptr, int n) { return new QStringRef(static_cast(ptr)->right(n)); } long QStringRef_ToLong(void* ptr, int ok, int base) { return static_cast(ptr)->toLong(NULL, base); } void* QStringRef_NewQStringRef() { return new QStringRef(); } void* QStringRef_NewQStringRef3(char* stri) { return new QStringRef(new QString(stri)); } void* QStringRef_NewQStringRef2(char* stri, int position, int length) { return new QStringRef(new QString(stri), position, length); } void* QStringRef_NewQStringRef4(void* other) { return new QStringRef(*static_cast(other)); } void* QStringRef_AppendTo(void* ptr, char* stri) { return new QStringRef(static_cast(ptr)->appendTo(new QString(stri))); } void* QStringRef_Begin(void* ptr) { return const_cast(static_cast(ptr)->begin()); } void* QStringRef_Cbegin(void* ptr) { return const_cast(static_cast(ptr)->cbegin()); } void* QStringRef_Cend(void* ptr) { return const_cast(static_cast(ptr)->cend()); } void QStringRef_Clear(void* ptr) { static_cast(ptr)->clear(); } int QStringRef_QStringRef_Compare3(void* s1, void* s2, int cs) { return QStringRef::compare(*static_cast(s1), *static_cast(s2), static_cast(cs)); } int QStringRef_QStringRef_Compare(void* s1, char* s2, int cs) { return QStringRef::compare(*static_cast(s1), QString(s2), static_cast(cs)); } int QStringRef_QStringRef_Compare2(void* s1, void* s2, int cs) { return QStringRef::compare(*static_cast(s1), *static_cast(s2), static_cast(cs)); } int QStringRef_Compare6(void* ptr, void* other, int cs) { return static_cast(ptr)->compare(*static_cast(other), static_cast(cs)); } int QStringRef_Compare4(void* ptr, char* other, int cs) { return static_cast(ptr)->compare(QString(other), static_cast(cs)); } int QStringRef_Compare5(void* ptr, void* other, int cs) { return static_cast(ptr)->compare(*static_cast(other), static_cast(cs)); } void* QStringRef_ConstData(void* ptr) { return const_cast(static_cast(ptr)->constData()); } int QStringRef_Contains2(void* ptr, void* ch, int cs) { return static_cast(ptr)->contains(*static_cast(ch), static_cast(cs)); } int QStringRef_Contains4(void* ptr, void* str, int cs) { return static_cast(ptr)->contains(*static_cast(str), static_cast(cs)); } int QStringRef_Contains(void* ptr, char* str, int cs) { return static_cast(ptr)->contains(QString(str), static_cast(cs)); } int QStringRef_Contains3(void* ptr, void* str, int cs) { return static_cast(ptr)->contains(*static_cast(str), static_cast(cs)); } int QStringRef_Count(void* ptr) { return static_cast(ptr)->count(); } int QStringRef_Count3(void* ptr, void* ch, int cs) { return static_cast(ptr)->count(*static_cast(ch), static_cast(cs)); } int QStringRef_Count2(void* ptr, char* str, int cs) { return static_cast(ptr)->count(QString(str), static_cast(cs)); } int QStringRef_Count4(void* ptr, void* str, int cs) { return static_cast(ptr)->count(*static_cast(str), static_cast(cs)); } void* QStringRef_Data(void* ptr) { return const_cast(static_cast(ptr)->data()); } void* QStringRef_End(void* ptr) { return const_cast(static_cast(ptr)->end()); } int QStringRef_EndsWith2(void* ptr, void* ch, int cs) { return static_cast(ptr)->endsWith(*static_cast(ch), static_cast(cs)); } int QStringRef_EndsWith3(void* ptr, void* str, int cs) { return static_cast(ptr)->endsWith(*static_cast(str), static_cast(cs)); } int QStringRef_EndsWith(void* ptr, char* str, int cs) { return static_cast(ptr)->endsWith(QString(str), static_cast(cs)); } int QStringRef_EndsWith4(void* ptr, void* str, int cs) { return static_cast(ptr)->endsWith(*static_cast(str), static_cast(cs)); } int QStringRef_IndexOf3(void* ptr, void* ch, int from, int cs) { return static_cast(ptr)->indexOf(*static_cast(ch), from, static_cast(cs)); } int QStringRef_IndexOf2(void* ptr, void* str, int from, int cs) { return static_cast(ptr)->indexOf(*static_cast(str), from, static_cast(cs)); } int QStringRef_IndexOf(void* ptr, char* str, int from, int cs) { return static_cast(ptr)->indexOf(QString(str), from, static_cast(cs)); } int QStringRef_IndexOf4(void* ptr, void* str, int from, int cs) { return static_cast(ptr)->indexOf(*static_cast(str), from, static_cast(cs)); } int QStringRef_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QStringRef_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QStringRef_LastIndexOf2(void* ptr, void* ch, int from, int cs) { return static_cast(ptr)->lastIndexOf(*static_cast(ch), from, static_cast(cs)); } int QStringRef_LastIndexOf3(void* ptr, void* str, int from, int cs) { return static_cast(ptr)->lastIndexOf(*static_cast(str), from, static_cast(cs)); } int QStringRef_LastIndexOf(void* ptr, char* str, int from, int cs) { return static_cast(ptr)->lastIndexOf(QString(str), from, static_cast(cs)); } int QStringRef_LastIndexOf4(void* ptr, void* str, int from, int cs) { return static_cast(ptr)->lastIndexOf(*static_cast(str), from, static_cast(cs)); } int QStringRef_Length(void* ptr) { return static_cast(ptr)->length(); } int QStringRef_QStringRef_LocaleAwareCompare(void* s1, char* s2) { return QStringRef::localeAwareCompare(*static_cast(s1), QString(s2)); } int QStringRef_QStringRef_LocaleAwareCompare2(void* s1, void* s2) { return QStringRef::localeAwareCompare(*static_cast(s1), *static_cast(s2)); } int QStringRef_LocaleAwareCompare3(void* ptr, char* other) { return static_cast(ptr)->localeAwareCompare(QString(other)); } int QStringRef_LocaleAwareCompare4(void* ptr, void* other) { return static_cast(ptr)->localeAwareCompare(*static_cast(other)); } int QStringRef_Position(void* ptr) { return static_cast(ptr)->position(); } int QStringRef_Size(void* ptr) { return static_cast(ptr)->size(); } int QStringRef_StartsWith4(void* ptr, void* ch, int cs) { return static_cast(ptr)->startsWith(*static_cast(ch), static_cast(cs)); } int QStringRef_StartsWith2(void* ptr, void* str, int cs) { return static_cast(ptr)->startsWith(*static_cast(str), static_cast(cs)); } int QStringRef_StartsWith(void* ptr, char* str, int cs) { return static_cast(ptr)->startsWith(QString(str), static_cast(cs)); } int QStringRef_StartsWith3(void* ptr, void* str, int cs) { return static_cast(ptr)->startsWith(*static_cast(str), static_cast(cs)); } char* QStringRef_String(void* ptr) { return static_cast(ptr)->string()->toUtf8().data(); } int QStringRef_ToInt(void* ptr, int ok, int base) { return static_cast(ptr)->toInt(NULL, base); } char* QStringRef_ToLatin1(void* ptr) { return QString(static_cast(ptr)->toLatin1()).toUtf8().data(); } char* QStringRef_ToLocal8Bit(void* ptr) { return QString(static_cast(ptr)->toLocal8Bit()).toUtf8().data(); } char* QStringRef_ToString(void* ptr) { return static_cast(ptr)->toString().toUtf8().data(); } char* QStringRef_ToUtf8(void* ptr) { return QString(static_cast(ptr)->toUtf8()).toUtf8().data(); } void* QStringRef_Trimmed(void* ptr) { return new QStringRef(static_cast(ptr)->trimmed()); } void* QStringRef_Unicode(void* ptr) { return const_cast(static_cast(ptr)->unicode()); } void QStringRef_DestroyQStringRef(void* ptr) { static_cast(ptr)->~QStringRef(); } int QSysInfo_ByteOrder_Type() { return QSysInfo::ByteOrder; } int QSysInfo_MV_IOS_Type() { return QSysInfo::MV_IOS; } int QSysInfo_MV_IOS_4_3_Type() { return QSysInfo::MV_IOS_4_3; } int QSysInfo_MV_IOS_5_0_Type() { return QSysInfo::MV_IOS_5_0; } int QSysInfo_MV_IOS_5_1_Type() { return QSysInfo::MV_IOS_5_1; } int QSysInfo_MV_IOS_6_0_Type() { return QSysInfo::MV_IOS_6_0; } int QSysInfo_MV_IOS_6_1_Type() { return QSysInfo::MV_IOS_6_1; } int QSysInfo_MV_IOS_7_0_Type() { return QSysInfo::MV_IOS_7_0; } int QSysInfo_MV_IOS_7_1_Type() { return QSysInfo::MV_IOS_7_1; } int QSysInfo_MV_IOS_8_0_Type() { return QSysInfo::MV_IOS_8_0; } int QSysInfo_MV_IOS_8_1_Type() { return QSysInfo::MV_IOS_8_1; } int QSysInfo_MV_IOS_8_2_Type() { return QSysInfo::MV_IOS_8_2; } int QSysInfo_MV_IOS_8_3_Type() { return QSysInfo::MV_IOS_8_3; } int QSysInfo_MV_IOS_8_4_Type() { return QSysInfo::MV_IOS_8_4; } int QSysInfo_MV_IOS_9_0_Type() { return QSysInfo::MV_IOS_9_0; } int QSysInfo_WordSize_Type() { return QSysInfo::WordSize; } int QSysInfo_QSysInfo_MacVersion() { return QSysInfo::macVersion(); } char* QSysInfo_QSysInfo_BuildAbi() { return QSysInfo::buildAbi().toUtf8().data(); } char* QSysInfo_QSysInfo_BuildCpuArchitecture() { return QSysInfo::buildCpuArchitecture().toUtf8().data(); } char* QSysInfo_QSysInfo_CurrentCpuArchitecture() { return QSysInfo::currentCpuArchitecture().toUtf8().data(); } char* QSysInfo_QSysInfo_KernelType() { return QSysInfo::kernelType().toUtf8().data(); } char* QSysInfo_QSysInfo_KernelVersion() { return QSysInfo::kernelVersion().toUtf8().data(); } char* QSysInfo_QSysInfo_PrettyProductName() { return QSysInfo::prettyProductName().toUtf8().data(); } char* QSysInfo_QSysInfo_ProductType() { return QSysInfo::productType().toUtf8().data(); } char* QSysInfo_QSysInfo_ProductVersion() { return QSysInfo::productVersion().toUtf8().data(); } int QSysInfo_QSysInfo_WindowsVersion() { return QSysInfo::windowsVersion(); } void* QSystemSemaphore_NewQSystemSemaphore(char* key, int initialValue, int mode) { return new QSystemSemaphore(QString(key), initialValue, static_cast(mode)); } int QSystemSemaphore_Acquire(void* ptr) { return static_cast(ptr)->acquire(); } int QSystemSemaphore_Error(void* ptr) { return static_cast(ptr)->error(); } char* QSystemSemaphore_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } char* QSystemSemaphore_Key(void* ptr) { return static_cast(ptr)->key().toUtf8().data(); } int QSystemSemaphore_Release(void* ptr, int n) { return static_cast(ptr)->release(n); } void QSystemSemaphore_SetKey(void* ptr, char* key, int initialValue, int mode) { static_cast(ptr)->setKey(QString(key), initialValue, static_cast(mode)); } void QSystemSemaphore_DestroyQSystemSemaphore(void* ptr) { static_cast(ptr)->~QSystemSemaphore(); } void* QTemporaryDir_NewQTemporaryDir() { return new QTemporaryDir(); } void* QTemporaryDir_NewQTemporaryDir2(char* templatePath) { return new QTemporaryDir(QString(templatePath)); } int QTemporaryDir_AutoRemove(void* ptr) { return static_cast(ptr)->autoRemove(); } int QTemporaryDir_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } char* QTemporaryDir_Path(void* ptr) { return static_cast(ptr)->path().toUtf8().data(); } int QTemporaryDir_Remove(void* ptr) { return static_cast(ptr)->remove(); } void QTemporaryDir_SetAutoRemove(void* ptr, int b) { static_cast(ptr)->setAutoRemove(b != 0); } void QTemporaryDir_DestroyQTemporaryDir(void* ptr) { static_cast(ptr)->~QTemporaryDir(); } class MyQTemporaryFile: public QTemporaryFile { public: MyQTemporaryFile() : QTemporaryFile() {}; MyQTemporaryFile(QObject *parent) : QTemporaryFile(parent) {}; MyQTemporaryFile(const QString &templateName) : QTemporaryFile(templateName) {}; MyQTemporaryFile(const QString &templateName, QObject *parent) : QTemporaryFile(templateName, parent) {}; QString fileName() const { return QString(callbackQTemporaryFile_FileName(const_cast(this), this->objectName().toUtf8().data())); }; bool open(QIODevice::OpenMode flags) { return callbackQTemporaryFile_Open2(this, this->objectName().toUtf8().data(), flags) != 0; }; Permissions permissions() const { return static_cast(callbackQTemporaryFile_Permissions(const_cast(this), this->objectName().toUtf8().data())); }; bool resize(qint64 sz) { return callbackQTemporaryFile_Resize(this, this->objectName().toUtf8().data(), static_cast(sz)) != 0; }; bool setPermissions(QFileDevice::Permissions permissions) { return callbackQTemporaryFile_SetPermissions(this, this->objectName().toUtf8().data(), permissions) != 0; }; qint64 size() const { return static_cast(callbackQTemporaryFile_Size(const_cast(this), this->objectName().toUtf8().data())); }; bool seek(qint64 pos) { return callbackQTemporaryFile_Seek(this, this->objectName().toUtf8().data(), static_cast(pos)) != 0; }; bool atEnd() const { return callbackQTemporaryFile_AtEnd(const_cast(this), this->objectName().toUtf8().data()) != 0; }; void close() { callbackQTemporaryFile_Close(this, this->objectName().toUtf8().data()); }; bool isSequential() const { return callbackQTemporaryFile_IsSequential(const_cast(this), this->objectName().toUtf8().data()) != 0; }; qint64 pos() const { return static_cast(callbackQTemporaryFile_Pos(const_cast(this), this->objectName().toUtf8().data())); }; qint64 readLineData(char * data, qint64 maxlen) { return static_cast(callbackQTemporaryFile_ReadLineData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(maxlen))); }; qint64 writeData(const char * data, qint64 len) { return static_cast(callbackQTemporaryFile_WriteData(this, this->objectName().toUtf8().data(), QString(data).toUtf8().data(), static_cast(len))); }; qint64 bytesAvailable() const { return static_cast(callbackQTemporaryFile_BytesAvailable(const_cast(this), this->objectName().toUtf8().data())); }; qint64 bytesToWrite() const { return static_cast(callbackQTemporaryFile_BytesToWrite(const_cast(this), this->objectName().toUtf8().data())); }; bool canReadLine() const { return callbackQTemporaryFile_CanReadLine(const_cast(this), this->objectName().toUtf8().data()) != 0; }; bool reset() { return callbackQTemporaryFile_Reset(this, this->objectName().toUtf8().data()) != 0; }; bool waitForBytesWritten(int msecs) { return callbackQTemporaryFile_WaitForBytesWritten(this, this->objectName().toUtf8().data(), msecs) != 0; }; bool waitForReadyRead(int msecs) { return callbackQTemporaryFile_WaitForReadyRead(this, this->objectName().toUtf8().data(), msecs) != 0; }; void timerEvent(QTimerEvent * event) { callbackQTemporaryFile_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQTemporaryFile_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQTemporaryFile_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQTemporaryFile_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQTemporaryFile_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQTemporaryFile_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQTemporaryFile_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQTemporaryFile_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQTemporaryFile_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QTemporaryFile_NewQTemporaryFile() { return new MyQTemporaryFile(); } void* QTemporaryFile_NewQTemporaryFile3(void* parent) { return new MyQTemporaryFile(static_cast(parent)); } void* QTemporaryFile_NewQTemporaryFile2(char* templateName) { return new MyQTemporaryFile(QString(templateName)); } void* QTemporaryFile_NewQTemporaryFile4(char* templateName, void* parent) { return new MyQTemporaryFile(QString(templateName), static_cast(parent)); } int QTemporaryFile_AutoRemove(void* ptr) { return static_cast(ptr)->autoRemove(); } void* QTemporaryFile_QTemporaryFile_CreateNativeFile(void* file) { return QTemporaryFile::createNativeFile(*static_cast(file)); } void* QTemporaryFile_QTemporaryFile_CreateNativeFile2(char* fileName) { return QTemporaryFile::createNativeFile(QString(fileName)); } char* QTemporaryFile_FileName(void* ptr) { return static_cast(ptr)->fileName().toUtf8().data(); } char* QTemporaryFile_FileNameDefault(void* ptr) { return static_cast(ptr)->QTemporaryFile::fileName().toUtf8().data(); } char* QTemporaryFile_FileTemplate(void* ptr) { return static_cast(ptr)->fileTemplate().toUtf8().data(); } int QTemporaryFile_Open(void* ptr) { return static_cast(ptr)->open(); } int QTemporaryFile_Open2(void* ptr, int flags) { return static_cast(ptr)->open(static_cast(flags)); } int QTemporaryFile_Open2Default(void* ptr, int flags) { return static_cast(ptr)->QTemporaryFile::open(static_cast(flags)); } void QTemporaryFile_SetAutoRemove(void* ptr, int b) { static_cast(ptr)->setAutoRemove(b != 0); } void QTemporaryFile_SetFileTemplate(void* ptr, char* name) { static_cast(ptr)->setFileTemplate(QString(name)); } void QTemporaryFile_DestroyQTemporaryFile(void* ptr) { static_cast(ptr)->~QTemporaryFile(); } int QTemporaryFile_Permissions(void* ptr) { return static_cast(ptr)->permissions(); } int QTemporaryFile_PermissionsDefault(void* ptr) { return static_cast(ptr)->QTemporaryFile::permissions(); } int QTemporaryFile_Resize(void* ptr, long long sz) { return static_cast(ptr)->resize(static_cast(sz)); } int QTemporaryFile_ResizeDefault(void* ptr, long long sz) { return static_cast(ptr)->QTemporaryFile::resize(static_cast(sz)); } int QTemporaryFile_SetPermissions(void* ptr, int permissions) { return static_cast(ptr)->setPermissions(static_cast(permissions)); } int QTemporaryFile_SetPermissionsDefault(void* ptr, int permissions) { return static_cast(ptr)->QTemporaryFile::setPermissions(static_cast(permissions)); } long long QTemporaryFile_Size(void* ptr) { return static_cast(static_cast(ptr)->size()); } long long QTemporaryFile_SizeDefault(void* ptr) { return static_cast(static_cast(ptr)->QTemporaryFile::size()); } int QTemporaryFile_Seek(void* ptr, long long pos) { return static_cast(ptr)->seek(static_cast(pos)); } int QTemporaryFile_SeekDefault(void* ptr, long long pos) { return static_cast(ptr)->QTemporaryFile::seek(static_cast(pos)); } int QTemporaryFile_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } int QTemporaryFile_AtEndDefault(void* ptr) { return static_cast(ptr)->QTemporaryFile::atEnd(); } void QTemporaryFile_Close(void* ptr) { static_cast(ptr)->close(); } void QTemporaryFile_CloseDefault(void* ptr) { static_cast(ptr)->QTemporaryFile::close(); } int QTemporaryFile_IsSequential(void* ptr) { return static_cast(ptr)->isSequential(); } int QTemporaryFile_IsSequentialDefault(void* ptr) { return static_cast(ptr)->QTemporaryFile::isSequential(); } long long QTemporaryFile_Pos(void* ptr) { return static_cast(static_cast(ptr)->pos()); } long long QTemporaryFile_PosDefault(void* ptr) { return static_cast(static_cast(ptr)->QTemporaryFile::pos()); } long long QTemporaryFile_ReadLineData(void* ptr, char* data, long long maxlen) { return static_cast(static_cast(ptr)->readLineData(data, static_cast(maxlen))); } long long QTemporaryFile_ReadLineDataDefault(void* ptr, char* data, long long maxlen) { return static_cast(static_cast(ptr)->QTemporaryFile::readLineData(data, static_cast(maxlen))); } long long QTemporaryFile_WriteData(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->writeData(const_cast(data), static_cast(len))); } long long QTemporaryFile_WriteDataDefault(void* ptr, char* data, long long len) { return static_cast(static_cast(ptr)->QTemporaryFile::writeData(const_cast(data), static_cast(len))); } long long QTemporaryFile_BytesAvailable(void* ptr) { return static_cast(static_cast(ptr)->bytesAvailable()); } long long QTemporaryFile_BytesAvailableDefault(void* ptr) { return static_cast(static_cast(ptr)->QTemporaryFile::bytesAvailable()); } long long QTemporaryFile_BytesToWrite(void* ptr) { return static_cast(static_cast(ptr)->bytesToWrite()); } long long QTemporaryFile_BytesToWriteDefault(void* ptr) { return static_cast(static_cast(ptr)->QTemporaryFile::bytesToWrite()); } int QTemporaryFile_CanReadLine(void* ptr) { return static_cast(ptr)->canReadLine(); } int QTemporaryFile_CanReadLineDefault(void* ptr) { return static_cast(ptr)->QTemporaryFile::canReadLine(); } int QTemporaryFile_Reset(void* ptr) { return static_cast(ptr)->reset(); } int QTemporaryFile_ResetDefault(void* ptr) { return static_cast(ptr)->QTemporaryFile::reset(); } int QTemporaryFile_WaitForBytesWritten(void* ptr, int msecs) { return static_cast(ptr)->waitForBytesWritten(msecs); } int QTemporaryFile_WaitForBytesWrittenDefault(void* ptr, int msecs) { return static_cast(ptr)->QTemporaryFile::waitForBytesWritten(msecs); } int QTemporaryFile_WaitForReadyRead(void* ptr, int msecs) { return static_cast(ptr)->waitForReadyRead(msecs); } int QTemporaryFile_WaitForReadyReadDefault(void* ptr, int msecs) { return static_cast(ptr)->QTemporaryFile::waitForReadyRead(msecs); } void QTemporaryFile_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QTemporaryFile_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QTemporaryFile::timerEvent(static_cast(event)); } void QTemporaryFile_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QTemporaryFile_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QTemporaryFile::childEvent(static_cast(event)); } void QTemporaryFile_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QTemporaryFile_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QTemporaryFile::connectNotify(*static_cast(sign)); } void QTemporaryFile_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QTemporaryFile_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QTemporaryFile::customEvent(static_cast(event)); } void QTemporaryFile_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QTemporaryFile_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QTemporaryFile::deleteLater(); } void QTemporaryFile_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QTemporaryFile_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QTemporaryFile::disconnectNotify(*static_cast(sign)); } int QTemporaryFile_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QTemporaryFile_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QTemporaryFile::event(static_cast(e)); } int QTemporaryFile_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QTemporaryFile_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QTemporaryFile::eventFilter(static_cast(watched), static_cast(event)); } void* QTemporaryFile_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QTemporaryFile_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QTemporaryFile::metaObject()); } void* QTextBoundaryFinder_NewQTextBoundaryFinder() { return new QTextBoundaryFinder(); } void* QTextBoundaryFinder_NewQTextBoundaryFinder3(int ty, char* stri) { return new QTextBoundaryFinder(static_cast(ty), QString(stri)); } void* QTextBoundaryFinder_NewQTextBoundaryFinder2(void* other) { return new QTextBoundaryFinder(*static_cast(other)); } int QTextBoundaryFinder_BoundaryReasons(void* ptr) { return static_cast(ptr)->boundaryReasons(); } int QTextBoundaryFinder_IsAtBoundary(void* ptr) { return static_cast(ptr)->isAtBoundary(); } int QTextBoundaryFinder_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QTextBoundaryFinder_Position(void* ptr) { return static_cast(ptr)->position(); } void QTextBoundaryFinder_SetPosition(void* ptr, int position) { static_cast(ptr)->setPosition(position); } char* QTextBoundaryFinder_String(void* ptr) { return static_cast(ptr)->string().toUtf8().data(); } void QTextBoundaryFinder_ToEnd(void* ptr) { static_cast(ptr)->toEnd(); } int QTextBoundaryFinder_ToNextBoundary(void* ptr) { return static_cast(ptr)->toNextBoundary(); } int QTextBoundaryFinder_ToPreviousBoundary(void* ptr) { return static_cast(ptr)->toPreviousBoundary(); } void QTextBoundaryFinder_ToStart(void* ptr) { static_cast(ptr)->toStart(); } int QTextBoundaryFinder_Type(void* ptr) { return static_cast(ptr)->type(); } void QTextBoundaryFinder_DestroyQTextBoundaryFinder(void* ptr) { static_cast(ptr)->~QTextBoundaryFinder(); } class MyQTextCodec: public QTextCodec { public: QString _objectName; QString objectNameAbs() const { return this->_objectName; }; void setObjectNameAbs(const QString &name) { this->_objectName = name; }; int mibEnum() const { return callbackQTextCodec_MibEnum(const_cast(this), this->objectNameAbs().toUtf8().data()); }; QByteArray name() const { return QByteArray(callbackQTextCodec_Name(const_cast(this), this->objectNameAbs().toUtf8().data())); }; }; int QTextCodec_CanEncode(void* ptr, void* ch) { return static_cast(ptr)->canEncode(*static_cast(ch)); } int QTextCodec_CanEncode2(void* ptr, char* s) { return static_cast(ptr)->canEncode(QString(s)); } void* QTextCodec_QTextCodec_CodecForHtml2(char* ba) { return QTextCodec::codecForHtml(QByteArray(ba)); } void* QTextCodec_QTextCodec_CodecForHtml(char* ba, void* defaultCodec) { return QTextCodec::codecForHtml(QByteArray(ba), static_cast(defaultCodec)); } void* QTextCodec_QTextCodec_CodecForLocale() { return QTextCodec::codecForLocale(); } void* QTextCodec_QTextCodec_CodecForMib(int mib) { return QTextCodec::codecForMib(mib); } void* QTextCodec_QTextCodec_CodecForName(char* name) { return QTextCodec::codecForName(QByteArray(name)); } void* QTextCodec_QTextCodec_CodecForName2(char* name) { return QTextCodec::codecForName(const_cast(name)); } void* QTextCodec_QTextCodec_CodecForUtfText2(char* ba) { return QTextCodec::codecForUtfText(QByteArray(ba)); } void* QTextCodec_QTextCodec_CodecForUtfText(char* ba, void* defaultCodec) { return QTextCodec::codecForUtfText(QByteArray(ba), static_cast(defaultCodec)); } char* QTextCodec_FromUnicode(void* ptr, char* str) { return QString(static_cast(ptr)->fromUnicode(QString(str))).toUtf8().data(); } void* QTextCodec_MakeDecoder(void* ptr, int flags) { return static_cast(ptr)->makeDecoder(static_cast(flags)); } void* QTextCodec_MakeEncoder(void* ptr, int flags) { return static_cast(ptr)->makeEncoder(static_cast(flags)); } int QTextCodec_MibEnum(void* ptr) { return static_cast(ptr)->mibEnum(); } char* QTextCodec_Name(void* ptr) { return QString(static_cast(ptr)->name()).toUtf8().data(); } void QTextCodec_QTextCodec_SetCodecForLocale(void* c) { QTextCodec::setCodecForLocale(static_cast(c)); } char* QTextCodec_ToUnicode(void* ptr, char* a) { return static_cast(ptr)->toUnicode(QByteArray(a)).toUtf8().data(); } char* QTextCodec_ToUnicode3(void* ptr, char* chars) { return static_cast(ptr)->toUnicode(const_cast(chars)).toUtf8().data(); } void QTextCodec_DestroyQTextCodec(void* ptr) { static_cast(ptr)->~QTextCodec(); } char* QTextCodec_ObjectNameAbs(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->objectNameAbs().toUtf8().data(); } return QString("QTextCodec_BASE").toUtf8().data(); } void QTextCodec_SetObjectNameAbs(void* ptr, char* name) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setObjectNameAbs(QString(name)); } } char* QTextDecoder_ToUnicode(void* ptr, char* chars, int len) { return static_cast(ptr)->toUnicode(const_cast(chars), len).toUtf8().data(); } void* QTextDecoder_NewQTextDecoder(void* codec) { return new QTextDecoder(static_cast(codec)); } void* QTextDecoder_NewQTextDecoder2(void* codec, int flags) { return new QTextDecoder(static_cast(codec), static_cast(flags)); } char* QTextDecoder_ToUnicode3(void* ptr, char* ba) { return static_cast(ptr)->toUnicode(QByteArray(ba)).toUtf8().data(); } void QTextDecoder_ToUnicode2(void* ptr, char* target, char* chars, int len) { static_cast(ptr)->toUnicode(new QString(target), const_cast(chars), len); } void QTextDecoder_DestroyQTextDecoder(void* ptr) { static_cast(ptr)->~QTextDecoder(); } void* QTextEncoder_NewQTextEncoder(void* codec) { return new QTextEncoder(static_cast(codec)); } void* QTextEncoder_NewQTextEncoder2(void* codec, int flags) { return new QTextEncoder(static_cast(codec), static_cast(flags)); } char* QTextEncoder_FromUnicode2(void* ptr, void* uc, int len) { return QString(static_cast(ptr)->fromUnicode(static_cast(uc), len)).toUtf8().data(); } char* QTextEncoder_FromUnicode(void* ptr, char* str) { return QString(static_cast(ptr)->fromUnicode(QString(str))).toUtf8().data(); } void QTextEncoder_DestroyQTextEncoder(void* ptr) { static_cast(ptr)->~QTextEncoder(); } class MyQTextStream: public QTextStream { public: QString _objectName; QString objectNameAbs() const { return this->_objectName; }; void setObjectNameAbs(const QString &name) { this->_objectName = name; }; MyQTextStream() : QTextStream() {}; MyQTextStream(QByteArray *array, QIODevice::OpenMode openMode) : QTextStream(array, openMode) {}; MyQTextStream(QIODevice *device) : QTextStream(device) {}; MyQTextStream(QString *string, QIODevice::OpenMode openMode) : QTextStream(string, openMode) {}; MyQTextStream(const QByteArray &array, QIODevice::OpenMode openMode) : QTextStream(array, openMode) {}; }; void* QTextStream_NewQTextStream() { return new MyQTextStream(); } void* QTextStream_NewQTextStream5(char* array, int openMode) { return new MyQTextStream(new QByteArray(array), static_cast(openMode)); } void* QTextStream_NewQTextStream2(void* device) { return new MyQTextStream(static_cast(device)); } void* QTextStream_NewQTextStream4(char* stri, int openMode) { return new MyQTextStream(new QString(stri), static_cast(openMode)); } void* QTextStream_NewQTextStream6(char* array, int openMode) { return new MyQTextStream(QByteArray(array), static_cast(openMode)); } int QTextStream_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } int QTextStream_AutoDetectUnicode(void* ptr) { return static_cast(ptr)->autoDetectUnicode(); } void* QTextStream_Codec(void* ptr) { return static_cast(ptr)->codec(); } void* QTextStream_Device(void* ptr) { return static_cast(ptr)->device(); } int QTextStream_FieldAlignment(void* ptr) { return static_cast(ptr)->fieldAlignment(); } int QTextStream_FieldWidth(void* ptr) { return static_cast(ptr)->fieldWidth(); } void QTextStream_Flush(void* ptr) { static_cast(ptr)->flush(); } int QTextStream_GenerateByteOrderMark(void* ptr) { return static_cast(ptr)->generateByteOrderMark(); } int QTextStream_IntegerBase(void* ptr) { return static_cast(ptr)->integerBase(); } void* QTextStream_Locale(void* ptr) { return new QLocale(static_cast(ptr)->locale()); } int QTextStream_NumberFlags(void* ptr) { return static_cast(ptr)->numberFlags(); } long long QTextStream_Pos(void* ptr) { return static_cast(static_cast(ptr)->pos()); } char* QTextStream_Read(void* ptr, long long maxlen) { return static_cast(ptr)->read(static_cast(maxlen)).toUtf8().data(); } char* QTextStream_ReadAll(void* ptr) { return static_cast(ptr)->readAll().toUtf8().data(); } char* QTextStream_ReadLine(void* ptr, long long maxlen) { return static_cast(ptr)->readLine(static_cast(maxlen)).toUtf8().data(); } int QTextStream_ReadLineInto(void* ptr, char* line, long long maxlen) { return static_cast(ptr)->readLineInto(new QString(line), static_cast(maxlen)); } int QTextStream_RealNumberNotation(void* ptr) { return static_cast(ptr)->realNumberNotation(); } int QTextStream_RealNumberPrecision(void* ptr) { return static_cast(ptr)->realNumberPrecision(); } void QTextStream_Reset(void* ptr) { static_cast(ptr)->reset(); } void QTextStream_ResetStatus(void* ptr) { static_cast(ptr)->resetStatus(); } int QTextStream_Seek(void* ptr, long long pos) { return static_cast(ptr)->seek(static_cast(pos)); } void QTextStream_SetAutoDetectUnicode(void* ptr, int enabled) { static_cast(ptr)->setAutoDetectUnicode(enabled != 0); } void QTextStream_SetCodec(void* ptr, void* codec) { static_cast(ptr)->setCodec(static_cast(codec)); } void QTextStream_SetCodec2(void* ptr, char* codecName) { static_cast(ptr)->setCodec(const_cast(codecName)); } void QTextStream_SetDevice(void* ptr, void* device) { static_cast(ptr)->setDevice(static_cast(device)); } void QTextStream_SetFieldAlignment(void* ptr, int mode) { static_cast(ptr)->setFieldAlignment(static_cast(mode)); } void QTextStream_SetFieldWidth(void* ptr, int width) { static_cast(ptr)->setFieldWidth(width); } void QTextStream_SetGenerateByteOrderMark(void* ptr, int generate) { static_cast(ptr)->setGenerateByteOrderMark(generate != 0); } void QTextStream_SetIntegerBase(void* ptr, int base) { static_cast(ptr)->setIntegerBase(base); } void QTextStream_SetLocale(void* ptr, void* locale) { static_cast(ptr)->setLocale(*static_cast(locale)); } void QTextStream_SetNumberFlags(void* ptr, int flags) { static_cast(ptr)->setNumberFlags(static_cast(flags)); } void QTextStream_SetPadChar(void* ptr, void* ch) { static_cast(ptr)->setPadChar(*static_cast(ch)); } void QTextStream_SetRealNumberNotation(void* ptr, int notation) { static_cast(ptr)->setRealNumberNotation(static_cast(notation)); } void QTextStream_SetRealNumberPrecision(void* ptr, int precision) { static_cast(ptr)->setRealNumberPrecision(precision); } void QTextStream_SetStatus(void* ptr, int status) { static_cast(ptr)->setStatus(static_cast(status)); } void QTextStream_SetString(void* ptr, char* stri, int openMode) { static_cast(ptr)->setString(new QString(stri), static_cast(openMode)); } void QTextStream_SkipWhiteSpace(void* ptr) { static_cast(ptr)->skipWhiteSpace(); } int QTextStream_Status(void* ptr) { return static_cast(ptr)->status(); } char* QTextStream_String(void* ptr) { return static_cast(ptr)->string()->toUtf8().data(); } void QTextStream_DestroyQTextStream(void* ptr) { static_cast(ptr)->~QTextStream(); } char* QTextStream_ObjectNameAbs(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->objectNameAbs().toUtf8().data(); } return QString("QTextStream_BASE").toUtf8().data(); } void QTextStream_SetObjectNameAbs(void* ptr, char* name) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setObjectNameAbs(QString(name)); } } class MyQThread: public QThread { public: MyQThread(QObject *parent) : QThread(parent) {}; bool event(QEvent * event) { return callbackQThread_Event(this, this->objectName().toUtf8().data(), event) != 0; }; void Signal_Finished() { callbackQThread_Finished(this, this->objectName().toUtf8().data()); }; void quit() { callbackQThread_Quit(this, this->objectName().toUtf8().data()); }; void run() { callbackQThread_Run(this, this->objectName().toUtf8().data()); }; void Signal_Started() { callbackQThread_Started(this, this->objectName().toUtf8().data()); }; void start() { callbackQThread_Start(this, this->objectName().toUtf8().data()); }; void terminate() { callbackQThread_Terminate(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQThread_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQThread_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQThread_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQThread_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQThread_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQThread_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQThread_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQThread_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void QThread_SetPriority(void* ptr, int priority) { static_cast(ptr)->setPriority(static_cast(priority)); } void* QThread_NewQThread(void* parent) { return new MyQThread(static_cast(parent)); } void* QThread_QThread_CurrentThread() { return QThread::currentThread(); } int QThread_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } int QThread_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QThread::event(static_cast(event)); } void* QThread_EventDispatcher(void* ptr) { return static_cast(ptr)->eventDispatcher(); } int QThread_Exec(void* ptr) { return static_cast(ptr)->exec(); } void QThread_Exit(void* ptr, int returnCode) { static_cast(ptr)->exit(returnCode); } void QThread_ConnectFinished(void* ptr) { QObject::connect(static_cast(ptr), &QThread::finished, static_cast(ptr), static_cast(&MyQThread::Signal_Finished)); } void QThread_DisconnectFinished(void* ptr) { QObject::disconnect(static_cast(ptr), &QThread::finished, static_cast(ptr), static_cast(&MyQThread::Signal_Finished)); } int QThread_IsFinished(void* ptr) { return static_cast(ptr)->isFinished(); } int QThread_IsInterruptionRequested(void* ptr) { return static_cast(ptr)->isInterruptionRequested(); } int QThread_IsRunning(void* ptr) { return static_cast(ptr)->isRunning(); } int QThread_LoopLevel(void* ptr) { return static_cast(ptr)->loopLevel(); } int QThread_Priority(void* ptr) { return static_cast(ptr)->priority(); } void QThread_Quit(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "quit"); } void QThread_RequestInterruption(void* ptr) { static_cast(ptr)->requestInterruption(); } void QThread_Run(void* ptr) { static_cast(ptr)->run(); } void QThread_RunDefault(void* ptr) { static_cast(ptr)->QThread::run(); } void QThread_SetEventDispatcher(void* ptr, void* eventDispatcher) { static_cast(ptr)->setEventDispatcher(static_cast(eventDispatcher)); } void QThread_ConnectStarted(void* ptr) { QObject::connect(static_cast(ptr), &QThread::started, static_cast(ptr), static_cast(&MyQThread::Signal_Started)); } void QThread_DisconnectStarted(void* ptr) { QObject::disconnect(static_cast(ptr), &QThread::started, static_cast(ptr), static_cast(&MyQThread::Signal_Started)); } void QThread_DestroyQThread(void* ptr) { static_cast(ptr)->~QThread(); } int QThread_QThread_IdealThreadCount() { return QThread::idealThreadCount(); } void QThread_QThread_SetTerminationEnabled(int enabled) { QThread::setTerminationEnabled(enabled != 0); } void QThread_Start(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "start"); } void QThread_Terminate(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "terminate"); } void QThread_QThread_YieldCurrentThread() { QThread::yieldCurrentThread(); } void QThread_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QThread_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QThread::timerEvent(static_cast(event)); } void QThread_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QThread_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QThread::childEvent(static_cast(event)); } void QThread_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QThread_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QThread::connectNotify(*static_cast(sign)); } void QThread_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QThread_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QThread::customEvent(static_cast(event)); } void QThread_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QThread_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QThread::deleteLater(); } void QThread_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QThread_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QThread::disconnectNotify(*static_cast(sign)); } int QThread_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QThread_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QThread::eventFilter(static_cast(watched), static_cast(event)); } void* QThread_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QThread_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QThread::metaObject()); } int QThreadPool_ActiveThreadCount(void* ptr) { return static_cast(ptr)->activeThreadCount(); } int QThreadPool_ExpiryTimeout(void* ptr) { return static_cast(ptr)->expiryTimeout(); } int QThreadPool_MaxThreadCount(void* ptr) { return static_cast(ptr)->maxThreadCount(); } void QThreadPool_SetExpiryTimeout(void* ptr, int expiryTimeout) { static_cast(ptr)->setExpiryTimeout(expiryTimeout); } void QThreadPool_SetMaxThreadCount(void* ptr, int maxThreadCount) { static_cast(ptr)->setMaxThreadCount(maxThreadCount); } void* QThreadPool_NewQThreadPool(void* parent) { return new QThreadPool(static_cast(parent)); } void QThreadPool_Cancel(void* ptr, void* runnable) { static_cast(ptr)->cancel(static_cast(runnable)); } void QThreadPool_Clear(void* ptr) { static_cast(ptr)->clear(); } void* QThreadPool_QThreadPool_GlobalInstance() { return QThreadPool::globalInstance(); } void QThreadPool_ReleaseThread(void* ptr) { static_cast(ptr)->releaseThread(); } void QThreadPool_ReserveThread(void* ptr) { static_cast(ptr)->reserveThread(); } void QThreadPool_Start(void* ptr, void* runnable, int priority) { static_cast(ptr)->start(static_cast(runnable), priority); } int QThreadPool_TryStart(void* ptr, void* runnable) { return static_cast(ptr)->tryStart(static_cast(runnable)); } int QThreadPool_WaitForDone(void* ptr, int msecs) { return static_cast(ptr)->waitForDone(msecs); } void QThreadPool_DestroyQThreadPool(void* ptr) { static_cast(ptr)->~QThreadPool(); } void QThreadPool_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QThreadPool_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QThreadPool::timerEvent(static_cast(event)); } void QThreadPool_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QThreadPool_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QThreadPool::childEvent(static_cast(event)); } void QThreadPool_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QThreadPool_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QThreadPool::connectNotify(*static_cast(sign)); } void QThreadPool_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QThreadPool_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QThreadPool::customEvent(static_cast(event)); } void QThreadPool_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QThreadPool_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QThreadPool::deleteLater(); } void QThreadPool_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QThreadPool_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QThreadPool::disconnectNotify(*static_cast(sign)); } int QThreadPool_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QThreadPool_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QThreadPool::event(static_cast(e)); } int QThreadPool_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QThreadPool_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QThreadPool::eventFilter(static_cast(watched), static_cast(event)); } void* QThreadPool_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QThreadPool_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QThreadPool::metaObject()); } void* QTime_NewQTime() { return new QTime(); } void* QTime_NewQTime3(int h, int m, int s, int ms) { return new QTime(h, m, s, ms); } int QTime_Elapsed(void* ptr) { return static_cast(ptr)->elapsed(); } int QTime_Hour(void* ptr) { return static_cast(ptr)->hour(); } int QTime_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QTime_QTime_IsValid2(int h, int m, int s, int ms) { return QTime::isValid(h, m, s, ms); } int QTime_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QTime_Minute(void* ptr) { return static_cast(ptr)->minute(); } int QTime_Msec(void* ptr) { return static_cast(ptr)->msec(); } int QTime_MsecsSinceStartOfDay(void* ptr) { return static_cast(ptr)->msecsSinceStartOfDay(); } int QTime_MsecsTo(void* ptr, void* t) { return static_cast(ptr)->msecsTo(*static_cast(t)); } int QTime_Restart(void* ptr) { return static_cast(ptr)->restart(); } int QTime_Second(void* ptr) { return static_cast(ptr)->second(); } int QTime_SecsTo(void* ptr, void* t) { return static_cast(ptr)->secsTo(*static_cast(t)); } int QTime_SetHMS(void* ptr, int h, int m, int s, int ms) { return static_cast(ptr)->setHMS(h, m, s, ms); } void QTime_Start(void* ptr) { static_cast(ptr)->start(); } char* QTime_ToString2(void* ptr, int format) { return static_cast(ptr)->toString(static_cast(format)).toUtf8().data(); } char* QTime_ToString(void* ptr, char* format) { return static_cast(ptr)->toString(QString(format)).toUtf8().data(); } class MyQTimeLine: public QTimeLine { public: MyQTimeLine(int duration, QObject *parent) : QTimeLine(duration, parent) {}; void setCurrentTime(int msec) { callbackQTimeLine_SetCurrentTime(this, this->objectName().toUtf8().data(), msec); }; void Signal_Finished() { callbackQTimeLine_Finished(this, this->objectName().toUtf8().data()); }; void Signal_FrameChanged(int frame) { callbackQTimeLine_FrameChanged(this, this->objectName().toUtf8().data(), frame); }; void resume() { callbackQTimeLine_Resume(this, this->objectName().toUtf8().data()); }; void setPaused(bool paused) { callbackQTimeLine_SetPaused(this, this->objectName().toUtf8().data(), paused); }; void start() { callbackQTimeLine_Start(this, this->objectName().toUtf8().data()); }; void Signal_StateChanged(QTimeLine::State newState) { callbackQTimeLine_StateChanged(this, this->objectName().toUtf8().data(), newState); }; void stop() { callbackQTimeLine_Stop(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * event) { callbackQTimeLine_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void toggleDirection() { callbackQTimeLine_ToggleDirection(this, this->objectName().toUtf8().data()); }; void Signal_ValueChanged(qreal value) { callbackQTimeLine_ValueChanged(this, this->objectName().toUtf8().data(), static_cast(value)); }; qreal valueForTime(int msec) const { return static_cast(callbackQTimeLine_ValueForTime(const_cast(this), this->objectName().toUtf8().data(), msec)); }; void childEvent(QChildEvent * event) { callbackQTimeLine_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQTimeLine_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQTimeLine_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQTimeLine_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQTimeLine_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQTimeLine_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQTimeLine_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQTimeLine_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; int QTimeLine_CurrentTime(void* ptr) { return static_cast(ptr)->currentTime(); } int QTimeLine_CurveShape(void* ptr) { return static_cast(ptr)->curveShape(); } int QTimeLine_Direction(void* ptr) { return static_cast(ptr)->direction(); } int QTimeLine_Duration(void* ptr) { return static_cast(ptr)->duration(); } void* QTimeLine_EasingCurve(void* ptr) { return new QEasingCurve(static_cast(ptr)->easingCurve()); } int QTimeLine_LoopCount(void* ptr) { return static_cast(ptr)->loopCount(); } void QTimeLine_SetCurrentTime(void* ptr, int msec) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentTime", Q_ARG(int, msec)); } void QTimeLine_SetCurveShape(void* ptr, int shape) { static_cast(ptr)->setCurveShape(static_cast(shape)); } void QTimeLine_SetDirection(void* ptr, int direction) { static_cast(ptr)->setDirection(static_cast(direction)); } void QTimeLine_SetDuration(void* ptr, int duration) { static_cast(ptr)->setDuration(duration); } void QTimeLine_SetEasingCurve(void* ptr, void* curve) { static_cast(ptr)->setEasingCurve(*static_cast(curve)); } void QTimeLine_SetLoopCount(void* ptr, int count) { static_cast(ptr)->setLoopCount(count); } void QTimeLine_SetUpdateInterval(void* ptr, int interval) { static_cast(ptr)->setUpdateInterval(interval); } int QTimeLine_UpdateInterval(void* ptr) { return static_cast(ptr)->updateInterval(); } void* QTimeLine_NewQTimeLine(int duration, void* parent) { return new MyQTimeLine(duration, static_cast(parent)); } int QTimeLine_CurrentFrame(void* ptr) { return static_cast(ptr)->currentFrame(); } double QTimeLine_CurrentValue(void* ptr) { return static_cast(static_cast(ptr)->currentValue()); } int QTimeLine_EndFrame(void* ptr) { return static_cast(ptr)->endFrame(); } void QTimeLine_ConnectFinished(void* ptr) { QObject::connect(static_cast(ptr), &QTimeLine::finished, static_cast(ptr), static_cast(&MyQTimeLine::Signal_Finished)); } void QTimeLine_DisconnectFinished(void* ptr) { QObject::disconnect(static_cast(ptr), &QTimeLine::finished, static_cast(ptr), static_cast(&MyQTimeLine::Signal_Finished)); } void QTimeLine_ConnectFrameChanged(void* ptr) { QObject::connect(static_cast(ptr), &QTimeLine::frameChanged, static_cast(ptr), static_cast(&MyQTimeLine::Signal_FrameChanged)); } void QTimeLine_DisconnectFrameChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QTimeLine::frameChanged, static_cast(ptr), static_cast(&MyQTimeLine::Signal_FrameChanged)); } int QTimeLine_FrameForTime(void* ptr, int msec) { return static_cast(ptr)->frameForTime(msec); } void QTimeLine_Resume(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resume"); } void QTimeLine_SetEndFrame(void* ptr, int frame) { static_cast(ptr)->setEndFrame(frame); } void QTimeLine_SetFrameRange(void* ptr, int startFrame, int endFrame) { static_cast(ptr)->setFrameRange(startFrame, endFrame); } void QTimeLine_SetPaused(void* ptr, int paused) { QMetaObject::invokeMethod(static_cast(ptr), "setPaused", Q_ARG(bool, paused != 0)); } void QTimeLine_SetStartFrame(void* ptr, int frame) { static_cast(ptr)->setStartFrame(frame); } void QTimeLine_Start(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "start"); } int QTimeLine_StartFrame(void* ptr) { return static_cast(ptr)->startFrame(); } int QTimeLine_State(void* ptr) { return static_cast(ptr)->state(); } void QTimeLine_ConnectStateChanged(void* ptr) { QObject::connect(static_cast(ptr), &QTimeLine::stateChanged, static_cast(ptr), static_cast(&MyQTimeLine::Signal_StateChanged)); } void QTimeLine_DisconnectStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QTimeLine::stateChanged, static_cast(ptr), static_cast(&MyQTimeLine::Signal_StateChanged)); } void QTimeLine_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } void QTimeLine_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QTimeLine_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QTimeLine::timerEvent(static_cast(event)); } void QTimeLine_ToggleDirection(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "toggleDirection"); } void QTimeLine_ConnectValueChanged(void* ptr) { QObject::connect(static_cast(ptr), &QTimeLine::valueChanged, static_cast(ptr), static_cast(&MyQTimeLine::Signal_ValueChanged)); } void QTimeLine_DisconnectValueChanged(void* ptr) { QObject::disconnect(static_cast(ptr), &QTimeLine::valueChanged, static_cast(ptr), static_cast(&MyQTimeLine::Signal_ValueChanged)); } double QTimeLine_ValueForTime(void* ptr, int msec) { return static_cast(static_cast(ptr)->valueForTime(msec)); } double QTimeLine_ValueForTimeDefault(void* ptr, int msec) { return static_cast(static_cast(ptr)->QTimeLine::valueForTime(msec)); } void QTimeLine_DestroyQTimeLine(void* ptr) { static_cast(ptr)->~QTimeLine(); } void QTimeLine_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QTimeLine_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QTimeLine::childEvent(static_cast(event)); } void QTimeLine_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QTimeLine_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QTimeLine::connectNotify(*static_cast(sign)); } void QTimeLine_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QTimeLine_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QTimeLine::customEvent(static_cast(event)); } void QTimeLine_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QTimeLine_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QTimeLine::deleteLater(); } void QTimeLine_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QTimeLine_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QTimeLine::disconnectNotify(*static_cast(sign)); } int QTimeLine_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QTimeLine_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QTimeLine::event(static_cast(e)); } int QTimeLine_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QTimeLine_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QTimeLine::eventFilter(static_cast(watched), static_cast(event)); } void* QTimeLine_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QTimeLine_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QTimeLine::metaObject()); } void* QTimeZone_NewQTimeZone() { return new QTimeZone(); } void* QTimeZone_NewQTimeZone2(char* ianaId) { return new QTimeZone(QByteArray(ianaId)); } void* QTimeZone_NewQTimeZone4(char* ianaId, int offsetSeconds, char* name, char* abbreviation, int country, char* comment) { return new QTimeZone(QByteArray(ianaId), offsetSeconds, QString(name), QString(abbreviation), static_cast(country), QString(comment)); } void* QTimeZone_NewQTimeZone5(void* other) { return new QTimeZone(*static_cast(other)); } void* QTimeZone_NewQTimeZone3(int offsetSeconds) { return new QTimeZone(offsetSeconds); } char* QTimeZone_Abbreviation(void* ptr, void* atDateTime) { return static_cast(ptr)->abbreviation(*static_cast(atDateTime)).toUtf8().data(); } char* QTimeZone_Comment(void* ptr) { return static_cast(ptr)->comment().toUtf8().data(); } int QTimeZone_Country(void* ptr) { return static_cast(ptr)->country(); } int QTimeZone_DaylightTimeOffset(void* ptr, void* atDateTime) { return static_cast(ptr)->daylightTimeOffset(*static_cast(atDateTime)); } char* QTimeZone_DisplayName2(void* ptr, int timeType, int nameType, void* locale) { return static_cast(ptr)->displayName(static_cast(timeType), static_cast(nameType), *static_cast(locale)).toUtf8().data(); } char* QTimeZone_DisplayName(void* ptr, void* atDateTime, int nameType, void* locale) { return static_cast(ptr)->displayName(*static_cast(atDateTime), static_cast(nameType), *static_cast(locale)).toUtf8().data(); } int QTimeZone_HasDaylightTime(void* ptr) { return static_cast(ptr)->hasDaylightTime(); } int QTimeZone_HasTransitions(void* ptr) { return static_cast(ptr)->hasTransitions(); } char* QTimeZone_QTimeZone_IanaIdToWindowsId(char* ianaId) { return QString(QTimeZone::ianaIdToWindowsId(QByteArray(ianaId))).toUtf8().data(); } char* QTimeZone_Id(void* ptr) { return QString(static_cast(ptr)->id()).toUtf8().data(); } int QTimeZone_IsDaylightTime(void* ptr, void* atDateTime) { return static_cast(ptr)->isDaylightTime(*static_cast(atDateTime)); } int QTimeZone_QTimeZone_IsTimeZoneIdAvailable(char* ianaId) { return QTimeZone::isTimeZoneIdAvailable(QByteArray(ianaId)); } int QTimeZone_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QTimeZone_OffsetFromUtc(void* ptr, void* atDateTime) { return static_cast(ptr)->offsetFromUtc(*static_cast(atDateTime)); } int QTimeZone_StandardTimeOffset(void* ptr, void* atDateTime) { return static_cast(ptr)->standardTimeOffset(*static_cast(atDateTime)); } void QTimeZone_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void* QTimeZone_QTimeZone_SystemTimeZone() { return new QTimeZone(QTimeZone::systemTimeZone()); } char* QTimeZone_QTimeZone_SystemTimeZoneId() { return QString(QTimeZone::systemTimeZoneId()).toUtf8().data(); } void* QTimeZone_QTimeZone_Utc() { return new QTimeZone(QTimeZone::utc()); } char* QTimeZone_QTimeZone_WindowsIdToDefaultIanaId(char* windowsId) { return QString(QTimeZone::windowsIdToDefaultIanaId(QByteArray(windowsId))).toUtf8().data(); } char* QTimeZone_QTimeZone_WindowsIdToDefaultIanaId2(char* windowsId, int country) { return QString(QTimeZone::windowsIdToDefaultIanaId(QByteArray(windowsId), static_cast(country))).toUtf8().data(); } void QTimeZone_DestroyQTimeZone(void* ptr) { static_cast(ptr)->~QTimeZone(); } class MyQTimer: public QTimer { public: MyQTimer(QObject *parent) : QTimer(parent) {}; void start() { callbackQTimer_Start2(this, this->objectName().toUtf8().data()); }; void start(int msec) { callbackQTimer_Start(this, this->objectName().toUtf8().data(), msec); }; void stop() { callbackQTimer_Stop(this, this->objectName().toUtf8().data()); }; void Signal_Timeout() { callbackQTimer_Timeout(this, this->objectName().toUtf8().data()); }; void timerEvent(QTimerEvent * e) { callbackQTimer_TimerEvent(this, this->objectName().toUtf8().data(), e); }; void childEvent(QChildEvent * event) { callbackQTimer_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQTimer_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQTimer_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQTimer_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQTimer_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQTimer_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQTimer_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQTimer_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; int QTimer_RemainingTime(void* ptr) { return static_cast(ptr)->remainingTime(); } void QTimer_SetInterval(void* ptr, int msec) { static_cast(ptr)->setInterval(msec); } void* QTimer_NewQTimer(void* parent) { return new MyQTimer(static_cast(parent)); } int QTimer_Interval(void* ptr) { return static_cast(ptr)->interval(); } int QTimer_IsActive(void* ptr) { return static_cast(ptr)->isActive(); } int QTimer_IsSingleShot(void* ptr) { return static_cast(ptr)->isSingleShot(); } void QTimer_SetSingleShot(void* ptr, int singleShot) { static_cast(ptr)->setSingleShot(singleShot != 0); } void QTimer_SetTimerType(void* ptr, int atype) { static_cast(ptr)->setTimerType(static_cast(atype)); } void QTimer_QTimer_SingleShot2(int msec, int timerType, void* receiver, char* member) { QTimer::singleShot(msec, static_cast(timerType), static_cast(receiver), const_cast(member)); } void QTimer_QTimer_SingleShot(int msec, void* receiver, char* member) { QTimer::singleShot(msec, static_cast(receiver), const_cast(member)); } void QTimer_Start2(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "start"); } void QTimer_Start(void* ptr, int msec) { QMetaObject::invokeMethod(static_cast(ptr), "start", Q_ARG(int, msec)); } void QTimer_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } void QTimer_ConnectTimeout(void* ptr) { QObject::connect(static_cast(ptr), &QTimer::timeout, static_cast(ptr), static_cast(&MyQTimer::Signal_Timeout)); } void QTimer_DisconnectTimeout(void* ptr) { QObject::disconnect(static_cast(ptr), &QTimer::timeout, static_cast(ptr), static_cast(&MyQTimer::Signal_Timeout)); } void QTimer_TimerEvent(void* ptr, void* e) { static_cast(ptr)->timerEvent(static_cast(e)); } void QTimer_TimerEventDefault(void* ptr, void* e) { static_cast(ptr)->QTimer::timerEvent(static_cast(e)); } int QTimer_TimerId(void* ptr) { return static_cast(ptr)->timerId(); } int QTimer_TimerType(void* ptr) { return static_cast(ptr)->timerType(); } void QTimer_DestroyQTimer(void* ptr) { static_cast(ptr)->~QTimer(); } void QTimer_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QTimer_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QTimer::childEvent(static_cast(event)); } void QTimer_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QTimer_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QTimer::connectNotify(*static_cast(sign)); } void QTimer_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QTimer_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QTimer::customEvent(static_cast(event)); } void QTimer_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QTimer_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QTimer::deleteLater(); } void QTimer_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QTimer_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QTimer::disconnectNotify(*static_cast(sign)); } int QTimer_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QTimer_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QTimer::event(static_cast(e)); } int QTimer_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QTimer_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QTimer::eventFilter(static_cast(watched), static_cast(event)); } void* QTimer_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QTimer_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QTimer::metaObject()); } void* QTimerEvent_NewQTimerEvent(int timerId) { return new QTimerEvent(timerId); } int QTimerEvent_TimerId(void* ptr) { return static_cast(ptr)->timerId(); } class MyQTranslator: public QTranslator { public: MyQTranslator(QObject *parent) : QTranslator(parent) {}; bool isEmpty() const { return callbackQTranslator_IsEmpty(const_cast(this), this->objectName().toUtf8().data()) != 0; }; QString translate(const char * context, const char * sourceText, const char * disambiguation, int n) const { return QString(callbackQTranslator_Translate(const_cast(this), this->objectName().toUtf8().data(), QString(context).toUtf8().data(), QString(sourceText).toUtf8().data(), QString(disambiguation).toUtf8().data(), n)); }; void timerEvent(QTimerEvent * event) { callbackQTranslator_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQTranslator_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQTranslator_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQTranslator_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQTranslator_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQTranslator_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool event(QEvent * e) { return callbackQTranslator_Event(this, this->objectName().toUtf8().data(), e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQTranslator_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQTranslator_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QTranslator_NewQTranslator(void* parent) { return new MyQTranslator(static_cast(parent)); } int QTranslator_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QTranslator_IsEmptyDefault(void* ptr) { return static_cast(ptr)->QTranslator::isEmpty(); } int QTranslator_Load2(void* ptr, void* locale, char* filename, char* prefix, char* directory, char* suffix) { return static_cast(ptr)->load(*static_cast(locale), QString(filename), QString(prefix), QString(directory), QString(suffix)); } int QTranslator_Load(void* ptr, char* filename, char* directory, char* search_delimiters, char* suffix) { return static_cast(ptr)->load(QString(filename), QString(directory), QString(search_delimiters), QString(suffix)); } char* QTranslator_Translate(void* ptr, char* context, char* sourceText, char* disambiguation, int n) { return static_cast(ptr)->translate(const_cast(context), const_cast(sourceText), const_cast(disambiguation), n).toUtf8().data(); } char* QTranslator_TranslateDefault(void* ptr, char* context, char* sourceText, char* disambiguation, int n) { return static_cast(ptr)->QTranslator::translate(const_cast(context), const_cast(sourceText), const_cast(disambiguation), n).toUtf8().data(); } void QTranslator_DestroyQTranslator(void* ptr) { static_cast(ptr)->~QTranslator(); } void QTranslator_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QTranslator_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QTranslator::timerEvent(static_cast(event)); } void QTranslator_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QTranslator_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QTranslator::childEvent(static_cast(event)); } void QTranslator_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QTranslator_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QTranslator::connectNotify(*static_cast(sign)); } void QTranslator_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QTranslator_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QTranslator::customEvent(static_cast(event)); } void QTranslator_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QTranslator_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QTranslator::deleteLater(); } void QTranslator_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QTranslator_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QTranslator::disconnectNotify(*static_cast(sign)); } int QTranslator_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } int QTranslator_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QTranslator::event(static_cast(e)); } int QTranslator_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QTranslator_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QTranslator::eventFilter(static_cast(watched), static_cast(event)); } void* QTranslator_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QTranslator_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QTranslator::metaObject()); } void* QUrl_QUrl_FromEncoded(char* input, int parsingMode) { return new QUrl(QUrl::fromEncoded(QByteArray(input), static_cast(parsingMode))); } void* QUrl_NewQUrl() { return new QUrl(); } void* QUrl_NewQUrl4(void* other) { return new QUrl(*static_cast(other)); } void* QUrl_NewQUrl3(char* url, int parsingMode) { return new QUrl(QString(url), static_cast(parsingMode)); } void* QUrl_NewQUrl2(void* other) { return new QUrl(*static_cast(other)); } void* QUrl_Adjusted(void* ptr, int options) { return new QUrl(static_cast(ptr)->adjusted(static_cast(options))); } char* QUrl_Authority(void* ptr, int options) { return static_cast(ptr)->authority(static_cast(options)).toUtf8().data(); } void QUrl_Clear(void* ptr) { static_cast(ptr)->clear(); } char* QUrl_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } char* QUrl_FileName(void* ptr, int options) { return static_cast(ptr)->fileName(static_cast(options)).toUtf8().data(); } char* QUrl_Fragment(void* ptr, int options) { return static_cast(ptr)->fragment(static_cast(options)).toUtf8().data(); } char* QUrl_QUrl_FromAce(char* domain) { return QUrl::fromAce(QByteArray(domain)).toUtf8().data(); } void* QUrl_QUrl_FromLocalFile(char* localFile) { return new QUrl(QUrl::fromLocalFile(QString(localFile))); } char* QUrl_QUrl_FromPercentEncoding(char* input) { return QUrl::fromPercentEncoding(QByteArray(input)).toUtf8().data(); } void* QUrl_QUrl_FromUserInput(char* userInput) { return new QUrl(QUrl::fromUserInput(QString(userInput))); } void* QUrl_QUrl_FromUserInput2(char* userInput, char* workingDirectory, int options) { return new QUrl(QUrl::fromUserInput(QString(userInput), QString(workingDirectory), static_cast(options))); } int QUrl_HasFragment(void* ptr) { return static_cast(ptr)->hasFragment(); } int QUrl_HasQuery(void* ptr) { return static_cast(ptr)->hasQuery(); } char* QUrl_Host(void* ptr, int options) { return static_cast(ptr)->host(static_cast(options)).toUtf8().data(); } char* QUrl_QUrl_IdnWhitelist() { return QUrl::idnWhitelist().join("|").toUtf8().data(); } int QUrl_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } int QUrl_IsLocalFile(void* ptr) { return static_cast(ptr)->isLocalFile(); } int QUrl_IsParentOf(void* ptr, void* childUrl) { return static_cast(ptr)->isParentOf(*static_cast(childUrl)); } int QUrl_IsRelative(void* ptr) { return static_cast(ptr)->isRelative(); } int QUrl_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } int QUrl_Matches(void* ptr, void* url, int options) { return static_cast(ptr)->matches(*static_cast(url), static_cast(options)); } char* QUrl_Password(void* ptr, int options) { return static_cast(ptr)->password(static_cast(options)).toUtf8().data(); } char* QUrl_Path(void* ptr, int options) { return static_cast(ptr)->path(static_cast(options)).toUtf8().data(); } int QUrl_Port(void* ptr, int defaultPort) { return static_cast(ptr)->port(defaultPort); } char* QUrl_Query(void* ptr, int options) { return static_cast(ptr)->query(static_cast(options)).toUtf8().data(); } void* QUrl_Resolved(void* ptr, void* relative) { return new QUrl(static_cast(ptr)->resolved(*static_cast(relative))); } char* QUrl_Scheme(void* ptr) { return static_cast(ptr)->scheme().toUtf8().data(); } void QUrl_SetAuthority(void* ptr, char* authority, int mode) { static_cast(ptr)->setAuthority(QString(authority), static_cast(mode)); } void QUrl_SetFragment(void* ptr, char* fragment, int mode) { static_cast(ptr)->setFragment(QString(fragment), static_cast(mode)); } void QUrl_SetHost(void* ptr, char* host, int mode) { static_cast(ptr)->setHost(QString(host), static_cast(mode)); } void QUrl_QUrl_SetIdnWhitelist(char* list) { QUrl::setIdnWhitelist(QString(list).split("|", QString::SkipEmptyParts)); } void QUrl_SetPassword(void* ptr, char* password, int mode) { static_cast(ptr)->setPassword(QString(password), static_cast(mode)); } void QUrl_SetPath(void* ptr, char* path, int mode) { static_cast(ptr)->setPath(QString(path), static_cast(mode)); } void QUrl_SetPort(void* ptr, int port) { static_cast(ptr)->setPort(port); } void QUrl_SetQuery(void* ptr, char* query, int mode) { static_cast(ptr)->setQuery(QString(query), static_cast(mode)); } void QUrl_SetQuery2(void* ptr, void* query) { static_cast(ptr)->setQuery(*static_cast(query)); } void QUrl_SetScheme(void* ptr, char* scheme) { static_cast(ptr)->setScheme(QString(scheme)); } void QUrl_SetUrl(void* ptr, char* url, int parsingMode) { static_cast(ptr)->setUrl(QString(url), static_cast(parsingMode)); } void QUrl_SetUserInfo(void* ptr, char* userInfo, int mode) { static_cast(ptr)->setUserInfo(QString(userInfo), static_cast(mode)); } void QUrl_SetUserName(void* ptr, char* userName, int mode) { static_cast(ptr)->setUserName(QString(userName), static_cast(mode)); } void QUrl_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } char* QUrl_QUrl_ToAce(char* domain) { return QString(QUrl::toAce(QString(domain))).toUtf8().data(); } char* QUrl_ToDisplayString(void* ptr, int options) { return static_cast(ptr)->toDisplayString(static_cast(options)).toUtf8().data(); } char* QUrl_ToEncoded(void* ptr, int options) { return QString(static_cast(ptr)->toEncoded(static_cast(options))).toUtf8().data(); } char* QUrl_ToLocalFile(void* ptr) { return static_cast(ptr)->toLocalFile().toUtf8().data(); } char* QUrl_QUrl_ToPercentEncoding(char* input, char* exclude, char* include) { return QString(QUrl::toPercentEncoding(QString(input), QByteArray(exclude), QByteArray(include))).toUtf8().data(); } char* QUrl_ToString(void* ptr, int options) { return static_cast(ptr)->toString(static_cast(options)).toUtf8().data(); } char* QUrl_TopLevelDomain(void* ptr, int options) { return static_cast(ptr)->topLevelDomain(static_cast(options)).toUtf8().data(); } char* QUrl_Url(void* ptr, int options) { return static_cast(ptr)->url(static_cast(options)).toUtf8().data(); } char* QUrl_UserInfo(void* ptr, int options) { return static_cast(ptr)->userInfo(static_cast(options)).toUtf8().data(); } char* QUrl_UserName(void* ptr, int options) { return static_cast(ptr)->userName(static_cast(options)).toUtf8().data(); } void QUrl_DestroyQUrl(void* ptr) { static_cast(ptr)->~QUrl(); } void* QUrlQuery_NewQUrlQuery() { return new QUrlQuery(); } void* QUrlQuery_NewQUrlQuery3(char* queryString) { return new QUrlQuery(QString(queryString)); } void* QUrlQuery_NewQUrlQuery2(void* url) { return new QUrlQuery(*static_cast(url)); } void* QUrlQuery_NewQUrlQuery4(void* other) { return new QUrlQuery(*static_cast(other)); } void QUrlQuery_AddQueryItem(void* ptr, char* key, char* value) { static_cast(ptr)->addQueryItem(QString(key), QString(value)); } char* QUrlQuery_AllQueryItemValues(void* ptr, char* key, int encoding) { return static_cast(ptr)->allQueryItemValues(QString(key), static_cast(encoding)).join("|").toUtf8().data(); } void QUrlQuery_Clear(void* ptr) { static_cast(ptr)->clear(); } int QUrlQuery_HasQueryItem(void* ptr, char* key) { return static_cast(ptr)->hasQueryItem(QString(key)); } int QUrlQuery_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } char* QUrlQuery_Query(void* ptr, int encoding) { return static_cast(ptr)->query(static_cast(encoding)).toUtf8().data(); } char* QUrlQuery_QueryItemValue(void* ptr, char* key, int encoding) { return static_cast(ptr)->queryItemValue(QString(key), static_cast(encoding)).toUtf8().data(); } void QUrlQuery_RemoveAllQueryItems(void* ptr, char* key) { static_cast(ptr)->removeAllQueryItems(QString(key)); } void QUrlQuery_RemoveQueryItem(void* ptr, char* key) { static_cast(ptr)->removeQueryItem(QString(key)); } void QUrlQuery_SetQuery(void* ptr, char* queryString) { static_cast(ptr)->setQuery(QString(queryString)); } void QUrlQuery_SetQueryDelimiters(void* ptr, void* valueDelimiter, void* pairDelimiter) { static_cast(ptr)->setQueryDelimiters(*static_cast(valueDelimiter), *static_cast(pairDelimiter)); } void QUrlQuery_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } char* QUrlQuery_ToString(void* ptr, int encoding) { return static_cast(ptr)->toString(static_cast(encoding)).toUtf8().data(); } void QUrlQuery_DestroyQUrlQuery(void* ptr) { static_cast(ptr)->~QUrlQuery(); } int QUuid_Variant(void* ptr) { return static_cast(ptr)->variant(); } int QUuid_Version(void* ptr) { return static_cast(ptr)->version(); } void* QUuid_NewQUuid() { return new QUuid(); } void* QUuid_NewQUuid5(char* text) { return new QUuid(QByteArray(text)); } void* QUuid_NewQUuid3(char* text) { return new QUuid(QString(text)); } int QUuid_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } char* QUuid_ToByteArray(void* ptr) { return QString(static_cast(ptr)->toByteArray()).toUtf8().data(); } char* QUuid_ToRfc4122(void* ptr) { return QString(static_cast(ptr)->toRfc4122()).toUtf8().data(); } char* QUuid_ToString(void* ptr) { return static_cast(ptr)->toString().toUtf8().data(); } void* QVariant_NewQVariant20(void* c) { return new QVariant(*static_cast(c)); } void* QVariant_NewQVariant18(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant11(int val) { return new QVariant(val != 0); } void* QVariant_NewQVariant16(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant15(char* val) { return new QVariant(QByteArray(val)); } void* QVariant_NewQVariant21(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant23(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant39(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant45(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant46(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant44(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant43(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant31(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant32(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant35(void* l) { return new QVariant(*static_cast(l)); } void* QVariant_NewQVariant41(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant42(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant29(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant30(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant33(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant34(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant36(void* regExp) { return new QVariant(*static_cast(regExp)); } void* QVariant_NewQVariant37(void* re) { return new QVariant(*static_cast(re)); } void* QVariant_NewQVariant27(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant28(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant17(char* val) { return new QVariant(QString(val)); } void* QVariant_NewQVariant19(char* val) { return new QVariant(QString(val).split("|", QString::SkipEmptyParts)); } void* QVariant_NewQVariant22(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant38(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant40(void* val) { return new QVariant(*static_cast(val)); } void* QVariant_NewQVariant5(void* p) { return new QVariant(*static_cast(p)); } void* QVariant_NewQVariant14(char* val) { return new QVariant(const_cast(val)); } void* QVariant_NewQVariant3(int typeId, void* copy) { return new QVariant(typeId, copy); } void* QVariant_NewQVariant7(int val) { return new QVariant(val); } char* QVariant_ToByteArray(void* ptr) { return QString(static_cast(ptr)->toByteArray()).toUtf8().data(); } void* QVariant_ToDateTime(void* ptr) { return new QDateTime(static_cast(ptr)->toDateTime()); } void* QVariant_ToEasingCurve(void* ptr) { return new QEasingCurve(static_cast(ptr)->toEasingCurve()); } void* QVariant_ToLine(void* ptr) { return new QLine(static_cast(static_cast(ptr)->toLine()).p1(), static_cast(static_cast(ptr)->toLine()).p2()); } void* QVariant_ToLineF(void* ptr) { return new QLineF(static_cast(static_cast(ptr)->toLineF()).p1(), static_cast(static_cast(ptr)->toLineF()).p2()); } void* QVariant_ToLocale(void* ptr) { return new QLocale(static_cast(ptr)->toLocale()); } void* QVariant_ToPoint(void* ptr) { return new QPoint(static_cast(static_cast(ptr)->toPoint()).x(), static_cast(static_cast(ptr)->toPoint()).y()); } void* QVariant_ToPointF(void* ptr) { return new QPointF(static_cast(static_cast(ptr)->toPointF()).x(), static_cast(static_cast(ptr)->toPointF()).y()); } void* QVariant_ToRect(void* ptr) { return new QRect(static_cast(static_cast(ptr)->toRect()).x(), static_cast(static_cast(ptr)->toRect()).y(), static_cast(static_cast(ptr)->toRect()).width(), static_cast(static_cast(ptr)->toRect()).height()); } void* QVariant_ToRectF(void* ptr) { return new QRectF(static_cast(static_cast(ptr)->toRectF()).x(), static_cast(static_cast(ptr)->toRectF()).y(), static_cast(static_cast(ptr)->toRectF()).width(), static_cast(static_cast(ptr)->toRectF()).height()); } void* QVariant_ToRegExp(void* ptr) { return new QRegExp(static_cast(ptr)->toRegExp()); } void* QVariant_ToRegularExpression(void* ptr) { return new QRegularExpression(static_cast(ptr)->toRegularExpression()); } void* QVariant_ToSize(void* ptr) { return new QSize(static_cast(static_cast(ptr)->toSize()).width(), static_cast(static_cast(ptr)->toSize()).height()); } void* QVariant_ToSizeF(void* ptr) { return new QSizeF(static_cast(static_cast(ptr)->toSizeF()).width(), static_cast(static_cast(ptr)->toSizeF()).height()); } char* QVariant_ToStringList(void* ptr) { return static_cast(ptr)->toStringList().join("|").toUtf8().data(); } void* QVariant_ToUrl(void* ptr) { return new QUrl(static_cast(ptr)->toUrl()); } void QVariant_DestroyQVariant(void* ptr) { static_cast(ptr)->~QVariant(); } void* QVariant_NewQVariant() { return new QVariant(); } void* QVariant_NewQVariant6(void* s) { return new QVariant(*static_cast(s)); } void* QVariant_NewQVariant47(void* other) { return new QVariant(*static_cast(other)); } void QVariant_Clear(void* ptr) { static_cast(ptr)->clear(); } int QVariant_Convert(void* ptr, int targetTypeId) { return static_cast(ptr)->convert(targetTypeId); } int QVariant_IsNull(void* ptr) { return static_cast(ptr)->isNull(); } int QVariant_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } void QVariant_Swap(void* ptr, void* other) { static_cast(ptr)->swap(*static_cast(other)); } void* QVariant_ToBitArray(void* ptr) { return new QBitArray(static_cast(ptr)->toBitArray()); } int QVariant_ToBool(void* ptr) { return static_cast(ptr)->toBool(); } int QVariant_ToInt(void* ptr, int ok) { return static_cast(ptr)->toInt(NULL); } void* QVariant_ToJsonArray(void* ptr) { return new QJsonArray(static_cast(ptr)->toJsonArray()); } void* QVariant_ToJsonDocument(void* ptr) { return new QJsonDocument(static_cast(ptr)->toJsonDocument()); } void* QVariant_ToJsonObject(void* ptr) { return new QJsonObject(static_cast(ptr)->toJsonObject()); } void* QVariant_ToJsonValue(void* ptr) { return new QJsonValue(static_cast(ptr)->toJsonValue()); } void* QVariant_ToModelIndex(void* ptr) { return new QModelIndex(static_cast(ptr)->toModelIndex()); } void* QVariant_ToPersistentModelIndex(void* ptr) { return new QPersistentModelIndex(static_cast(ptr)->toPersistentModelIndex()); } double QVariant_ToReal(void* ptr, int ok) { return static_cast(static_cast(ptr)->toReal(NULL)); } char* QVariant_ToString(void* ptr) { return static_cast(ptr)->toString().toUtf8().data(); } char* QVariant_TypeName(void* ptr) { return QString(static_cast(ptr)->typeName()).toUtf8().data(); } char* QVariant_QVariant_TypeToName(int typeId) { return QString(QVariant::typeToName(typeId)).toUtf8().data(); } int QVariant_UserType(void* ptr) { return static_cast(ptr)->userType(); } class MyQVariantAnimation: public QVariantAnimation { public: MyQVariantAnimation(QObject *parent) : QVariantAnimation(parent) {}; int duration() const { return callbackQVariantAnimation_Duration(const_cast(this), this->objectName().toUtf8().data()); }; bool event(QEvent * event) { return callbackQVariantAnimation_Event(this, this->objectName().toUtf8().data(), event) != 0; }; QVariant interpolated(const QVariant & from, const QVariant & to, qreal progress) const { return *static_cast(callbackQVariantAnimation_Interpolated(const_cast(this), this->objectName().toUtf8().data(), new QVariant(from), new QVariant(to), static_cast(progress))); }; void updateCurrentTime(int vin) { callbackQVariantAnimation_UpdateCurrentTime(this, this->objectName().toUtf8().data(), vin); }; void updateCurrentValue(const QVariant & value) { callbackQVariantAnimation_UpdateCurrentValue(this, this->objectName().toUtf8().data(), new QVariant(value)); }; void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState) { callbackQVariantAnimation_UpdateState(this, this->objectName().toUtf8().data(), newState, oldState); }; void Signal_ValueChanged(const QVariant & value) { callbackQVariantAnimation_ValueChanged(this, this->objectName().toUtf8().data(), new QVariant(value)); }; void setCurrentTime(int msecs) { callbackQVariantAnimation_SetCurrentTime(this, this->objectName().toUtf8().data(), msecs); }; void pause() { callbackQVariantAnimation_Pause(this, this->objectName().toUtf8().data()); }; void resume() { callbackQVariantAnimation_Resume(this, this->objectName().toUtf8().data()); }; void setPaused(bool paused) { callbackQVariantAnimation_SetPaused(this, this->objectName().toUtf8().data(), paused); }; void start(QAbstractAnimation::DeletionPolicy policy) { callbackQVariantAnimation_Start(this, this->objectName().toUtf8().data(), policy); }; void stop() { callbackQVariantAnimation_Stop(this, this->objectName().toUtf8().data()); }; void updateDirection(QAbstractAnimation::Direction direction) { callbackQVariantAnimation_UpdateDirection(this, this->objectName().toUtf8().data(), direction); }; void timerEvent(QTimerEvent * event) { callbackQVariantAnimation_TimerEvent(this, this->objectName().toUtf8().data(), event); }; void childEvent(QChildEvent * event) { callbackQVariantAnimation_ChildEvent(this, this->objectName().toUtf8().data(), event); }; void connectNotify(const QMetaMethod & sign) { callbackQVariantAnimation_ConnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; void customEvent(QEvent * event) { callbackQVariantAnimation_CustomEvent(this, this->objectName().toUtf8().data(), event); }; void deleteLater() { callbackQVariantAnimation_DeleteLater(this, this->objectName().toUtf8().data()); }; void disconnectNotify(const QMetaMethod & sign) { callbackQVariantAnimation_DisconnectNotify(this, this->objectName().toUtf8().data(), new QMetaMethod(sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQVariantAnimation_EventFilter(this, this->objectName().toUtf8().data(), watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQVariantAnimation_MetaObject(const_cast(this), this->objectName().toUtf8().data())); }; }; void* QVariantAnimation_CurrentValue(void* ptr) { return new QVariant(static_cast(ptr)->currentValue()); } int QVariantAnimation_Duration(void* ptr) { return static_cast(ptr)->duration(); } int QVariantAnimation_DurationDefault(void* ptr) { return static_cast(ptr)->QVariantAnimation::duration(); } void* QVariantAnimation_EasingCurve(void* ptr) { return new QEasingCurve(static_cast(ptr)->easingCurve()); } void* QVariantAnimation_EndValue(void* ptr) { return new QVariant(static_cast(ptr)->endValue()); } void QVariantAnimation_SetDuration(void* ptr, int msecs) { static_cast(ptr)->setDuration(msecs); } void QVariantAnimation_SetEasingCurve(void* ptr, void* easing) { static_cast(ptr)->setEasingCurve(*static_cast(easing)); } void QVariantAnimation_SetEndValue(void* ptr, void* value) { static_cast(ptr)->setEndValue(*static_cast(value)); } void QVariantAnimation_SetStartValue(void* ptr, void* value) { static_cast(ptr)->setStartValue(*static_cast(value)); } void* QVariantAnimation_StartValue(void* ptr) { return new QVariant(static_cast(ptr)->startValue()); } void* QVariantAnimation_NewQVariantAnimation(void* parent) { return new MyQVariantAnimation(static_cast(parent)); } void* QVariantAnimation_KeyValueAt(void* ptr, double step) { return new QVariant(static_cast(ptr)->keyValueAt(static_cast(step))); } int QVariantAnimation_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } int QVariantAnimation_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QVariantAnimation::event(static_cast(event)); } void* QVariantAnimation_Interpolated(void* ptr, void* from, void* to, double progress) { return new QVariant(static_cast(ptr)->interpolated(*static_cast(from), *static_cast(to), static_cast(progress))); } void* QVariantAnimation_InterpolatedDefault(void* ptr, void* from, void* to, double progress) { return new QVariant(static_cast(ptr)->QVariantAnimation::interpolated(*static_cast(from), *static_cast(to), static_cast(progress))); } void QVariantAnimation_SetKeyValueAt(void* ptr, double step, void* value) { static_cast(ptr)->setKeyValueAt(static_cast(step), *static_cast(value)); } void QVariantAnimation_UpdateCurrentTime(void* ptr, int vin) { static_cast(ptr)->updateCurrentTime(vin); } void QVariantAnimation_UpdateCurrentTimeDefault(void* ptr, int vin) { static_cast(ptr)->QVariantAnimation::updateCurrentTime(vin); } void QVariantAnimation_UpdateCurrentValue(void* ptr, void* value) { static_cast(ptr)->updateCurrentValue(*static_cast(value)); } void QVariantAnimation_UpdateCurrentValueDefault(void* ptr, void* value) { static_cast(ptr)->QVariantAnimation::updateCurrentValue(*static_cast(value)); } void QVariantAnimation_UpdateState(void* ptr, int newState, int oldState) { static_cast(ptr)->updateState(static_cast(newState), static_cast(oldState)); } void QVariantAnimation_UpdateStateDefault(void* ptr, int newState, int oldState) { static_cast(ptr)->QVariantAnimation::updateState(static_cast(newState), static_cast(oldState)); } void QVariantAnimation_ConnectValueChanged(void* ptr) { QObject::connect(static_cast(ptr), static_cast(&QVariantAnimation::valueChanged), static_cast(ptr), static_cast(&MyQVariantAnimation::Signal_ValueChanged)); } void QVariantAnimation_DisconnectValueChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QVariantAnimation::valueChanged), static_cast(ptr), static_cast(&MyQVariantAnimation::Signal_ValueChanged)); } void QVariantAnimation_ValueChanged(void* ptr, void* value) { static_cast(ptr)->valueChanged(*static_cast(value)); } void QVariantAnimation_DestroyQVariantAnimation(void* ptr) { static_cast(ptr)->~QVariantAnimation(); } void QVariantAnimation_SetCurrentTime(void* ptr, int msecs) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentTime", Q_ARG(int, msecs)); } void QVariantAnimation_SetCurrentTimeDefault(void* ptr, int msecs) { static_cast(ptr)->QVariantAnimation::setCurrentTime(msecs); } void QVariantAnimation_Pause(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "pause"); } void QVariantAnimation_PauseDefault(void* ptr) { static_cast(ptr)->QVariantAnimation::pause(); } void QVariantAnimation_Resume(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resume"); } void QVariantAnimation_ResumeDefault(void* ptr) { static_cast(ptr)->QVariantAnimation::resume(); } void QVariantAnimation_SetPaused(void* ptr, int paused) { QMetaObject::invokeMethod(static_cast(ptr), "setPaused", Q_ARG(bool, paused != 0)); } void QVariantAnimation_SetPausedDefault(void* ptr, int paused) { static_cast(ptr)->QVariantAnimation::setPaused(paused != 0); } void QVariantAnimation_Start(void* ptr, int policy) { QMetaObject::invokeMethod(static_cast(ptr), "start", Q_ARG(QAbstractAnimation::DeletionPolicy, static_cast(policy))); } void QVariantAnimation_StartDefault(void* ptr, int policy) { static_cast(ptr)->QVariantAnimation::start(static_cast(policy)); } void QVariantAnimation_Stop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stop"); } void QVariantAnimation_StopDefault(void* ptr) { static_cast(ptr)->QVariantAnimation::stop(); } void QVariantAnimation_UpdateDirection(void* ptr, int direction) { static_cast(ptr)->updateDirection(static_cast(direction)); } void QVariantAnimation_UpdateDirectionDefault(void* ptr, int direction) { static_cast(ptr)->QVariantAnimation::updateDirection(static_cast(direction)); } void QVariantAnimation_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QVariantAnimation_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QVariantAnimation::timerEvent(static_cast(event)); } void QVariantAnimation_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QVariantAnimation_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QVariantAnimation::childEvent(static_cast(event)); } void QVariantAnimation_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QVariantAnimation_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QVariantAnimation::connectNotify(*static_cast(sign)); } void QVariantAnimation_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QVariantAnimation_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QVariantAnimation::customEvent(static_cast(event)); } void QVariantAnimation_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QVariantAnimation_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QVariantAnimation::deleteLater(); } void QVariantAnimation_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QVariantAnimation_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QVariantAnimation::disconnectNotify(*static_cast(sign)); } int QVariantAnimation_EventFilter(void* ptr, void* watched, void* event) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } int QVariantAnimation_EventFilterDefault(void* ptr, void* watched, void* event) { return static_cast(ptr)->QVariantAnimation::eventFilter(static_cast(watched), static_cast(event)); } void* QVariantAnimation_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QVariantAnimation_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QVariantAnimation::metaObject()); } void* QWaitCondition_NewQWaitCondition() { return new QWaitCondition(); } void QWaitCondition_WakeAll(void* ptr) { static_cast(ptr)->wakeAll(); } void QWaitCondition_WakeOne(void* ptr) { static_cast(ptr)->wakeOne(); } void QWaitCondition_DestroyQWaitCondition(void* ptr) { static_cast(ptr)->~QWaitCondition(); } void* QWriteLocker_NewQWriteLocker(void* lock) { return new QWriteLocker(static_cast(lock)); } void* QWriteLocker_ReadWriteLock(void* ptr) { return static_cast(ptr)->readWriteLock(); } void QWriteLocker_Relock(void* ptr) { static_cast(ptr)->relock(); } void QWriteLocker_Unlock(void* ptr) { static_cast(ptr)->unlock(); } void QWriteLocker_DestroyQWriteLocker(void* ptr) { static_cast(ptr)->~QWriteLocker(); } void* QXmlStreamAttribute_NewQXmlStreamAttribute() { return new QXmlStreamAttribute(); } void* QXmlStreamAttribute_NewQXmlStreamAttribute3(char* namespaceUri, char* name, char* value) { return new QXmlStreamAttribute(QString(namespaceUri), QString(name), QString(value)); } void* QXmlStreamAttribute_NewQXmlStreamAttribute2(char* qualifiedName, char* value) { return new QXmlStreamAttribute(QString(qualifiedName), QString(value)); } void* QXmlStreamAttribute_NewQXmlStreamAttribute4(void* other) { return new QXmlStreamAttribute(*static_cast(other)); } int QXmlStreamAttribute_IsDefault(void* ptr) { return static_cast(ptr)->isDefault(); } void* QXmlStreamAttribute_Name(void* ptr) { return new QStringRef(static_cast(ptr)->name()); } void* QXmlStreamAttribute_NamespaceUri(void* ptr) { return new QStringRef(static_cast(ptr)->namespaceUri()); } void* QXmlStreamAttribute_Prefix(void* ptr) { return new QStringRef(static_cast(ptr)->prefix()); } void* QXmlStreamAttribute_QualifiedName(void* ptr) { return new QStringRef(static_cast(ptr)->qualifiedName()); } void* QXmlStreamAttribute_Value(void* ptr) { return new QStringRef(static_cast(ptr)->value()); } void QXmlStreamAttribute_DestroyQXmlStreamAttribute(void* ptr) { static_cast(ptr)->~QXmlStreamAttribute(); } void* QXmlStreamAttributes_NewQXmlStreamAttributes() { return new QXmlStreamAttributes(); } void QXmlStreamAttributes_Append(void* ptr, char* namespaceUri, char* name, char* value) { static_cast(ptr)->append(QString(namespaceUri), QString(name), QString(value)); } void QXmlStreamAttributes_Append2(void* ptr, char* qualifiedName, char* value) { static_cast(ptr)->append(QString(qualifiedName), QString(value)); } int QXmlStreamAttributes_HasAttribute2(void* ptr, void* qualifiedName) { return static_cast(ptr)->hasAttribute(*static_cast(qualifiedName)); } int QXmlStreamAttributes_HasAttribute3(void* ptr, char* namespaceUri, char* name) { return static_cast(ptr)->hasAttribute(QString(namespaceUri), QString(name)); } int QXmlStreamAttributes_HasAttribute(void* ptr, char* qualifiedName) { return static_cast(ptr)->hasAttribute(QString(qualifiedName)); } void* QXmlStreamAttributes_Value3(void* ptr, void* namespaceUri, void* name) { return new QStringRef(static_cast(ptr)->value(*static_cast(namespaceUri), *static_cast(name))); } void* QXmlStreamAttributes_Value5(void* ptr, void* qualifiedName) { return new QStringRef(static_cast(ptr)->value(*static_cast(qualifiedName))); } void* QXmlStreamAttributes_Value2(void* ptr, char* namespaceUri, void* name) { return new QStringRef(static_cast(ptr)->value(QString(namespaceUri), *static_cast(name))); } void* QXmlStreamAttributes_Value(void* ptr, char* namespaceUri, char* name) { return new QStringRef(static_cast(ptr)->value(QString(namespaceUri), QString(name))); } void* QXmlStreamAttributes_Value4(void* ptr, char* qualifiedName) { return new QStringRef(static_cast(ptr)->value(QString(qualifiedName))); } void* QXmlStreamEntityDeclaration_NewQXmlStreamEntityDeclaration() { return new QXmlStreamEntityDeclaration(); } void* QXmlStreamEntityDeclaration_NewQXmlStreamEntityDeclaration2(void* other) { return new QXmlStreamEntityDeclaration(*static_cast(other)); } void* QXmlStreamEntityDeclaration_Name(void* ptr) { return new QStringRef(static_cast(ptr)->name()); } void* QXmlStreamEntityDeclaration_NotationName(void* ptr) { return new QStringRef(static_cast(ptr)->notationName()); } void* QXmlStreamEntityDeclaration_PublicId(void* ptr) { return new QStringRef(static_cast(ptr)->publicId()); } void* QXmlStreamEntityDeclaration_SystemId(void* ptr) { return new QStringRef(static_cast(ptr)->systemId()); } void* QXmlStreamEntityDeclaration_Value(void* ptr) { return new QStringRef(static_cast(ptr)->value()); } void QXmlStreamEntityDeclaration_DestroyQXmlStreamEntityDeclaration(void* ptr) { static_cast(ptr)->~QXmlStreamEntityDeclaration(); } class MyQXmlStreamEntityResolver: public QXmlStreamEntityResolver { public: QString _objectName; QString objectNameAbs() const { return this->_objectName; }; void setObjectNameAbs(const QString &name) { this->_objectName = name; }; QString resolveUndeclaredEntity(const QString & name) { return QString(callbackQXmlStreamEntityResolver_ResolveUndeclaredEntity(this, this->objectNameAbs().toUtf8().data(), name.toUtf8().data())); }; }; char* QXmlStreamEntityResolver_ResolveUndeclaredEntity(void* ptr, char* name) { return static_cast(ptr)->resolveUndeclaredEntity(QString(name)).toUtf8().data(); } char* QXmlStreamEntityResolver_ResolveUndeclaredEntityDefault(void* ptr, char* name) { return static_cast(ptr)->QXmlStreamEntityResolver::resolveUndeclaredEntity(QString(name)).toUtf8().data(); } void QXmlStreamEntityResolver_DestroyQXmlStreamEntityResolver(void* ptr) { static_cast(ptr)->~QXmlStreamEntityResolver(); } char* QXmlStreamEntityResolver_ObjectNameAbs(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->objectNameAbs().toUtf8().data(); } return QString("QXmlStreamEntityResolver_BASE").toUtf8().data(); } void QXmlStreamEntityResolver_SetObjectNameAbs(void* ptr, char* name) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setObjectNameAbs(QString(name)); } } void* QXmlStreamNamespaceDeclaration_NewQXmlStreamNamespaceDeclaration() { return new QXmlStreamNamespaceDeclaration(); } void* QXmlStreamNamespaceDeclaration_NewQXmlStreamNamespaceDeclaration3(char* prefix, char* namespaceUri) { return new QXmlStreamNamespaceDeclaration(QString(prefix), QString(namespaceUri)); } void* QXmlStreamNamespaceDeclaration_NewQXmlStreamNamespaceDeclaration2(void* other) { return new QXmlStreamNamespaceDeclaration(*static_cast(other)); } void* QXmlStreamNamespaceDeclaration_NamespaceUri(void* ptr) { return new QStringRef(static_cast(ptr)->namespaceUri()); } void* QXmlStreamNamespaceDeclaration_Prefix(void* ptr) { return new QStringRef(static_cast(ptr)->prefix()); } void QXmlStreamNamespaceDeclaration_DestroyQXmlStreamNamespaceDeclaration(void* ptr) { static_cast(ptr)->~QXmlStreamNamespaceDeclaration(); } void* QXmlStreamNotationDeclaration_NewQXmlStreamNotationDeclaration() { return new QXmlStreamNotationDeclaration(); } void* QXmlStreamNotationDeclaration_NewQXmlStreamNotationDeclaration2(void* other) { return new QXmlStreamNotationDeclaration(*static_cast(other)); } void* QXmlStreamNotationDeclaration_Name(void* ptr) { return new QStringRef(static_cast(ptr)->name()); } void* QXmlStreamNotationDeclaration_PublicId(void* ptr) { return new QStringRef(static_cast(ptr)->publicId()); } void* QXmlStreamNotationDeclaration_SystemId(void* ptr) { return new QStringRef(static_cast(ptr)->systemId()); } void QXmlStreamNotationDeclaration_DestroyQXmlStreamNotationDeclaration(void* ptr) { static_cast(ptr)->~QXmlStreamNotationDeclaration(); } int QXmlStreamReader_NamespaceProcessing(void* ptr) { return static_cast(ptr)->namespaceProcessing(); } void QXmlStreamReader_SetNamespaceProcessing(void* ptr, int vbo) { static_cast(ptr)->setNamespaceProcessing(vbo != 0); } void* QXmlStreamReader_NewQXmlStreamReader() { return new QXmlStreamReader(); } void* QXmlStreamReader_NewQXmlStreamReader2(void* device) { return new QXmlStreamReader(static_cast(device)); } void* QXmlStreamReader_NewQXmlStreamReader3(char* data) { return new QXmlStreamReader(QByteArray(data)); } void* QXmlStreamReader_NewQXmlStreamReader4(char* data) { return new QXmlStreamReader(QString(data)); } void* QXmlStreamReader_NewQXmlStreamReader5(char* data) { return new QXmlStreamReader(const_cast(data)); } void QXmlStreamReader_AddData(void* ptr, char* data) { static_cast(ptr)->addData(QByteArray(data)); } void QXmlStreamReader_AddData2(void* ptr, char* data) { static_cast(ptr)->addData(QString(data)); } void QXmlStreamReader_AddData3(void* ptr, char* data) { static_cast(ptr)->addData(const_cast(data)); } void QXmlStreamReader_AddExtraNamespaceDeclaration(void* ptr, void* extraNamespaceDeclaration) { static_cast(ptr)->addExtraNamespaceDeclaration(*static_cast(extraNamespaceDeclaration)); } int QXmlStreamReader_AtEnd(void* ptr) { return static_cast(ptr)->atEnd(); } long long QXmlStreamReader_CharacterOffset(void* ptr) { return static_cast(static_cast(ptr)->characterOffset()); } void QXmlStreamReader_Clear(void* ptr) { static_cast(ptr)->clear(); } long long QXmlStreamReader_ColumnNumber(void* ptr) { return static_cast(static_cast(ptr)->columnNumber()); } void* QXmlStreamReader_Device(void* ptr) { return static_cast(ptr)->device(); } void* QXmlStreamReader_DocumentEncoding(void* ptr) { return new QStringRef(static_cast(ptr)->documentEncoding()); } void* QXmlStreamReader_DocumentVersion(void* ptr) { return new QStringRef(static_cast(ptr)->documentVersion()); } void* QXmlStreamReader_DtdName(void* ptr) { return new QStringRef(static_cast(ptr)->dtdName()); } void* QXmlStreamReader_DtdPublicId(void* ptr) { return new QStringRef(static_cast(ptr)->dtdPublicId()); } void* QXmlStreamReader_DtdSystemId(void* ptr) { return new QStringRef(static_cast(ptr)->dtdSystemId()); } void* QXmlStreamReader_EntityResolver(void* ptr) { return static_cast(ptr)->entityResolver(); } int QXmlStreamReader_Error(void* ptr) { return static_cast(ptr)->error(); } char* QXmlStreamReader_ErrorString(void* ptr) { return static_cast(ptr)->errorString().toUtf8().data(); } int QXmlStreamReader_HasError(void* ptr) { return static_cast(ptr)->hasError(); } int QXmlStreamReader_IsCDATA(void* ptr) { return static_cast(ptr)->isCDATA(); } int QXmlStreamReader_IsCharacters(void* ptr) { return static_cast(ptr)->isCharacters(); } int QXmlStreamReader_IsComment(void* ptr) { return static_cast(ptr)->isComment(); } int QXmlStreamReader_IsDTD(void* ptr) { return static_cast(ptr)->isDTD(); } int QXmlStreamReader_IsEndDocument(void* ptr) { return static_cast(ptr)->isEndDocument(); } int QXmlStreamReader_IsEndElement(void* ptr) { return static_cast(ptr)->isEndElement(); } int QXmlStreamReader_IsEntityReference(void* ptr) { return static_cast(ptr)->isEntityReference(); } int QXmlStreamReader_IsProcessingInstruction(void* ptr) { return static_cast(ptr)->isProcessingInstruction(); } int QXmlStreamReader_IsStandaloneDocument(void* ptr) { return static_cast(ptr)->isStandaloneDocument(); } int QXmlStreamReader_IsStartDocument(void* ptr) { return static_cast(ptr)->isStartDocument(); } int QXmlStreamReader_IsStartElement(void* ptr) { return static_cast(ptr)->isStartElement(); } int QXmlStreamReader_IsWhitespace(void* ptr) { return static_cast(ptr)->isWhitespace(); } long long QXmlStreamReader_LineNumber(void* ptr) { return static_cast(static_cast(ptr)->lineNumber()); } void* QXmlStreamReader_Name(void* ptr) { return new QStringRef(static_cast(ptr)->name()); } void* QXmlStreamReader_NamespaceUri(void* ptr) { return new QStringRef(static_cast(ptr)->namespaceUri()); } void* QXmlStreamReader_Prefix(void* ptr) { return new QStringRef(static_cast(ptr)->prefix()); } void* QXmlStreamReader_ProcessingInstructionData(void* ptr) { return new QStringRef(static_cast(ptr)->processingInstructionData()); } void* QXmlStreamReader_ProcessingInstructionTarget(void* ptr) { return new QStringRef(static_cast(ptr)->processingInstructionTarget()); } void* QXmlStreamReader_QualifiedName(void* ptr) { return new QStringRef(static_cast(ptr)->qualifiedName()); } void QXmlStreamReader_RaiseError(void* ptr, char* message) { static_cast(ptr)->raiseError(QString(message)); } char* QXmlStreamReader_ReadElementText(void* ptr, int behaviour) { return static_cast(ptr)->readElementText(static_cast(behaviour)).toUtf8().data(); } int QXmlStreamReader_ReadNext(void* ptr) { return static_cast(ptr)->readNext(); } int QXmlStreamReader_ReadNextStartElement(void* ptr) { return static_cast(ptr)->readNextStartElement(); } void QXmlStreamReader_SetDevice(void* ptr, void* device) { static_cast(ptr)->setDevice(static_cast(device)); } void QXmlStreamReader_SetEntityResolver(void* ptr, void* resolver) { static_cast(ptr)->setEntityResolver(static_cast(resolver)); } void QXmlStreamReader_SkipCurrentElement(void* ptr) { static_cast(ptr)->skipCurrentElement(); } void* QXmlStreamReader_Text(void* ptr) { return new QStringRef(static_cast(ptr)->text()); } char* QXmlStreamReader_TokenString(void* ptr) { return static_cast(ptr)->tokenString().toUtf8().data(); } int QXmlStreamReader_TokenType(void* ptr) { return static_cast(ptr)->tokenType(); } void QXmlStreamReader_DestroyQXmlStreamReader(void* ptr) { static_cast(ptr)->~QXmlStreamReader(); } int QXmlStreamWriter_AutoFormattingIndent(void* ptr) { return static_cast(ptr)->autoFormattingIndent(); } void QXmlStreamWriter_SetAutoFormattingIndent(void* ptr, int spacesOrTabs) { static_cast(ptr)->setAutoFormattingIndent(spacesOrTabs); } void* QXmlStreamWriter_NewQXmlStreamWriter() { return new QXmlStreamWriter(); } void* QXmlStreamWriter_NewQXmlStreamWriter3(char* array) { return new QXmlStreamWriter(new QByteArray(array)); } void* QXmlStreamWriter_NewQXmlStreamWriter2(void* device) { return new QXmlStreamWriter(static_cast(device)); } void* QXmlStreamWriter_NewQXmlStreamWriter4(char* stri) { return new QXmlStreamWriter(new QString(stri)); } int QXmlStreamWriter_AutoFormatting(void* ptr) { return static_cast(ptr)->autoFormatting(); } void* QXmlStreamWriter_Codec(void* ptr) { return static_cast(ptr)->codec(); } void* QXmlStreamWriter_Device(void* ptr) { return static_cast(ptr)->device(); } int QXmlStreamWriter_HasError(void* ptr) { return static_cast(ptr)->hasError(); } void QXmlStreamWriter_SetAutoFormatting(void* ptr, int enable) { static_cast(ptr)->setAutoFormatting(enable != 0); } void QXmlStreamWriter_SetCodec(void* ptr, void* codec) { static_cast(ptr)->setCodec(static_cast(codec)); } void QXmlStreamWriter_SetCodec2(void* ptr, char* codecName) { static_cast(ptr)->setCodec(const_cast(codecName)); } void QXmlStreamWriter_SetDevice(void* ptr, void* device) { static_cast(ptr)->setDevice(static_cast(device)); } void QXmlStreamWriter_WriteAttribute(void* ptr, char* namespaceUri, char* name, char* value) { static_cast(ptr)->writeAttribute(QString(namespaceUri), QString(name), QString(value)); } void QXmlStreamWriter_WriteAttribute2(void* ptr, char* qualifiedName, char* value) { static_cast(ptr)->writeAttribute(QString(qualifiedName), QString(value)); } void QXmlStreamWriter_WriteAttribute3(void* ptr, void* attribute) { static_cast(ptr)->writeAttribute(*static_cast(attribute)); } void QXmlStreamWriter_WriteAttributes(void* ptr, void* attributes) { static_cast(ptr)->writeAttributes(*static_cast(attributes)); } void QXmlStreamWriter_WriteCDATA(void* ptr, char* text) { static_cast(ptr)->writeCDATA(QString(text)); } void QXmlStreamWriter_WriteCharacters(void* ptr, char* text) { static_cast(ptr)->writeCharacters(QString(text)); } void QXmlStreamWriter_WriteComment(void* ptr, char* text) { static_cast(ptr)->writeComment(QString(text)); } void QXmlStreamWriter_WriteCurrentToken(void* ptr, void* reader) { static_cast(ptr)->writeCurrentToken(*static_cast(reader)); } void QXmlStreamWriter_WriteDTD(void* ptr, char* dtd) { static_cast(ptr)->writeDTD(QString(dtd)); } void QXmlStreamWriter_WriteDefaultNamespace(void* ptr, char* namespaceUri) { static_cast(ptr)->writeDefaultNamespace(QString(namespaceUri)); } void QXmlStreamWriter_WriteEmptyElement(void* ptr, char* namespaceUri, char* name) { static_cast(ptr)->writeEmptyElement(QString(namespaceUri), QString(name)); } void QXmlStreamWriter_WriteEmptyElement2(void* ptr, char* qualifiedName) { static_cast(ptr)->writeEmptyElement(QString(qualifiedName)); } void QXmlStreamWriter_WriteEndDocument(void* ptr) { static_cast(ptr)->writeEndDocument(); } void QXmlStreamWriter_WriteEndElement(void* ptr) { static_cast(ptr)->writeEndElement(); } void QXmlStreamWriter_WriteEntityReference(void* ptr, char* name) { static_cast(ptr)->writeEntityReference(QString(name)); } void QXmlStreamWriter_WriteNamespace(void* ptr, char* namespaceUri, char* prefix) { static_cast(ptr)->writeNamespace(QString(namespaceUri), QString(prefix)); } void QXmlStreamWriter_WriteProcessingInstruction(void* ptr, char* target, char* data) { static_cast(ptr)->writeProcessingInstruction(QString(target), QString(data)); } void QXmlStreamWriter_WriteStartDocument3(void* ptr) { static_cast(ptr)->writeStartDocument(); } void QXmlStreamWriter_WriteStartDocument(void* ptr, char* version) { static_cast(ptr)->writeStartDocument(QString(version)); } void QXmlStreamWriter_WriteStartDocument2(void* ptr, char* version, int standalone) { static_cast(ptr)->writeStartDocument(QString(version), standalone != 0); } void QXmlStreamWriter_WriteStartElement(void* ptr, char* namespaceUri, char* name) { static_cast(ptr)->writeStartElement(QString(namespaceUri), QString(name)); } void QXmlStreamWriter_WriteStartElement2(void* ptr, char* qualifiedName) { static_cast(ptr)->writeStartElement(QString(qualifiedName)); } void QXmlStreamWriter_WriteTextElement(void* ptr, char* namespaceUri, char* name, char* text) { static_cast(ptr)->writeTextElement(QString(namespaceUri), QString(name), QString(text)); } void QXmlStreamWriter_WriteTextElement2(void* ptr, char* qualifiedName, char* text) { static_cast(ptr)->writeTextElement(QString(qualifiedName), QString(text)); } void QXmlStreamWriter_DestroyQXmlStreamWriter(void* ptr) { static_cast(ptr)->~QXmlStreamWriter(); } int Qt_LocaleDate_Type() { return Qt::LocaleDate; } int Qt_SystemLocaleShortDate_Type() { return Qt::SystemLocaleShortDate; } int Qt_SystemLocaleLongDate_Type() { return Qt::SystemLocaleLongDate; } int Qt_DefaultLocaleShortDate_Type() { return Qt::DefaultLocaleShortDate; } int Qt_DefaultLocaleLongDate_Type() { return Qt::DefaultLocaleLongDate; } int Qt_RFC2822Date_Type() { return Qt::RFC2822Date; } int Qt_LastGestureType_Type() { return Qt::LastGestureType; }