Ejemplo n.º 1
0
int PortableTester::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: buttonPressed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: UnHide(); break;
        case 2: checkButton(); break;
        default: ;
        }
        _id -= 3;
    }
    return _id;
}
Ejemplo n.º 2
0
int PortableTester::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: startFG(); break;
        case 1: buttonPressed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: poweroff(); break;
        case 3: houseKeeping(); break;
        case 4: UnHide(); break;
        case 5: checkButton(); break;
        case 6: idleScreen(); break;
        case 7: slotAcceptUserLogin((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        default: ;
        }
        _id -= 8;
    }
    return _id;
}