예제 #1
0
int Configure::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_appsettingsconfigButton_clicked();
            break;
        case 1:
            on_medicationconfigButton_clicked();
            break;
        case 2:
            on_contactconfigButton_clicked();
            break;
        case 3:
            on_conditionconfigButton_clicked();
            break;
        case 4:
            on_allergyconfigButton_clicked();
            break;
        case 5:
            on_exitButton_clicked();
            break;
        case 6:
            on_bioconfigButton_clicked();
            break;
        case 7:
            AboutApp();
            break;
        case 8:
            ExitApp();
            break;
        case 9:
            on_insuranceconfigButton_clicked();
            break;
        default:
            ;
        }
        _id -= 10;
    }
    return _id;
}
예제 #2
0
int Widget::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: send(); break;
        case 1: receive(); break;
        case 2: WriteData(); break;
        case 3: on_clearButton_clicked(); break;
        case 4: on_configButton_clicked(); break;
        case 5: on_exitButton_clicked(); break;
        default: ;
        }
        _id -= 6;
    }
    return _id;
}