moc_mainwindow.cpp

来自「Qt控件使用实例」· C++ 代码 · 共 81 行

CPP
81
字号
/****************************************************************************** Meta object code from reading C++ file 'mainwindow.h'**** Created: Sun May 10 22:47:20 2009**      by: The Qt Meta Object Compiler version 59 (Qt 4.4.0)**** WARNING! All changes made in this file will be lost!*****************************************************************************/#include "mainwindow.h"#if !defined(Q_MOC_OUTPUT_REVISION)#error "The header file 'mainwindow.h' doesn't include <QObject>."#elif Q_MOC_OUTPUT_REVISION != 59#error "This file was generated using the moc from 4.4.0. It"#error "cannot be used with the include files from this version of Qt."#error "(The moc has changed too much.)"#endifQT_BEGIN_MOC_NAMESPACEstatic const uint qt_meta_data_MainWindow[] = { // content:       1,       // revision       0,       // classname       0,    0, // classinfo       5,   10, // methods       0,    0, // properties       0,    0, // enums/sets // slots: signature, parameters, type, tag, flags      12,   11,   11,   11, 0x08,      19,   11,   11,   11, 0x08,      26,   11,   11,   11, 0x08,      37,   11,   11,   11, 0x08,      48,   11,   11,   11, 0x08,       0        // eod};static const char qt_meta_stringdata_MainWindow[] = {    "MainWindow\0\0open()\0save()\0penColor()\0"    "penWidth()\0about()\0"};const QMetaObject MainWindow::staticMetaObject = {    { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,      qt_meta_data_MainWindow, 0 }};const QMetaObject *MainWindow::metaObject() const{    return &staticMetaObject;}void *MainWindow::qt_metacast(const char *_clname){    if (!_clname) return 0;    if (!strcmp(_clname, qt_meta_stringdata_MainWindow))	return static_cast<void*>(const_cast< MainWindow*>(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) {        switch (_id) {        case 0: open(); break;        case 1: save(); break;        case 2: penColor(); break;        case 3: penWidth(); break;        case 4: about(); break;        }        _id -= 5;    }    return _id;}QT_END_MOC_NAMESPACE

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?