Files
vmprotect/DogProtect/moc/moc_mainwindow.cc
Cmake 195f02a41d dogprotect: VMProtect → DogProtect 全量改名 + VM 节名改 .dog
- 产品名/展示串、SDK 与运行时导出 API、.NET 命名空间全部换为 DogProtect
- 文件与目录改名: dogprotect.sln / DogProtect/ / DogProtectCon/ / sdk/DogProtect.SDK /
  sdk/DogProtectSDK.{h,pas,bas,inc} / runtime/DogProtect.Runtime/ / core/dogprotect.rc /
  app/dogprotect_gui.app
- 项目文件扩展名 .vmp → .dog(含 GUI 过滤器、默认输出名、示例工程、单测)
- VM 代码节名默认 .dog(上游为随机 ".xyz"),产物节为 .dog0/.dog1/...
- 授权数据与配置: DogProtect.dat / DogProtectLicense.ini / Global\\DogProtect.dat
- 域名占位 dogprotect.example,bundle id com.dogprotect.dogprotect
- 保留 VMP_* 内部宏与 third-party/
- BUILD-LINUX.md 增补改名说明与 SDK 兼容性提示
2026-11-23 16:15:28 +08:00

470 lines
19 KiB
C++

/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
**
** 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.15.2. 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[96];
char stringdata0[1187];
};
#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, 6), // "notify"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 11), // "MessageType"
QT_MOC_LITERAL(4, 31, 4), // "type"
QT_MOC_LITERAL(5, 36, 8), // "IObject*"
QT_MOC_LITERAL(6, 45, 6), // "sender"
QT_MOC_LITERAL(7, 52, 7), // "message"
QT_MOC_LITERAL(8, 60, 20), // "projectFilterChanged"
QT_MOC_LITERAL(9, 81, 18), // "projectItemChanged"
QT_MOC_LITERAL(10, 100, 21), // "treeItemDoubleClicked"
QT_MOC_LITERAL(11, 122, 11), // "QModelIndex"
QT_MOC_LITERAL(12, 134, 5), // "index"
QT_MOC_LITERAL(13, 140, 4), // "open"
QT_MOC_LITERAL(14, 145, 8), // "loadFile"
QT_MOC_LITERAL(15, 154, 16), // "filenameOrBundle"
QT_MOC_LITERAL(16, 171, 4), // "save"
QT_MOC_LITERAL(17, 176, 6), // "saveAs"
QT_MOC_LITERAL(18, 183, 12), // "saveLicenses"
QT_MOC_LITERAL(19, 196, 9), // "closeFile"
QT_MOC_LITERAL(20, 206, 15), // "projectTabMoved"
QT_MOC_LITERAL(21, 222, 17), // "projectTabClicked"
QT_MOC_LITERAL(22, 240, 12), // "scriptNotify"
QT_MOC_LITERAL(23, 253, 15), // "SCNotification*"
QT_MOC_LITERAL(24, 269, 3), // "scn"
QT_MOC_LITERAL(25, 273, 4), // "undo"
QT_MOC_LITERAL(26, 278, 4), // "redo"
QT_MOC_LITERAL(27, 283, 4), // "copy"
QT_MOC_LITERAL(28, 288, 3), // "cut"
QT_MOC_LITERAL(29, 292, 5), // "paste"
QT_MOC_LITERAL(30, 298, 11), // "addFunction"
QT_MOC_LITERAL(31, 310, 9), // "addFolder"
QT_MOC_LITERAL(32, 320, 17), // "addFunctionFolder"
QT_MOC_LITERAL(33, 338, 6), // "rename"
QT_MOC_LITERAL(34, 345, 22), // "excludeFromCompilation"
QT_MOC_LITERAL(35, 368, 5), // "block"
QT_MOC_LITERAL(36, 374, 3), // "del"
QT_MOC_LITERAL(37, 378, 8), // "homePage"
QT_MOC_LITERAL(38, 387, 4), // "help"
QT_MOC_LITERAL(39, 392, 5), // "about"
QT_MOC_LITERAL(40, 398, 15), // "projectModified"
QT_MOC_LITERAL(41, 414, 18), // "projectNodeRemoved"
QT_MOC_LITERAL(42, 433, 12), // "ProjectNode*"
QT_MOC_LITERAL(43, 446, 4), // "node"
QT_MOC_LITERAL(44, 451, 20), // "projectObjectRemoved"
QT_MOC_LITERAL(45, 472, 6), // "object"
QT_MOC_LITERAL(46, 479, 7), // "compile"
QT_MOC_LITERAL(47, 487, 7), // "execute"
QT_MOC_LITERAL(48, 495, 15), // "executeOriginal"
QT_MOC_LITERAL(49, 511, 16), // "executeProtected"
QT_MOC_LITERAL(50, 528, 18), // "projectContextMenu"
QT_MOC_LITERAL(51, 547, 1), // "p"
QT_MOC_LITERAL(52, 549, 17), // "scriptContextMenu"
QT_MOC_LITERAL(53, 567, 19), // "functionContextMenu"
QT_MOC_LITERAL(54, 587, 18), // "functionExtAddress"
QT_MOC_LITERAL(55, 606, 18), // "functionEndAddress"
QT_MOC_LITERAL(56, 625, 11), // "functionDel"
QT_MOC_LITERAL(57, 637, 19), // "loadFileFromHistory"
QT_MOC_LITERAL(58, 657, 16), // "loadFileFromBoot"
QT_MOC_LITERAL(59, 674, 10), // "addLicense"
QT_MOC_LITERAL(60, 685, 13), // "addFileFolder"
QT_MOC_LITERAL(61, 699, 7), // "addFile"
QT_MOC_LITERAL(62, 707, 13), // "createKeyPair"
QT_MOC_LITERAL(63, 721, 13), // "exportKeyPair"
QT_MOC_LITERAL(64, 735, 15), // "useOtherProject"
QT_MOC_LITERAL(65, 751, 13), // "importLicense"
QT_MOC_LITERAL(66, 765, 13), // "importProject"
QT_MOC_LITERAL(67, 779, 8), // "examples"
QT_MOC_LITERAL(68, 788, 10), // "watermarks"
QT_MOC_LITERAL(69, 799, 8), // "settings"
QT_MOC_LITERAL(70, 808, 8), // "showFile"
QT_MOC_LITERAL(71, 817, 20), // "logItemDoubleClicked"
QT_MOC_LITERAL(72, 838, 25), // "functionItemDoubleClicked"
QT_MOC_LITERAL(73, 864, 23), // "disasmItemDoubleClicked"
QT_MOC_LITERAL(74, 888, 4), // "goTo"
QT_MOC_LITERAL(75, 893, 6), // "search"
QT_MOC_LITERAL(76, 900, 13), // "showProtected"
QT_MOC_LITERAL(77, 914, 15), // "contextFindNext"
QT_MOC_LITERAL(78, 930, 19), // "contextFindPrevious"
QT_MOC_LITERAL(79, 950, 11), // "contextFind"
QT_MOC_LITERAL(80, 962, 3), // "ttf"
QT_MOC_LITERAL(81, 966, 7), // "forward"
QT_MOC_LITERAL(82, 974, 11), // "incremental"
QT_MOC_LITERAL(83, 986, 17), // "contextFindClosed"
QT_MOC_LITERAL(84, 1004, 17), // "scriptModeClicked"
QT_MOC_LITERAL(85, 1022, 13), // "templatesShow"
QT_MOC_LITERAL(86, 1036, 13), // "templatesSave"
QT_MOC_LITERAL(87, 1050, 13), // "templatesEdit"
QT_MOC_LITERAL(88, 1064, 14), // "templateSelect"
QT_MOC_LITERAL(89, 1079, 17), // "updateEditActions"
QT_MOC_LITERAL(90, 1097, 18), // "treeSectionClicked"
QT_MOC_LITERAL(91, 1116, 21), // "recentFileContextMenu"
QT_MOC_LITERAL(92, 1138, 14), // "openRecentFile"
QT_MOC_LITERAL(93, 1153, 16), // "removeRecentFile"
QT_MOC_LITERAL(94, 1170, 11), // "fileChanged"
QT_MOC_LITERAL(95, 1182, 4) // "path"
},
"MainWindow\0notify\0\0MessageType\0type\0"
"IObject*\0sender\0message\0projectFilterChanged\0"
"projectItemChanged\0treeItemDoubleClicked\0"
"QModelIndex\0index\0open\0loadFile\0"
"filenameOrBundle\0save\0saveAs\0saveLicenses\0"
"closeFile\0projectTabMoved\0projectTabClicked\0"
"scriptNotify\0SCNotification*\0scn\0undo\0"
"redo\0copy\0cut\0paste\0addFunction\0"
"addFolder\0addFunctionFolder\0rename\0"
"excludeFromCompilation\0block\0del\0"
"homePage\0help\0about\0projectModified\0"
"projectNodeRemoved\0ProjectNode*\0node\0"
"projectObjectRemoved\0object\0compile\0"
"execute\0executeOriginal\0executeProtected\0"
"projectContextMenu\0p\0scriptContextMenu\0"
"functionContextMenu\0functionExtAddress\0"
"functionEndAddress\0functionDel\0"
"loadFileFromHistory\0loadFileFromBoot\0"
"addLicense\0addFileFolder\0addFile\0"
"createKeyPair\0exportKeyPair\0useOtherProject\0"
"importLicense\0importProject\0examples\0"
"watermarks\0settings\0showFile\0"
"logItemDoubleClicked\0functionItemDoubleClicked\0"
"disasmItemDoubleClicked\0goTo\0search\0"
"showProtected\0contextFindNext\0"
"contextFindPrevious\0contextFind\0ttf\0"
"forward\0incremental\0contextFindClosed\0"
"scriptModeClicked\0templatesShow\0"
"templatesSave\0templatesEdit\0templateSelect\0"
"updateEditActions\0treeSectionClicked\0"
"recentFileContextMenu\0openRecentFile\0"
"removeRecentFile\0fileChanged\0path"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
76, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 3, 394, 2, 0x08 /* Private */,
8, 0, 401, 2, 0x08 /* Private */,
9, 0, 402, 2, 0x08 /* Private */,
10, 1, 403, 2, 0x08 /* Private */,
13, 0, 406, 2, 0x08 /* Private */,
14, 1, 407, 2, 0x08 /* Private */,
16, 0, 410, 2, 0x08 /* Private */,
17, 0, 411, 2, 0x08 /* Private */,
18, 0, 412, 2, 0x08 /* Private */,
19, 0, 413, 2, 0x08 /* Private */,
20, 0, 414, 2, 0x08 /* Private */,
21, 0, 415, 2, 0x08 /* Private */,
22, 1, 416, 2, 0x08 /* Private */,
25, 0, 419, 2, 0x08 /* Private */,
26, 0, 420, 2, 0x08 /* Private */,
27, 0, 421, 2, 0x08 /* Private */,
28, 0, 422, 2, 0x08 /* Private */,
29, 0, 423, 2, 0x08 /* Private */,
30, 0, 424, 2, 0x08 /* Private */,
31, 0, 425, 2, 0x08 /* Private */,
32, 0, 426, 2, 0x08 /* Private */,
33, 0, 427, 2, 0x08 /* Private */,
34, 0, 428, 2, 0x08 /* Private */,
35, 0, 429, 2, 0x08 /* Private */,
36, 0, 430, 2, 0x08 /* Private */,
37, 0, 431, 2, 0x08 /* Private */,
38, 0, 432, 2, 0x08 /* Private */,
39, 0, 433, 2, 0x08 /* Private */,
40, 0, 434, 2, 0x08 /* Private */,
41, 1, 435, 2, 0x08 /* Private */,
44, 1, 438, 2, 0x08 /* Private */,
46, 0, 441, 2, 0x08 /* Private */,
47, 0, 442, 2, 0x08 /* Private */,
48, 0, 443, 2, 0x08 /* Private */,
49, 0, 444, 2, 0x08 /* Private */,
50, 1, 445, 2, 0x08 /* Private */,
52, 1, 448, 2, 0x08 /* Private */,
53, 1, 451, 2, 0x08 /* Private */,
54, 0, 454, 2, 0x08 /* Private */,
55, 0, 455, 2, 0x08 /* Private */,
56, 0, 456, 2, 0x08 /* Private */,
57, 0, 457, 2, 0x08 /* Private */,
58, 0, 458, 2, 0x08 /* Private */,
59, 0, 459, 2, 0x08 /* Private */,
60, 0, 460, 2, 0x08 /* Private */,
61, 0, 461, 2, 0x08 /* Private */,
62, 0, 462, 2, 0x08 /* Private */,
63, 0, 463, 2, 0x08 /* Private */,
64, 0, 464, 2, 0x08 /* Private */,
65, 0, 465, 2, 0x08 /* Private */,
66, 0, 466, 2, 0x08 /* Private */,
67, 0, 467, 2, 0x08 /* Private */,
68, 0, 468, 2, 0x08 /* Private */,
69, 0, 469, 2, 0x08 /* Private */,
70, 0, 470, 2, 0x08 /* Private */,
71, 1, 471, 2, 0x08 /* Private */,
72, 1, 474, 2, 0x08 /* Private */,
73, 1, 477, 2, 0x08 /* Private */,
74, 0, 480, 2, 0x08 /* Private */,
75, 0, 481, 2, 0x08 /* Private */,
76, 0, 482, 2, 0x08 /* Private */,
77, 0, 483, 2, 0x08 /* Private */,
78, 0, 484, 2, 0x08 /* Private */,
79, 3, 485, 2, 0x08 /* Private */,
83, 0, 492, 2, 0x08 /* Private */,
84, 0, 493, 2, 0x08 /* Private */,
85, 0, 494, 2, 0x08 /* Private */,
86, 0, 495, 2, 0x08 /* Private */,
87, 0, 496, 2, 0x08 /* Private */,
88, 0, 497, 2, 0x08 /* Private */,
89, 0, 498, 2, 0x08 /* Private */,
90, 1, 499, 2, 0x08 /* Private */,
91, 1, 502, 2, 0x08 /* Private */,
92, 0, 505, 2, 0x08 /* Private */,
93, 0, 506, 2, 0x08 /* Private */,
94, 1, 507, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::QString, 4, 6, 7,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 11, 12,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 15,
QMetaType::Bool,
QMetaType::Void,
QMetaType::Void,
QMetaType::Bool,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 23, 24,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 42, 43,
QMetaType::Void, QMetaType::VoidStar, 45,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QPoint, 51,
QMetaType::Void, QMetaType::QPoint, 51,
QMetaType::Void, QMetaType::QPoint, 51,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 11, 12,
QMetaType::Void, 0x80000000 | 11, 12,
QMetaType::Void, 0x80000000 | 11, 12,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, QMetaType::Bool, QMetaType::Bool, 80, 81, 82,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 12,
QMetaType::Void, QMetaType::QPoint, 51,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 95,
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->notify((*reinterpret_cast< MessageType(*)>(_a[1])),(*reinterpret_cast< IObject*(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
case 1: _t->projectFilterChanged(); break;
case 2: _t->projectItemChanged(); break;
case 3: _t->treeItemDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
case 4: _t->open(); break;
case 5: _t->loadFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 6: { bool _r = _t->save();
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
case 7: _t->saveAs(); break;
case 8: _t->saveLicenses(); break;
case 9: { bool _r = _t->closeFile();
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
case 10: _t->projectTabMoved(); break;
case 11: _t->projectTabClicked(); break;
case 12: _t->scriptNotify((*reinterpret_cast< SCNotification*(*)>(_a[1]))); break;
case 13: _t->undo(); break;
case 14: _t->redo(); break;
case 15: _t->copy(); break;
case 16: _t->cut(); break;
case 17: _t->paste(); break;
case 18: _t->addFunction(); break;
case 19: _t->addFolder(); break;
case 20: _t->addFunctionFolder(); break;
case 21: _t->rename(); break;
case 22: _t->excludeFromCompilation(); break;
case 23: _t->block(); break;
case 24: _t->del(); break;
case 25: _t->homePage(); break;
case 26: _t->help(); break;
case 27: _t->about(); break;
case 28: _t->projectModified(); break;
case 29: _t->projectNodeRemoved((*reinterpret_cast< ProjectNode*(*)>(_a[1]))); break;
case 30: _t->projectObjectRemoved((*reinterpret_cast< void*(*)>(_a[1]))); break;
case 31: _t->compile(); break;
case 32: _t->execute(); break;
case 33: _t->executeOriginal(); break;
case 34: _t->executeProtected(); break;
case 35: _t->projectContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
case 36: _t->scriptContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
case 37: _t->functionContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
case 38: _t->functionExtAddress(); break;
case 39: _t->functionEndAddress(); break;
case 40: _t->functionDel(); break;
case 41: _t->loadFileFromHistory(); break;
case 42: _t->loadFileFromBoot(); break;
case 43: _t->addLicense(); break;
case 44: _t->addFileFolder(); break;
case 45: _t->addFile(); break;
case 46: _t->createKeyPair(); break;
case 47: _t->exportKeyPair(); break;
case 48: _t->useOtherProject(); break;
case 49: _t->importLicense(); break;
case 50: _t->importProject(); break;
case 51: _t->examples(); break;
case 52: _t->watermarks(); break;
case 53: _t->settings(); break;
case 54: _t->showFile(); break;
case 55: _t->logItemDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
case 56: _t->functionItemDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
case 57: _t->disasmItemDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
case 58: _t->goTo(); break;
case 59: _t->search(); break;
case 60: _t->showProtected(); break;
case 61: _t->contextFindNext(); break;
case 62: _t->contextFindPrevious(); break;
case 63: _t->contextFind((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
case 64: _t->contextFindClosed(); break;
case 65: _t->scriptModeClicked(); break;
case 66: _t->templatesShow(); break;
case 67: _t->templatesSave(); break;
case 68: _t->templatesEdit(); break;
case 69: _t->templateSelect(); break;
case 70: _t->updateEditActions(); break;
case 71: _t->treeSectionClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
case 72: _t->recentFileContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
case 73: _t->openRecentFile(); break;
case 74: _t->removeRecentFile(); break;
case 75: _t->fileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
default: ;
}
}
}
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 < 76)
qt_static_metacall(this, _c, _id, _a);
_id -= 76;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 76)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 76;
}
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE