269 lines
9.5 KiB
C++
269 lines
9.5 KiB
C++
|
|
|
|
#define protected public
|
|
#define private public
|
|
|
|
#include "moc.h"
|
|
#include "_cgo_export.h"
|
|
|
|
#include <QByteArray>
|
|
#include <QCameraImageCapture>
|
|
#include <QChildEvent>
|
|
#include <QDBusPendingCallWatcher>
|
|
#include <QEvent>
|
|
#include <QExtensionFactory>
|
|
#include <QExtensionManager>
|
|
#include <QGraphicsObject>
|
|
#include <QGraphicsWidget>
|
|
#include <QLayout>
|
|
#include <QMediaPlaylist>
|
|
#include <QMediaRecorder>
|
|
#include <QMetaMethod>
|
|
#include <QMetaObject>
|
|
#include <QObject>
|
|
#include <QOffscreenSurface>
|
|
#include <QPaintDeviceWindow>
|
|
#include <QPdfWriter>
|
|
#include <QQuickItem>
|
|
#include <QRadioData>
|
|
#include <QString>
|
|
#include <QTimerEvent>
|
|
#include <QWidget>
|
|
#include <QWindow>
|
|
|
|
|
|
class Buffer33fca3: public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
Buffer33fca3(QObject *parent = Q_NULLPTR) : QObject(parent) {qRegisterMetaType<quintptr>("quintptr");Buffer33fca3_Buffer33fca3_QRegisterMetaType();Buffer33fca3_Buffer33fca3_QRegisterMetaTypes();callbackBuffer33fca3_Constructor(this);};
|
|
~Buffer33fca3() { callbackBuffer33fca3_DestroyBuffer(this); };
|
|
bool event(QEvent * e) { return callbackBuffer33fca3_Event(this, e) != 0; };
|
|
bool eventFilter(QObject * watched, QEvent * event) { return callbackBuffer33fca3_EventFilter(this, watched, event) != 0; };
|
|
void childEvent(QChildEvent * event) { callbackBuffer33fca3_ChildEvent(this, event); };
|
|
void connectNotify(const QMetaMethod & sign) { callbackBuffer33fca3_ConnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
|
|
void customEvent(QEvent * event) { callbackBuffer33fca3_CustomEvent(this, event); };
|
|
void deleteLater() { callbackBuffer33fca3_DeleteLater(this); };
|
|
void Signal_Destroyed(QObject * obj) { callbackBuffer33fca3_Destroyed(this, obj); };
|
|
void disconnectNotify(const QMetaMethod & sign) { callbackBuffer33fca3_DisconnectNotify(this, const_cast<QMetaMethod*>(&sign)); };
|
|
void Signal_ObjectNameChanged(const QString & objectName) { QByteArray taa2c4f = objectName.toUtf8(); Moc_PackedString objectNamePacked = { const_cast<char*>(taa2c4f.prepend("WHITESPACE").constData()+10), taa2c4f.size()-10 };callbackBuffer33fca3_ObjectNameChanged(this, objectNamePacked); };
|
|
void timerEvent(QTimerEvent * event) { callbackBuffer33fca3_TimerEvent(this, event); };
|
|
signals:
|
|
public slots:
|
|
void test(QString v0) { QByteArray tea1dd7 = v0.toUtf8(); Moc_PackedString v0Packed = { const_cast<char*>(tea1dd7.prepend("WHITESPACE").constData()+10), tea1dd7.size()-10 };callbackBuffer33fca3_Test(this, v0Packed); };
|
|
private:
|
|
};
|
|
|
|
Q_DECLARE_METATYPE(Buffer33fca3*)
|
|
|
|
|
|
void Buffer33fca3_Buffer33fca3_QRegisterMetaTypes() {
|
|
}
|
|
|
|
void Buffer33fca3_Test(void* ptr, struct Moc_PackedString v0)
|
|
{
|
|
QMetaObject::invokeMethod(static_cast<Buffer33fca3*>(ptr), "test", Q_ARG(QString, QString::fromUtf8(v0.data, v0.len)));
|
|
}
|
|
|
|
int Buffer33fca3_Buffer33fca3_QRegisterMetaType()
|
|
{
|
|
return qRegisterMetaType<Buffer33fca3*>();
|
|
}
|
|
|
|
int Buffer33fca3_Buffer33fca3_QRegisterMetaType2(char* typeName)
|
|
{
|
|
return qRegisterMetaType<Buffer33fca3*>(const_cast<const char*>(typeName));
|
|
}
|
|
|
|
int Buffer33fca3_Buffer33fca3_QmlRegisterType()
|
|
{
|
|
#ifdef QT_QML_LIB
|
|
return qmlRegisterType<Buffer33fca3>();
|
|
#else
|
|
return 0;
|
|
#endif
|
|
}
|
|
|
|
int Buffer33fca3_Buffer33fca3_QmlRegisterType2(char* uri, int versionMajor, int versionMinor, char* qmlName)
|
|
{
|
|
#ifdef QT_QML_LIB
|
|
return qmlRegisterType<Buffer33fca3>(const_cast<const char*>(uri), versionMajor, versionMinor, const_cast<const char*>(qmlName));
|
|
#else
|
|
return 0;
|
|
#endif
|
|
}
|
|
|
|
void* Buffer33fca3___dynamicPropertyNames_atList(void* ptr, int i)
|
|
{
|
|
return new QByteArray(({QByteArray tmp = static_cast<QList<QByteArray>*>(ptr)->at(i); if (i == static_cast<QList<QByteArray>*>(ptr)->size()-1) { static_cast<QList<QByteArray>*>(ptr)->~QList(); free(ptr); }; tmp; }));
|
|
}
|
|
|
|
void Buffer33fca3___dynamicPropertyNames_setList(void* ptr, void* i)
|
|
{
|
|
static_cast<QList<QByteArray>*>(ptr)->append(*static_cast<QByteArray*>(i));
|
|
}
|
|
|
|
void* Buffer33fca3___dynamicPropertyNames_newList(void* ptr)
|
|
{
|
|
Q_UNUSED(ptr);
|
|
return new QList<QByteArray>();
|
|
}
|
|
|
|
void* Buffer33fca3___findChildren_atList2(void* ptr, int i)
|
|
{
|
|
return ({QObject* tmp = static_cast<QList<QObject*>*>(ptr)->at(i); if (i == static_cast<QList<QObject*>*>(ptr)->size()-1) { static_cast<QList<QObject*>*>(ptr)->~QList(); free(ptr); }; tmp; });
|
|
}
|
|
|
|
void Buffer33fca3___findChildren_setList2(void* ptr, void* i)
|
|
{
|
|
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
|
|
}
|
|
|
|
void* Buffer33fca3___findChildren_newList2(void* ptr)
|
|
{
|
|
Q_UNUSED(ptr);
|
|
return new QList<QObject*>();
|
|
}
|
|
|
|
void* Buffer33fca3___findChildren_atList3(void* ptr, int i)
|
|
{
|
|
return ({QObject* tmp = static_cast<QList<QObject*>*>(ptr)->at(i); if (i == static_cast<QList<QObject*>*>(ptr)->size()-1) { static_cast<QList<QObject*>*>(ptr)->~QList(); free(ptr); }; tmp; });
|
|
}
|
|
|
|
void Buffer33fca3___findChildren_setList3(void* ptr, void* i)
|
|
{
|
|
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
|
|
}
|
|
|
|
void* Buffer33fca3___findChildren_newList3(void* ptr)
|
|
{
|
|
Q_UNUSED(ptr);
|
|
return new QList<QObject*>();
|
|
}
|
|
|
|
void* Buffer33fca3___findChildren_atList(void* ptr, int i)
|
|
{
|
|
return ({QObject* tmp = static_cast<QList<QObject*>*>(ptr)->at(i); if (i == static_cast<QList<QObject*>*>(ptr)->size()-1) { static_cast<QList<QObject*>*>(ptr)->~QList(); free(ptr); }; tmp; });
|
|
}
|
|
|
|
void Buffer33fca3___findChildren_setList(void* ptr, void* i)
|
|
{
|
|
static_cast<QList<QObject*>*>(ptr)->append(static_cast<QObject*>(i));
|
|
}
|
|
|
|
void* Buffer33fca3___findChildren_newList(void* ptr)
|
|
{
|
|
Q_UNUSED(ptr);
|
|
return new QList<QObject*>();
|
|
}
|
|
|
|
void* Buffer33fca3___children_atList(void* ptr, int i)
|
|
{
|
|
return ({QObject * tmp = static_cast<QList<QObject *>*>(ptr)->at(i); if (i == static_cast<QList<QObject *>*>(ptr)->size()-1) { static_cast<QList<QObject *>*>(ptr)->~QList(); free(ptr); }; tmp; });
|
|
}
|
|
|
|
void Buffer33fca3___children_setList(void* ptr, void* i)
|
|
{
|
|
static_cast<QList<QObject *>*>(ptr)->append(static_cast<QObject*>(i));
|
|
}
|
|
|
|
void* Buffer33fca3___children_newList(void* ptr)
|
|
{
|
|
Q_UNUSED(ptr);
|
|
return new QList<QObject *>();
|
|
}
|
|
|
|
void* Buffer33fca3_NewBuffer(void* parent)
|
|
{
|
|
if (dynamic_cast<QCameraImageCapture*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QCameraImageCapture*>(parent));
|
|
} else if (dynamic_cast<QDBusPendingCallWatcher*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QDBusPendingCallWatcher*>(parent));
|
|
} else if (dynamic_cast<QExtensionFactory*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QExtensionFactory*>(parent));
|
|
} else if (dynamic_cast<QExtensionManager*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QExtensionManager*>(parent));
|
|
} else if (dynamic_cast<QGraphicsObject*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QGraphicsObject*>(parent));
|
|
} else if (dynamic_cast<QGraphicsWidget*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QGraphicsWidget*>(parent));
|
|
} else if (dynamic_cast<QLayout*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QLayout*>(parent));
|
|
} else if (dynamic_cast<QMediaPlaylist*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QMediaPlaylist*>(parent));
|
|
} else if (dynamic_cast<QMediaRecorder*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QMediaRecorder*>(parent));
|
|
} else if (dynamic_cast<QOffscreenSurface*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QOffscreenSurface*>(parent));
|
|
} else if (dynamic_cast<QPaintDeviceWindow*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QPaintDeviceWindow*>(parent));
|
|
} else if (dynamic_cast<QPdfWriter*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QPdfWriter*>(parent));
|
|
} else if (dynamic_cast<QQuickItem*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QQuickItem*>(parent));
|
|
} else if (dynamic_cast<QRadioData*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QRadioData*>(parent));
|
|
} else if (dynamic_cast<QWidget*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QWidget*>(parent));
|
|
} else if (dynamic_cast<QWindow*>(static_cast<QObject*>(parent))) {
|
|
return new Buffer33fca3(static_cast<QWindow*>(parent));
|
|
} else {
|
|
return new Buffer33fca3(static_cast<QObject*>(parent));
|
|
}
|
|
}
|
|
|
|
void Buffer33fca3_DestroyBuffer(void* ptr)
|
|
{
|
|
static_cast<Buffer33fca3*>(ptr)->~Buffer33fca3();
|
|
}
|
|
|
|
void Buffer33fca3_DestroyBufferDefault(void* ptr)
|
|
{
|
|
Q_UNUSED(ptr);
|
|
|
|
}
|
|
|
|
char Buffer33fca3_EventDefault(void* ptr, void* e)
|
|
{
|
|
return static_cast<Buffer33fca3*>(ptr)->QObject::event(static_cast<QEvent*>(e));
|
|
}
|
|
|
|
char Buffer33fca3_EventFilterDefault(void* ptr, void* watched, void* event)
|
|
{
|
|
return static_cast<Buffer33fca3*>(ptr)->QObject::eventFilter(static_cast<QObject*>(watched), static_cast<QEvent*>(event));
|
|
}
|
|
|
|
void Buffer33fca3_ChildEventDefault(void* ptr, void* event)
|
|
{
|
|
static_cast<Buffer33fca3*>(ptr)->QObject::childEvent(static_cast<QChildEvent*>(event));
|
|
}
|
|
|
|
void Buffer33fca3_ConnectNotifyDefault(void* ptr, void* sign)
|
|
{
|
|
static_cast<Buffer33fca3*>(ptr)->QObject::connectNotify(*static_cast<QMetaMethod*>(sign));
|
|
}
|
|
|
|
void Buffer33fca3_CustomEventDefault(void* ptr, void* event)
|
|
{
|
|
static_cast<Buffer33fca3*>(ptr)->QObject::customEvent(static_cast<QEvent*>(event));
|
|
}
|
|
|
|
void Buffer33fca3_DeleteLaterDefault(void* ptr)
|
|
{
|
|
static_cast<Buffer33fca3*>(ptr)->QObject::deleteLater();
|
|
}
|
|
|
|
void Buffer33fca3_DisconnectNotifyDefault(void* ptr, void* sign)
|
|
{
|
|
static_cast<Buffer33fca3*>(ptr)->QObject::disconnectNotify(*static_cast<QMetaMethod*>(sign));
|
|
}
|
|
|
|
void Buffer33fca3_TimerEventDefault(void* ptr, void* event)
|
|
{
|
|
static_cast<Buffer33fca3*>(ptr)->QObject::timerEvent(static_cast<QTimerEvent*>(event));
|
|
}
|
|
|
|
|
|
|
|
#include "moc_moc.h"
|