ogbrowser/qtermwidget/build/lib/moc_qtermwidget.cpp

493 lines
18 KiB
C++

/****************************************************************************
** Meta object code from reading C++ file 'qtermwidget.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/qtermwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qplugin.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtermwidget.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_QTermWidget_t {
QByteArrayData data[50];
char stringdata0[589];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_QTermWidget_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_QTermWidget_t qt_meta_stringdata_QTermWidget = {
{
QT_MOC_LITERAL(0, 0, 11), // "QTermWidget"
QT_MOC_LITERAL(1, 12, 8), // "finished"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 13), // "copyAvailable"
QT_MOC_LITERAL(4, 36, 12), // "termGetFocus"
QT_MOC_LITERAL(5, 49, 13), // "termLostFocus"
QT_MOC_LITERAL(6, 63, 14), // "termKeyPressed"
QT_MOC_LITERAL(7, 78, 10), // "QKeyEvent*"
QT_MOC_LITERAL(8, 89, 12), // "urlActivated"
QT_MOC_LITERAL(9, 102, 15), // "fromContextMenu"
QT_MOC_LITERAL(10, 118, 4), // "bell"
QT_MOC_LITERAL(11, 123, 7), // "message"
QT_MOC_LITERAL(12, 131, 8), // "activity"
QT_MOC_LITERAL(13, 140, 7), // "silence"
QT_MOC_LITERAL(14, 148, 8), // "sendData"
QT_MOC_LITERAL(15, 157, 11), // "const char*"
QT_MOC_LITERAL(16, 169, 14), // "profileChanged"
QT_MOC_LITERAL(17, 184, 7), // "profile"
QT_MOC_LITERAL(18, 192, 12), // "titleChanged"
QT_MOC_LITERAL(19, 205, 12), // "receivedData"
QT_MOC_LITERAL(20, 218, 4), // "text"
QT_MOC_LITERAL(21, 223, 13), // "copyClipboard"
QT_MOC_LITERAL(22, 237, 14), // "pasteClipboard"
QT_MOC_LITERAL(23, 252, 14), // "pasteSelection"
QT_MOC_LITERAL(24, 267, 6), // "zoomIn"
QT_MOC_LITERAL(25, 274, 7), // "zoomOut"
QT_MOC_LITERAL(26, 282, 7), // "setSize"
QT_MOC_LITERAL(27, 290, 14), // "setKeyBindings"
QT_MOC_LITERAL(28, 305, 2), // "kb"
QT_MOC_LITERAL(29, 308, 5), // "clear"
QT_MOC_LITERAL(30, 314, 19), // "toggleShowSearchBar"
QT_MOC_LITERAL(31, 334, 11), // "saveHistory"
QT_MOC_LITERAL(32, 346, 10), // "QIODevice*"
QT_MOC_LITERAL(33, 357, 6), // "device"
QT_MOC_LITERAL(34, 364, 15), // "sessionFinished"
QT_MOC_LITERAL(35, 380, 16), // "selectionChanged"
QT_MOC_LITERAL(36, 397, 12), // "textSelected"
QT_MOC_LITERAL(37, 410, 4), // "find"
QT_MOC_LITERAL(38, 415, 8), // "findNext"
QT_MOC_LITERAL(39, 424, 12), // "findPrevious"
QT_MOC_LITERAL(40, 437, 10), // "matchFound"
QT_MOC_LITERAL(41, 448, 11), // "startColumn"
QT_MOC_LITERAL(42, 460, 9), // "startLine"
QT_MOC_LITERAL(43, 470, 9), // "endColumn"
QT_MOC_LITERAL(44, 480, 7), // "endLine"
QT_MOC_LITERAL(45, 488, 12), // "noMatchFound"
QT_MOC_LITERAL(46, 501, 13), // "cursorChanged"
QT_MOC_LITERAL(47, 515, 39), // "Konsole::Emulation::KeyboardC..."
QT_MOC_LITERAL(48, 555, 11), // "cursorShape"
QT_MOC_LITERAL(49, 567, 21) // "blinkingCursorEnabled"
},
"QTermWidget\0finished\0\0copyAvailable\0"
"termGetFocus\0termLostFocus\0termKeyPressed\0"
"QKeyEvent*\0urlActivated\0fromContextMenu\0"
"bell\0message\0activity\0silence\0sendData\0"
"const char*\0profileChanged\0profile\0"
"titleChanged\0receivedData\0text\0"
"copyClipboard\0pasteClipboard\0"
"pasteSelection\0zoomIn\0zoomOut\0setSize\0"
"setKeyBindings\0kb\0clear\0toggleShowSearchBar\0"
"saveHistory\0QIODevice*\0device\0"
"sessionFinished\0selectionChanged\0"
"textSelected\0find\0findNext\0findPrevious\0"
"matchFound\0startColumn\0startLine\0"
"endColumn\0endLine\0noMatchFound\0"
"cursorChanged\0Konsole::Emulation::KeyboardCursorShape\0"
"cursorShape\0blinkingCursorEnabled"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_QTermWidget[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
31, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
13, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 169, 2, 0x06 /* Public */,
3, 1, 170, 2, 0x06 /* Public */,
4, 0, 173, 2, 0x06 /* Public */,
5, 0, 174, 2, 0x06 /* Public */,
6, 1, 175, 2, 0x06 /* Public */,
8, 2, 178, 2, 0x06 /* Public */,
10, 1, 183, 2, 0x06 /* Public */,
12, 0, 186, 2, 0x06 /* Public */,
13, 0, 187, 2, 0x06 /* Public */,
14, 2, 188, 2, 0x06 /* Public */,
16, 1, 193, 2, 0x06 /* Public */,
18, 0, 196, 2, 0x06 /* Public */,
19, 1, 197, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
21, 0, 200, 2, 0x0a /* Public */,
22, 0, 201, 2, 0x0a /* Public */,
23, 0, 202, 2, 0x0a /* Public */,
24, 0, 203, 2, 0x0a /* Public */,
25, 0, 204, 2, 0x0a /* Public */,
26, 1, 205, 2, 0x0a /* Public */,
27, 1, 208, 2, 0x0a /* Public */,
29, 0, 211, 2, 0x0a /* Public */,
30, 0, 212, 2, 0x0a /* Public */,
31, 1, 213, 2, 0x0a /* Public */,
34, 0, 216, 2, 0x09 /* Protected */,
35, 1, 217, 2, 0x09 /* Protected */,
37, 0, 220, 2, 0x08 /* Private */,
38, 0, 221, 2, 0x08 /* Private */,
39, 0, 222, 2, 0x08 /* Private */,
40, 4, 223, 2, 0x08 /* Private */,
45, 0, 232, 2, 0x08 /* Private */,
46, 2, 233, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void,
QMetaType::Void, QMetaType::Bool, 2,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 7, 2,
QMetaType::Void, QMetaType::QUrl, QMetaType::Bool, 2, 9,
QMetaType::Void, QMetaType::QString, 11,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 15, QMetaType::Int, 2, 2,
QMetaType::Void, QMetaType::QString, 17,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 20,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QSize, 2,
QMetaType::Void, QMetaType::QString, 28,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 32, 33,
QMetaType::Void,
QMetaType::Void, QMetaType::Bool, 36,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 41, 42, 43, 44,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 47, QMetaType::Bool, 48, 49,
0 // eod
};
void QTermWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<QTermWidget *>(_o);
(void)_t;
switch (_id) {
case 0: _t->finished(); break;
case 1: _t->copyAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 2: _t->termGetFocus(); break;
case 3: _t->termLostFocus(); break;
case 4: _t->termKeyPressed((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
case 5: _t->urlActivated((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
case 6: _t->bell((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 7: _t->activity(); break;
case 8: _t->silence(); break;
case 9: _t->sendData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
case 10: _t->profileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 11: _t->titleChanged(); break;
case 12: _t->receivedData((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 13: _t->copyClipboard(); break;
case 14: _t->pasteClipboard(); break;
case 15: _t->pasteSelection(); break;
case 16: _t->zoomIn(); break;
case 17: _t->zoomOut(); break;
case 18: _t->setSize((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
case 19: _t->setKeyBindings((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 20: _t->clear(); break;
case 21: _t->toggleShowSearchBar(); break;
case 22: _t->saveHistory((*reinterpret_cast< QIODevice*(*)>(_a[1]))); break;
case 23: _t->sessionFinished(); break;
case 24: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 25: _t->find(); break;
case 26: _t->findNext(); break;
case 27: _t->findPrevious(); break;
case 28: _t->matchFound((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
case 29: _t->noMatchFound(); break;
case 30: _t->cursorChanged((*reinterpret_cast< Konsole::Emulation::KeyboardCursorShape(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (QTermWidget::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::finished)) {
*result = 0;
return;
}
}
{
using _t = void (QTermWidget::*)(bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::copyAvailable)) {
*result = 1;
return;
}
}
{
using _t = void (QTermWidget::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::termGetFocus)) {
*result = 2;
return;
}
}
{
using _t = void (QTermWidget::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::termLostFocus)) {
*result = 3;
return;
}
}
{
using _t = void (QTermWidget::*)(QKeyEvent * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::termKeyPressed)) {
*result = 4;
return;
}
}
{
using _t = void (QTermWidget::*)(const QUrl & , bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::urlActivated)) {
*result = 5;
return;
}
}
{
using _t = void (QTermWidget::*)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::bell)) {
*result = 6;
return;
}
}
{
using _t = void (QTermWidget::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::activity)) {
*result = 7;
return;
}
}
{
using _t = void (QTermWidget::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::silence)) {
*result = 8;
return;
}
}
{
using _t = void (QTermWidget::*)(const char * , int );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::sendData)) {
*result = 9;
return;
}
}
{
using _t = void (QTermWidget::*)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::profileChanged)) {
*result = 10;
return;
}
}
{
using _t = void (QTermWidget::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::titleChanged)) {
*result = 11;
return;
}
}
{
using _t = void (QTermWidget::*)(const QString & );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTermWidget::receivedData)) {
*result = 12;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject QTermWidget::staticMetaObject = { {
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
qt_meta_stringdata_QTermWidget.data,
qt_meta_data_QTermWidget,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *QTermWidget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *QTermWidget::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_QTermWidget.stringdata0))
return static_cast<void*>(this);
if (!strcmp(_clname, "QTermWidgetInterface"))
return static_cast< QTermWidgetInterface*>(this);
if (!strcmp(_clname, "lxqt.qtermwidget.QTermWidgetInterface/1.0"))
return static_cast< QTermWidgetInterface*>(this);
return QWidget::qt_metacast(_clname);
}
int QTermWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 31)
qt_static_metacall(this, _c, _id, _a);
_id -= 31;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 31)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 31;
}
return _id;
}
// SIGNAL 0
void QTermWidget::finished()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
// SIGNAL 1
void QTermWidget::copyAvailable(bool _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void QTermWidget::termGetFocus()
{
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
// SIGNAL 3
void QTermWidget::termLostFocus()
{
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
// SIGNAL 4
void QTermWidget::termKeyPressed(QKeyEvent * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
// SIGNAL 5
void QTermWidget::urlActivated(const QUrl & _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, 5, _a);
}
// SIGNAL 6
void QTermWidget::bell(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 QTermWidget::activity()
{
QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
// SIGNAL 8
void QTermWidget::silence()
{
QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
// SIGNAL 9
void QTermWidget::sendData(const char * _t1, int _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, 9, _a);
}
// SIGNAL 10
void QTermWidget::profileChanged(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 10, _a);
}
// SIGNAL 11
void QTermWidget::titleChanged()
{
QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}
// SIGNAL 12
void QTermWidget::receivedData(const QString & _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 12, _a);
}
QT_PLUGIN_METADATA_SECTION
static constexpr unsigned char qt_pluginMetaData[] = {
'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
// metadata version, Qt version, architectural requirements
0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
0xbf,
// "IID"
0x02, 0x70, 'l', 'x', 'q', 't', '.', 'q',
't', 'e', 'r', 'm', 'w', 'i', 'd', 'g',
'e', 't',
// "className"
0x03, 0x6b, 'Q', 'T', 'e', 'r', 'm', 'W',
'i', 'd', 'g', 'e', 't',
// "MetaData"
0x04, 0xa6, 0x69, 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', 0x6d, '(', 'C', ')',
' ', '2', '0', '2', '2', ' ', 'L', 'X',
'Q', 't', 0x67, 'L', 'i', 'c', 'e', 'n',
's', 'e', 0x65, 'G', 'P', 'L', 'v', '2',
0x64, 'N', 'a', 'm', 'e', 0x6b, 'Q', 'T',
'e', 'r', 'm', 'W', 'i', 'd', 'g', 'e',
't', 0x63, 'U', 'r', 'l', 0x78, 0x23, 'h',
't', 't', 'p', 's', ':', '/', '/', 'g',
'i', 't', 'h', 'u', 'b', '.', 'c', 'o',
'm', '/', 'l', 'x', 'q', 't', '/', 'q',
't', 'e', 'r', 'm', 'w', 'i', 'd', 'g',
'e', 't', 0x66, 'V', 'e', 'n', 'd', 'o',
'r', 0x64, 'L', 'X', 'Q', 't', 0x67, 'V',
'e', 'r', 's', 'i', 'o', 'n', 0x65, '1',
'.', '2', '.', '0',
0xff,
};
QT_MOC_EXPORT_PLUGIN(QTermWidget, QTermWidget)
QT_WARNING_POP
QT_END_MOC_NAMESPACE