ogbrowser/qtermwidget/build/lib/moc_Session.cpp

602 lines
21 KiB
C++

/****************************************************************************
** Meta object code from reading C++ file 'Session.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.10)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../lib/Session.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Session.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.10. 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_Konsole__Session_t {
QByteArrayData data[49];
char stringdata0[598];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_Konsole__Session_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_Konsole__Session_t qt_meta_stringdata_Konsole__Session = {
{
QT_MOC_LITERAL(0, 0, 16), // "Konsole::Session"
QT_MOC_LITERAL(1, 17, 7), // "started"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 8), // "finished"
QT_MOC_LITERAL(4, 35, 12), // "receivedData"
QT_MOC_LITERAL(5, 48, 4), // "text"
QT_MOC_LITERAL(6, 53, 12), // "titleChanged"
QT_MOC_LITERAL(7, 66, 14), // "profileChanged"
QT_MOC_LITERAL(8, 81, 7), // "profile"
QT_MOC_LITERAL(9, 89, 12), // "stateChanged"
QT_MOC_LITERAL(10, 102, 5), // "state"
QT_MOC_LITERAL(11, 108, 11), // "bellRequest"
QT_MOC_LITERAL(12, 120, 7), // "message"
QT_MOC_LITERAL(13, 128, 25), // "changeTabTextColorRequest"
QT_MOC_LITERAL(14, 154, 28), // "changeBackgroundColorRequest"
QT_MOC_LITERAL(15, 183, 14), // "openUrlRequest"
QT_MOC_LITERAL(16, 198, 3), // "url"
QT_MOC_LITERAL(17, 202, 13), // "resizeRequest"
QT_MOC_LITERAL(18, 216, 4), // "size"
QT_MOC_LITERAL(19, 221, 28), // "profileChangeCommandReceived"
QT_MOC_LITERAL(20, 250, 25), // "flowControlEnabledChanged"
QT_MOC_LITERAL(21, 276, 7), // "enabled"
QT_MOC_LITERAL(22, 284, 13), // "cursorChanged"
QT_MOC_LITERAL(23, 298, 30), // "Emulation::KeyboardCursorShape"
QT_MOC_LITERAL(24, 329, 11), // "cursorShape"
QT_MOC_LITERAL(25, 341, 21), // "blinkingCursorEnabled"
QT_MOC_LITERAL(26, 363, 7), // "silence"
QT_MOC_LITERAL(27, 371, 8), // "activity"
QT_MOC_LITERAL(28, 380, 3), // "run"
QT_MOC_LITERAL(29, 384, 11), // "runEmptyPTY"
QT_MOC_LITERAL(30, 396, 5), // "close"
QT_MOC_LITERAL(31, 402, 12), // "setUserTitle"
QT_MOC_LITERAL(32, 415, 7), // "caption"
QT_MOC_LITERAL(33, 423, 4), // "done"
QT_MOC_LITERAL(34, 428, 14), // "onReceiveBlock"
QT_MOC_LITERAL(35, 443, 11), // "const char*"
QT_MOC_LITERAL(36, 455, 6), // "buffer"
QT_MOC_LITERAL(37, 462, 3), // "len"
QT_MOC_LITERAL(38, 466, 16), // "monitorTimerDone"
QT_MOC_LITERAL(39, 483, 16), // "onViewSizeChange"
QT_MOC_LITERAL(40, 500, 6), // "height"
QT_MOC_LITERAL(41, 507, 5), // "width"
QT_MOC_LITERAL(42, 513, 21), // "onEmulationSizeChange"
QT_MOC_LITERAL(43, 535, 16), // "activityStateSet"
QT_MOC_LITERAL(44, 552, 13), // "viewDestroyed"
QT_MOC_LITERAL(45, 566, 4), // "view"
QT_MOC_LITERAL(46, 571, 4), // "name"
QT_MOC_LITERAL(47, 576, 9), // "processId"
QT_MOC_LITERAL(48, 586, 11) // "keyBindings"
},
"Konsole::Session\0started\0\0finished\0"
"receivedData\0text\0titleChanged\0"
"profileChanged\0profile\0stateChanged\0"
"state\0bellRequest\0message\0"
"changeTabTextColorRequest\0"
"changeBackgroundColorRequest\0"
"openUrlRequest\0url\0resizeRequest\0size\0"
"profileChangeCommandReceived\0"
"flowControlEnabledChanged\0enabled\0"
"cursorChanged\0Emulation::KeyboardCursorShape\0"
"cursorShape\0blinkingCursorEnabled\0"
"silence\0activity\0run\0runEmptyPTY\0close\0"
"setUserTitle\0caption\0done\0onReceiveBlock\0"
"const char*\0buffer\0len\0monitorTimerDone\0"
"onViewSizeChange\0height\0width\0"
"onEmulationSizeChange\0activityStateSet\0"
"viewDestroyed\0view\0name\0processId\0"
"keyBindings"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_Konsole__Session[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
27, 14, // methods
4, 220, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
16, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 149, 2, 0x06 /* Public */,
3, 0, 150, 2, 0x06 /* Public */,
4, 1, 151, 2, 0x06 /* Public */,
6, 0, 154, 2, 0x06 /* Public */,
7, 1, 155, 2, 0x06 /* Public */,
9, 1, 158, 2, 0x06 /* Public */,
11, 1, 161, 2, 0x06 /* Public */,
13, 1, 164, 2, 0x06 /* Public */,
14, 1, 167, 2, 0x06 /* Public */,
15, 1, 170, 2, 0x06 /* Public */,
17, 1, 173, 2, 0x06 /* Public */,
19, 1, 176, 2, 0x06 /* Public */,
20, 1, 179, 2, 0x06 /* Public */,
22, 2, 182, 2, 0x06 /* Public */,
26, 0, 187, 2, 0x06 /* Public */,
27, 0, 188, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
28, 0, 189, 2, 0x0a /* Public */,
29, 0, 190, 2, 0x0a /* Public */,
30, 0, 191, 2, 0x0a /* Public */,
31, 2, 192, 2, 0x0a /* Public */,
33, 1, 197, 2, 0x08 /* Private */,
34, 2, 200, 2, 0x08 /* Private */,
38, 0, 205, 2, 0x08 /* Private */,
39, 2, 206, 2, 0x08 /* Private */,
42, 1, 211, 2, 0x08 /* Private */,
43, 1, 214, 2, 0x08 /* Private */,
44, 1, 217, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 5,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 8,
QMetaType::Void, QMetaType::Int, 10,
QMetaType::Void, QMetaType::QString, 12,
QMetaType::Void, QMetaType::Int, 2,
QMetaType::Void, QMetaType::QColor, 2,
QMetaType::Void, QMetaType::QString, 16,
QMetaType::Void, QMetaType::QSize, 18,
QMetaType::Void, QMetaType::QString, 5,
QMetaType::Void, QMetaType::Bool, 21,
QMetaType::Void, 0x80000000 | 23, QMetaType::Bool, 24, 25,
QMetaType::Void,
QMetaType::Void,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, QMetaType::QString, 2, 32,
QMetaType::Void, QMetaType::Int, 2,
QMetaType::Void, 0x80000000 | 35, QMetaType::Int, 36, 37,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, QMetaType::Int, 40, 41,
QMetaType::Void, QMetaType::QSize, 2,
QMetaType::Void, QMetaType::Int, 2,
QMetaType::Void, QMetaType::QObjectStar, 45,
// properties: name, type, flags
46, QMetaType::QString, 0x00095001,
47, QMetaType::Int, 0x00095001,
48, QMetaType::QString, 0x00095103,
18, QMetaType::QSize, 0x00095103,
0 // eod
};
void Konsole::Session::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<Session *>(_o);
(void)_t;
switch (_id) {
case 0: _t->started(); break;
case 1: _t->finished(); break;
case 2: _t->receivedData((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 3: _t->titleChanged(); break;
case 4: _t->profileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 5: _t->stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 6: _t->bellRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 7: _t->changeTabTextColorRequest((*reinterpret_cast< int(*)>(_a[1]))); break;
case 8: _t->changeBackgroundColorRequest((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
case 9: _t->openUrlRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 10: _t->resizeRequest((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
case 11: _t->profileChangeCommandReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 12: _t->flowControlEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 13: _t->cursorChanged((*reinterpret_cast< Emulation::KeyboardCursorShape(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
case 14: _t->silence(); break;
case 15: _t->activity(); break;
case 16: _t->run(); break;
case 17: _t->runEmptyPTY(); break;
case 18: _t->close(); break;
case 19: _t->setUserTitle((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
case 20: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break;
case 21: _t->onReceiveBlock((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 22: _t->monitorTimerDone(); break;
case 23: _t->onViewSizeChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 24: _t->onEmulationSizeChange((*reinterpret_cast< QSize(*)>(_a[1]))); break;
case 25: _t->activityStateSet((*reinterpret_cast< int(*)>(_a[1]))); break;
case 26: _t->viewDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (Session::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::started)) {
*result = 0;
return;
}
}
{
using _t = void (Session::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::finished)) {
*result = 1;
return;
}
}
{
using _t = void (Session::*)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::receivedData)) {
*result = 2;
return;
}
}
{
using _t = void (Session::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::titleChanged)) {
*result = 3;
return;
}
}
{
using _t = void (Session::*)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::profileChanged)) {
*result = 4;
return;
}
}
{
using _t = void (Session::*)(int );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::stateChanged)) {
*result = 5;
return;
}
}
{
using _t = void (Session::*)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::bellRequest)) {
*result = 6;
return;
}
}
{
using _t = void (Session::*)(int );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::changeTabTextColorRequest)) {
*result = 7;
return;
}
}
{
using _t = void (Session::*)(const QColor & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::changeBackgroundColorRequest)) {
*result = 8;
return;
}
}
{
using _t = void (Session::*)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::openUrlRequest)) {
*result = 9;
return;
}
}
{
using _t = void (Session::*)(const QSize & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::resizeRequest)) {
*result = 10;
return;
}
}
{
using _t = void (Session::*)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::profileChangeCommandReceived)) {
*result = 11;
return;
}
}
{
using _t = void (Session::*)(bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::flowControlEnabledChanged)) {
*result = 12;
return;
}
}
{
using _t = void (Session::*)(Emulation::KeyboardCursorShape , bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::cursorChanged)) {
*result = 13;
return;
}
}
{
using _t = void (Session::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::silence)) {
*result = 14;
return;
}
}
{
using _t = void (Session::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Session::activity)) {
*result = 15;
return;
}
}
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
auto *_t = static_cast<Session *>(_o);
(void)_t;
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< QString*>(_v) = _t->nameTitle(); break;
case 1: *reinterpret_cast< int*>(_v) = _t->processId(); break;
case 2: *reinterpret_cast< QString*>(_v) = _t->keyBindings(); break;
case 3: *reinterpret_cast< QSize*>(_v) = _t->size(); break;
default: break;
}
} else if (_c == QMetaObject::WriteProperty) {
auto *_t = static_cast<Session *>(_o);
(void)_t;
void *_v = _a[0];
switch (_id) {
case 2: _t->setKeyBindings(*reinterpret_cast< QString*>(_v)); break;
case 3: _t->setSize(*reinterpret_cast< QSize*>(_v)); break;
default: break;
}
} else if (_c == QMetaObject::ResetProperty) {
}
#endif // QT_NO_PROPERTIES
}
QT_INIT_METAOBJECT const QMetaObject Konsole::Session::staticMetaObject = { {
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
qt_meta_stringdata_Konsole__Session.data,
qt_meta_data_Konsole__Session,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *Konsole::Session::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *Konsole::Session::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_Konsole__Session.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int Konsole::Session::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 27)
qt_static_metacall(this, _c, _id, _a);
_id -= 27;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 27)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 27;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
qt_static_metacall(this, _c, _id, _a);
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 4;
}
#endif // QT_NO_PROPERTIES
return _id;
}
// SIGNAL 0
void Konsole::Session::started()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
// SIGNAL 1
void Konsole::Session::finished()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
// SIGNAL 2
void Konsole::Session::receivedData(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
void Konsole::Session::titleChanged()
{
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
// SIGNAL 4
void Konsole::Session::profileChanged(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
// SIGNAL 5
void Konsole::Session::stateChanged(int _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
// SIGNAL 6
void Konsole::Session::bellRequest(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
// SIGNAL 7
void Konsole::Session::changeTabTextColorRequest(int _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
// SIGNAL 8
void Konsole::Session::changeBackgroundColorRequest(const QColor & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
// SIGNAL 9
void Konsole::Session::openUrlRequest(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
// SIGNAL 10
void Konsole::Session::resizeRequest(const QSize & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 10, _a);
}
// SIGNAL 11
void Konsole::Session::profileChangeCommandReceived(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 11, _a);
}
// SIGNAL 12
void Konsole::Session::flowControlEnabledChanged(bool _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 12, _a);
}
// SIGNAL 13
void Konsole::Session::cursorChanged(Emulation::KeyboardCursorShape _t1, bool _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
QMetaObject::activate(this, &staticMetaObject, 13, _a);
}
// SIGNAL 14
void Konsole::Session::silence()
{
QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}
// SIGNAL 15
void Konsole::Session::activity()
{
QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}
struct qt_meta_stringdata_Konsole__SessionGroup_t {
QByteArrayData data[1];
char stringdata0[22];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_Konsole__SessionGroup_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_Konsole__SessionGroup_t qt_meta_stringdata_Konsole__SessionGroup = {
{
QT_MOC_LITERAL(0, 0, 21) // "Konsole::SessionGroup"
},
"Konsole::SessionGroup"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_Konsole__SessionGroup[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void Konsole::SessionGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
(void)_o;
(void)_id;
(void)_c;
(void)_a;
}
QT_INIT_METAOBJECT const QMetaObject Konsole::SessionGroup::staticMetaObject = { {
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
qt_meta_stringdata_Konsole__SessionGroup.data,
qt_meta_data_Konsole__SessionGroup,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *Konsole::SessionGroup::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *Konsole::SessionGroup::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_Konsole__SessionGroup.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int Konsole::SessionGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE