int Q3ActionGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = Q3Action::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: selected((*reinterpret_cast< Q3Action*(*)>(_a[1]))); break; case 1: activated((*reinterpret_cast< Q3Action*(*)>(_a[1]))); break; case 2: childToggled((*reinterpret_cast< bool(*)>(_a[1]))); break; case 3: childActivated(); break; case 4: childDestroyed(); break; case 5: internalComboBoxActivated((*reinterpret_cast< int(*)>(_a[1]))); break; case 6: internalComboBoxHighlighted((*reinterpret_cast< int(*)>(_a[1]))); break; case 7: internalToggle((*reinterpret_cast< Q3Action*(*)>(_a[1]))); break; case 8: objectDestroyed(); break; } _id -= 9; } #ifndef QT_NO_PROPERTIES else if (_c == QMetaObject::ReadProperty) { void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< bool*>(_v) = isExclusive(); break; case 1: *reinterpret_cast< bool*>(_v) = usesDropDown(); break; } _id -= 2; } else if (_c == QMetaObject::WriteProperty) { void *_v = _a[0]; switch (_id) { case 0: setExclusive(*reinterpret_cast< bool*>(_v)); break; case 1: setUsesDropDown(*reinterpret_cast< bool*>(_v)); break; } _id -= 2; } else if (_c == QMetaObject::ResetProperty) { _id -= 2; } else if (_c == QMetaObject::QueryPropertyDesignable) { _id -= 2; } else if (_c == QMetaObject::QueryPropertyScriptable) { _id -= 2; } else if (_c == QMetaObject::QueryPropertyStored) { _id -= 2; } else if (_c == QMetaObject::QueryPropertyEditable) { _id -= 2; } else if (_c == QMetaObject::QueryPropertyUser) { _id -= 2; } #endif // QT_NO_PROPERTIES return _id; }
bool QActionGroup::qt_property( int id, int f, QVariant* v) { switch ( id - staticMetaObject()->propertyOffset() ) { case 0: switch( f ) { case 0: setExclusive(v->asBool()); break; case 1: *v = QVariant( this->isExclusive(), 0 ); break; case 3: case 4: case 5: break; default: return FALSE; } break; case 1: switch( f ) { case 0: setUsesDropDown(v->asBool()); break; case 1: *v = QVariant( this->usesDropDown(), 0 ); break; case 3: case 4: case 5: break; default: return FALSE; } break; default: return QAction::qt_property( id, f, v ); } return TRUE; }