This repository has been archived on 2020-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
mgm-tp1/moc_mainwindow.cpp
2020-03-10 15:50:28 +01:00

165 lines
5.5 KiB
C++

/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.14.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[12];
char stringdata0[337];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
{
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 32), // "on_pushButton_chargement_clicked"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 33), // "on_pushButton_vertexMoins_cli..."
QT_MOC_LITERAL(4, 79, 32), // "on_pushButton_vertexPlus_clicked"
QT_MOC_LITERAL(5, 112, 31), // "on_pushButton_edgeMoins_clicked"
QT_MOC_LITERAL(6, 144, 30), // "on_pushButton_edgePlus_clicked"
QT_MOC_LITERAL(7, 175, 31), // "on_pushButton_faceMoins_clicked"
QT_MOC_LITERAL(8, 207, 30), // "on_pushButton_facePlus_clicked"
QT_MOC_LITERAL(9, 238, 36), // "on_pushButton_afficherChemin_..."
QT_MOC_LITERAL(10, 275, 31), // "on_pushButton_voisinage_clicked"
QT_MOC_LITERAL(11, 307, 29) // "on_pushButton_bordure_clicked"
},
"MainWindow\0on_pushButton_chargement_clicked\0"
"\0on_pushButton_vertexMoins_clicked\0"
"on_pushButton_vertexPlus_clicked\0"
"on_pushButton_edgeMoins_clicked\0"
"on_pushButton_edgePlus_clicked\0"
"on_pushButton_faceMoins_clicked\0"
"on_pushButton_facePlus_clicked\0"
"on_pushButton_afficherChemin_clicked\0"
"on_pushButton_voisinage_clicked\0"
"on_pushButton_bordure_clicked"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
10, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 64, 2, 0x08 /* Private */,
3, 0, 65, 2, 0x08 /* Private */,
4, 0, 66, 2, 0x08 /* Private */,
5, 0, 67, 2, 0x08 /* Private */,
6, 0, 68, 2, 0x08 /* Private */,
7, 0, 69, 2, 0x08 /* Private */,
8, 0, 70, 2, 0x08 /* Private */,
9, 0, 71, 2, 0x08 /* Private */,
10, 0, 72, 2, 0x08 /* Private */,
11, 0, 73, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<MainWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_pushButton_chargement_clicked(); break;
case 1: _t->on_pushButton_vertexMoins_clicked(); break;
case 2: _t->on_pushButton_vertexPlus_clicked(); break;
case 3: _t->on_pushButton_edgeMoins_clicked(); break;
case 4: _t->on_pushButton_edgePlus_clicked(); break;
case 5: _t->on_pushButton_faceMoins_clicked(); break;
case 6: _t->on_pushButton_facePlus_clicked(); break;
case 7: _t->on_pushButton_afficherChemin_clicked(); break;
case 8: _t->on_pushButton_voisinage_clicked(); break;
case 9: _t->on_pushButton_bordure_clicked(); break;
default: ;
}
}
Q_UNUSED(_a);
}
QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
qt_meta_stringdata_MainWindow.data,
qt_meta_data_MainWindow,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *MainWindow::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *MainWindow::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
return static_cast<void*>(this);
return QMainWindow::qt_metacast(_clname);
}
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QMainWindow::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 10)
qt_static_metacall(this, _c, _id, _a);
_id -= 10;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 10)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 10;
}
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE