示例#1
0
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: update((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 1: on_tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: on_minusBTN_clicked(); break;
        case 3: on_plusBTN_clicked(); break;
        case 4: on_toolButton_clicked(); break;
        case 5: on_nextBTN_clicked(); break;
        case 6: on_prevBTN_clicked(); break;
        case 7: on_saveLayoutBTN_clicked(); break;
        case 8: on_reprocBTN_clicked(); break;
        case 9: on_whiteBTN_clicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: on_blackBTN_clicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: on_openfileBTN_clicked(); break;
        case 12: mousePressEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 13: mouseMoveEvent((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 14: valueChangeRequest((*reinterpret_cast< QPoint(*)>(_a[1]))); break;
        case 15: showHelp(); break;
        default: ;
        }
        _id -= 16;
    }
    return _id;
}
示例#2
0
int ProbeStatus::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: on_toolButton_clicked(); break;
        default: ;
        }
        _id -= 1;
    }
    return _id;
}