⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moc_stlist.cpp

📁 使用QT编写了简单的学生管理系统
💻 CPP
字号:
/****************************************************************************
** Meta object code from reading C++ file 'stlist.h'
**
** Created: Wed Dec 19 19:54:08 2007
**      by: The Qt Meta Object Compiler version 59 (Qt 4.2.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../src/stlist.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'stlist.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.2.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

static const uint qt_meta_data_StList[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
      14,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // signals: signature, parameters, type, tag, flags
       8,    7,    7,    7, 0x05,
      28,    7,    7,    7, 0x05,
      47,    7,    7,    7, 0x05,
      68,    7,    7,    7, 0x05,

 // slots: signature, parameters, type, tag, flags
      90,    7,    7,    7, 0x0a,
      97,    7,    7,    7, 0x0a,
     104,    7,    7,    7, 0x0a,
     112,    7,    7,    7, 0x0a,
     124,    7,  119,    7, 0x0a,
     138,  133,    7,    7, 0x0a,
     154,    7,    7,    7, 0x0a,
     174,    7,    7,    7, 0x0a,
     189,    7,    7,    7, 0x0a,
     206,    7,    7,    7, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_StList[] = {
    "StList\0\0currentChanged(int)\0"
    "noChanged(QString)\0nameChanged(QString)\0"
    "classChanged(QString)\0next()\0prev()\0"
    "first()\0last()\0bool\0remove()\0item\0"
    "append(Student)\0setcurrenValue(int)\0"
    "setnoVale(int)\0setnameVale(int)\0"
    "setclassVale(int)\0"
};

const QMetaObject StList::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_StList,
      qt_meta_data_StList, 0 }
};

const QMetaObject *StList::metaObject() const
{
    return &staticMetaObject;
}

void *StList::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_StList))
	return static_cast<void*>(const_cast< StList*>(this));
    return QWidget::qt_metacast(_clname);
}

int StList::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) {
        switch (_id) {
        case 0: currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: noChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 2: nameChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 3: classChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 4: next(); break;
        case 5: prev(); break;
        case 6: first(); break;
        case 7: last(); break;
        case 8: { bool _r = remove();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 9: append((*reinterpret_cast< const Student(*)>(_a[1]))); break;
        case 10: setcurrenValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: setnoVale((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: setnameVale((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: setclassVale((*reinterpret_cast< int(*)>(_a[1]))); break;
        }
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void StList::currentChanged(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void StList::noChanged(QString _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void StList::nameChanged(QString _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void StList::classChanged(QString _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

⌨️ 快捷键说明

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