本文整理汇总了C++中qt_static_metacall函数的典型用法代码示例。如果您正苦于以下问题:C++ qt_static_metacall函数的具体用法?C++ qt_static_metacall怎么用?C++ qt_static_metacall使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了qt_static_metacall函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: qt_static_metacall
int CellularTechnologies::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 14)
qt_static_metacall(this, _c, _id, _a);
_id -= 14;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< QString*>(_v) = cellSearchStatus(); break;
case 1: *reinterpret_cast< QStringList*>(_v) = configuredTechnologies(); break;
case 2: *reinterpret_cast< QString*>(_v) = connectionState(); break;
case 3: *reinterpret_cast< QString*>(_v) = displayedCarrierName(); break;
case 4: *reinterpret_cast< QString*>(_v) = homeCountry(); break;
case 5: *reinterpret_cast< bool*>(_v) = isOnEmergencyCall(); break;
case 6: *reinterpret_cast< QString*>(_v) = networkTechnology(); break;
case 7: *reinterpret_cast< QString*>(_v) = parentCarrierName(); break;
case 8: *reinterpret_cast< bool*>(_v) = roaming(); break;
case 9: *reinterpret_cast< QString*>(_v) = scanMode(); break;
case 10: *reinterpret_cast< int*>(_v) = signalStrengthBars(); break;
case 11: *reinterpret_cast< int*>(_v) = signalStrengthRssi(); break;
case 12: *reinterpret_cast< QString*>(_v) = technologyIndicator(); break;
}
_id -= 13;
} else if (_c == QMetaObject::WriteProperty) {
_id -= 13;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 13;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 13;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 13;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 13;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 13;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 13;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:RodgerLeblanc,项目名称:TheUnexposedAPIs,代码行数:47,代码来源:moc_CellularTechnologies.cpp
示例2: qt_static_metacall
int QGraphicsDropShadowEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QGraphicsEffect::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 10)
qt_static_metacall(this, _c, _id, _a);
_id -= 10;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< QPointF*>(_v) = offset(); break;
case 1: *reinterpret_cast< qreal*>(_v) = xOffset(); break;
case 2: *reinterpret_cast< qreal*>(_v) = yOffset(); break;
case 3: *reinterpret_cast< qreal*>(_v) = blurRadius(); break;
case 4: *reinterpret_cast< QColor*>(_v) = color(); break;
}
_id -= 5;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setOffset(*reinterpret_cast< QPointF*>(_v)); break;
case 1: setXOffset(*reinterpret_cast< qreal*>(_v)); break;
case 2: setYOffset(*reinterpret_cast< qreal*>(_v)); break;
case 3: setBlurRadius(*reinterpret_cast< qreal*>(_v)); break;
case 4: setColor(*reinterpret_cast< QColor*>(_v)); break;
}
_id -= 5;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 5;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:2011fuzhou,项目名称:vlc-2.1.0.subproject-2010,代码行数:47,代码来源:moc_qgraphicseffect.cpp
示例3: qt_static_metacall
int Scene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QQuickItem::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 6)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 6)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 6;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< qreal*>(_v) = t(); break;
}
_id -= 1;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setT(*reinterpret_cast< qreal*>(_v)); break;
}
_id -= 1;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 1;
} else if (_c == QMetaObject::RegisterPropertyMetaType) {
if (_id < 1)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:GaryNiet,项目名称:JSONCompiler,代码行数:47,代码来源:moc_scene.cpp
示例4: qt_static_metacall
int Box2DDistanceJoint::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = Box2DJoint::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 5)
qt_static_metacall(this, _c, _id, _a);
_id -= 5;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< float*>(_v) = length(); break;
case 1: *reinterpret_cast< float*>(_v) = frequencyHz(); break;
case 2: *reinterpret_cast< float*>(_v) = dampingRatio(); break;
case 3: *reinterpret_cast< QPointF*>(_v) = localAnchorA(); break;
case 4: *reinterpret_cast< QPointF*>(_v) = localAnchorB(); break;
}
_id -= 5;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setLength(*reinterpret_cast< float*>(_v)); break;
case 1: setFrequencyHz(*reinterpret_cast< float*>(_v)); break;
case 2: setDampingRatio(*reinterpret_cast< float*>(_v)); break;
case 3: setLocalAnchorA(*reinterpret_cast< QPointF*>(_v)); break;
case 4: setLocalAnchorB(*reinterpret_cast< QPointF*>(_v)); break;
}
_id -= 5;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 5;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:Bomb3rman,项目名称:BBJamQt312,代码行数:47,代码来源:moc_box2ddistancejoint.cpp
示例5: qt_static_metacall
int Timer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
typedef bb::cascades::CustomControl QMocSuperClass;
_id = QMocSuperClass::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 5)
qt_static_metacall(this, _c, _id, _a);
_id -= 5;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0:
*reinterpret_cast< bool*>(_v) = isActive();
break;
case 1:
*reinterpret_cast< int*>(_v) = interval();
break;
}
_id -= 2;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 1:
setInterval(*reinterpret_cast< int*>(_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;
}
开发者ID:lzcbetter,项目名称:Tomato-Timer-for-BlackBerry_OS10,代码行数:47,代码来源:moc_timer.cpp
示例6: qt_static_metacall
int UIWizardNewVMPageExpert::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = UIWizardPage::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 6)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< QString*>(_v) = machineFolder(); break;
case 1: *reinterpret_cast< QString*>(_v) = machineBaseName(); break;
case 2: *reinterpret_cast< CMedium*>(_v) = virtualDisk(); break;
case 3: *reinterpret_cast< QString*>(_v) = virtualDiskId(); break;
case 4: *reinterpret_cast< QString*>(_v) = virtualDiskLocation(); break;
}
_id -= 5;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setMachineFolder(*reinterpret_cast< QString*>(_v)); break;
case 1: setMachineBaseName(*reinterpret_cast< QString*>(_v)); break;
case 2: setVirtualDisk(*reinterpret_cast< CMedium*>(_v)); break;
case 3: setVirtualDiskId(*reinterpret_cast< QString*>(_v)); break;
case 4: setVirtualDiskLocation(*reinterpret_cast< QString*>(_v)); break;
}
_id -= 5;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 5;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:bayasist,项目名称:vbox,代码行数:47,代码来源:UIWizardNewVMPageExpert.tmp.cpp
示例7: qt_static_metacall
int QtMultiSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QProgressBar::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 7)
qt_static_metacall(this, _c, _id, _a);
_id -= 7;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 7)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 7;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< QString*>(_v) = skin(); break;
}
_id -= 1;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setSkin(*reinterpret_cast< QString*>(_v)); break;
}
_id -= 1;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 1;
} else if (_c == QMetaObject::RegisterPropertyMetaType) {
if (_id < 1)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:jiy27,项目名称:pvbaddon,代码行数:47,代码来源:moc_qtmultislider.cpp
示例8: qt_static_metacall
int GroupAddrObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 10)
qt_static_metacall(this, _c, _id, _a);
_id -= 10;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< int*>(_v) = type(); break;
case 1: *reinterpret_cast< QString*>(_v) = description(); break;
case 2: *reinterpret_cast< QString*>(_v) = groupAddr(); break;
case 3: *reinterpret_cast< QString*>(_v) = value(); break;
case 4: *reinterpret_cast< QString*>(_v) = tags(); break;
}
_id -= 5;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setType(*reinterpret_cast< int*>(_v)); break;
case 1: setDescription(*reinterpret_cast< QString*>(_v)); break;
case 2: setGroupAddr(*reinterpret_cast< QString*>(_v)); break;
case 3: setValue(*reinterpret_cast< QString*>(_v)); break;
case 4: setTags(*reinterpret_cast< QString*>(_v)); break;
}
_id -= 5;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 5;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:SkySparky,项目名称:Qt-KNX-Server,代码行数:47,代码来源:moc_GroupAddrObject.cpp
示例9: qt_static_metacall
int BitcoinAmountField::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) {
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 2;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< qint64*>(_v) = value(); break;
}
_id -= 1;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setValue(*reinterpret_cast< qint64*>(_v)); break;
}
_id -= 1;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 1;
} else if (_c == QMetaObject::RegisterPropertyMetaType) {
if (_id < 1)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:dkcoinus,项目名称:dkcoin_src,代码行数:47,代码来源:moc_bitcoinamountfield.cpp
示例10: qt_static_metacall
int Gui::InputField::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QLineEdit::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 6)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< QByteArray*>(_v) = paramGrpPath(); break;
case 1: *reinterpret_cast< double*>(_v) = singleStep(); break;
case 2: *reinterpret_cast< double*>(_v) = maximum(); break;
case 3: *reinterpret_cast< double*>(_v) = minimum(); break;
case 4: *reinterpret_cast< int*>(_v) = historySize(); break;
}
_id -= 5;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setParamGrpPath(*reinterpret_cast< QByteArray*>(_v)); break;
case 1: setSingleStep(*reinterpret_cast< double*>(_v)); break;
case 2: setMaximum(*reinterpret_cast< double*>(_v)); break;
case 3: setMinimum(*reinterpret_cast< double*>(_v)); break;
case 4: setHistorySize(*reinterpret_cast< int*>(_v)); break;
}
_id -= 5;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 5;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:nickponvert,项目名称:freeCadDrawing,代码行数:47,代码来源:moc_InputField.cpp
示例11: qt_static_metacall
int PlaylistModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QAbstractListModel::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 14)
qt_static_metacall(this, _c, _id, _a);
_id -= 14;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 14)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 14;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< int*>(_v) = currentIndex(); break;
}
_id -= 1;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setCurrentIndex(*reinterpret_cast< int*>(_v)); break;
}
_id -= 1;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 1;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 1;
} else if (_c == QMetaObject::RegisterPropertyMetaType) {
if (_id < 1)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:amapig,项目名称:QtPractice,代码行数:47,代码来源:moc_playlistmodel.cpp
示例12: qt_static_metacall
int Q3TimeEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = Q3DateTimeEditBase::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 3)
qt_static_metacall(this, _c, _id, _a);
_id -= 3;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< QTime*>(_v) = time(); break;
case 1: *reinterpret_cast< bool*>(_v) = autoAdvance(); break;
case 2: *reinterpret_cast< QTime*>(_v) = maxValue(); break;
case 3: *reinterpret_cast< QTime*>(_v) = minValue(); break;
case 4: *reinterpret_cast<int*>(_v) = QFlag(display()); break;
}
_id -= 5;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setTime(*reinterpret_cast< QTime*>(_v)); break;
case 1: setAutoAdvance(*reinterpret_cast< bool*>(_v)); break;
case 2: setMaxValue(*reinterpret_cast< QTime*>(_v)); break;
case 3: setMinValue(*reinterpret_cast< QTime*>(_v)); break;
case 4: setDisplay(QFlag(*reinterpret_cast<int*>(_v))); break;
}
_id -= 5;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 5;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:unni07,项目名称:RecommenderSystem,代码行数:47,代码来源:moc_q3datetimeedit.cpp
示例13: qt_static_metacall
int NoteEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 8)
qt_static_metacall(this, _c, _id, _a);
_id -= 8;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< QString*>(_v) = title(); break;
case 1: *reinterpret_cast< QString*>(_v) = description(); break;
case 2: *reinterpret_cast< QDateTime*>(_v) = dueDateTime(); break;
case 3: *reinterpret_cast< bool*>(_v) = completed(); break;
case 4: *reinterpret_cast< Mode*>(_v) = mode(); break;
}
_id -= 5;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setTitle(*reinterpret_cast< QString*>(_v)); break;
case 1: setDescription(*reinterpret_cast< QString*>(_v)); break;
case 2: setDueDateTime(*reinterpret_cast< QDateTime*>(_v)); break;
case 3: setCompleted(*reinterpret_cast< bool*>(_v)); break;
case 4: setMode(*reinterpret_cast< Mode*>(_v)); break;
}
_id -= 5;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 5;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:ne0dim,项目名称:Remember_backup,代码行数:47,代码来源:moc_NoteEditor.cpp
示例14: qt_static_metacall
int PhoneActive::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 5)
qt_static_metacall(this, _c, _id, _a);
_id -= 5;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0:
*reinterpret_cast< int*>(_v) = areaCode();
break;
case 1:
*reinterpret_cast< int*>(_v) = countryCode();
break;
case 2:
*reinterpret_cast< bool*>(_v) = phoneActive();
break;
case 3:
*reinterpret_cast< QString*>(_v) = phoneState();
break;
}
_id -= 4;
} else if (_c == QMetaObject::WriteProperty) {
_id -= 4;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 4;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:RodgerLeblanc,项目名称:TheUnexposedAPIs,代码行数:46,代码来源:moc_PhoneActive.cpp
示例15: qt_static_metacall
int QAbstractAnimation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 11)
qt_static_metacall(this, _c, _id, _a);
_id -= 11;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< State*>(_v) = state(); break;
case 1: *reinterpret_cast< int*>(_v) = loopCount(); break;
case 2: *reinterpret_cast< int*>(_v) = currentTime(); break;
case 3: *reinterpret_cast< int*>(_v) = currentLoop(); break;
case 4: *reinterpret_cast< Direction*>(_v) = direction(); break;
case 5: *reinterpret_cast< int*>(_v) = duration(); break;
}
_id -= 6;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 1: setLoopCount(*reinterpret_cast< int*>(_v)); break;
case 2: setCurrentTime(*reinterpret_cast< int*>(_v)); break;
case 4: setDirection(*reinterpret_cast< Direction*>(_v)); break;
}
_id -= 6;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 6;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 6;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 6;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 6;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 6;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 6;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:Arise,项目名称:Open-DPI-Detector,代码行数:46,代码来源:moc_qabstractanimation.cpp
示例16: qt_static_metacall
int LineEditExtension::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< int*>(_v) = leftMargin(); break;
case 1: *reinterpret_cast< int*>(_v) = rightMargin(); break;
case 2: *reinterpret_cast< int*>(_v) = topMargin(); break;
case 3: *reinterpret_cast< int*>(_v) = bottomMargin(); break;
}
_id -= 4;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setLeftMargin(*reinterpret_cast< int*>(_v)); break;
case 1: setRightMargin(*reinterpret_cast< int*>(_v)); break;
case 2: setTopMargin(*reinterpret_cast< int*>(_v)); break;
case 3: setBottomMargin(*reinterpret_cast< int*>(_v)); break;
}
_id -= 4;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 4;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:vistone,项目名称:qt-everywhere-opensource-src-4.8.6,代码行数:45,代码来源:moc_lineedit.cpp
示例17: qt_static_metacall
int UIWizardCloneVDPageExpert::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = UIWizardPage::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 4)
qt_static_metacall(this, _c, _id, _a);
_id -= 4;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< CMedium*>(_v) = sourceVirtualDisk(); break;
case 1: *reinterpret_cast< CMediumFormat*>(_v) = mediumFormat(); break;
case 2: *reinterpret_cast< qulonglong*>(_v) = mediumVariant(); break;
case 3: *reinterpret_cast< QString*>(_v) = mediumPath(); break;
case 4: *reinterpret_cast< qulonglong*>(_v) = mediumSize(); break;
}
_id -= 5;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setSourceVirtualDisk(*reinterpret_cast< CMedium*>(_v)); break;
case 1: setMediumFormat(*reinterpret_cast< CMediumFormat*>(_v)); break;
case 2: setMediumVariant(*reinterpret_cast< qulonglong*>(_v)); break;
}
_id -= 5;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 5;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 5;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:bayasist,项目名称:vbox,代码行数:45,代码来源:UIWizardCloneVDPageExpert.cpp
示例18: qt_static_metacall
int QSplitter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QFrame::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< Qt::Orientation*>(_v) = orientation(); break;
case 1: *reinterpret_cast< bool*>(_v) = opaqueResize(); break;
case 2: *reinterpret_cast< int*>(_v) = handleWidth(); break;
case 3: *reinterpret_cast< bool*>(_v) = childrenCollapsible(); break;
}
_id -= 4;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
case 1: setOpaqueResize(*reinterpret_cast< bool*>(_v)); break;
case 2: setHandleWidth(*reinterpret_cast< int*>(_v)); break;
case 3: setChildrenCollapsible(*reinterpret_cast< bool*>(_v)); break;
}
_id -= 4;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 4;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:Arise,项目名称:Open-DPI-Detector,代码行数:45,代码来源:moc_qsplitter.cpp
示例19: qt_static_metacall
int Room::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 4)
qt_static_metacall(this, _c, _id, _a);
_id -= 4;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< QString*>(_v) = id(); break;
case 1: *reinterpret_cast< QString*>(_v) = name(); break;
case 2: *reinterpret_cast< QString*>(_v) = description(); break;
case 3: *reinterpret_cast< QString*>(_v) = img(); break;
}
_id -= 4;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setID(*reinterpret_cast< QString*>(_v)); break;
case 1: setName(*reinterpret_cast< QString*>(_v)); break;
case 2: setDescription(*reinterpret_cast< QString*>(_v)); break;
case 3: setImg(*reinterpret_cast< QString*>(_v)); break;
}
_id -= 4;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 4;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:karelvuong,项目名称:zzz-bb-cella,代码行数:45,代码来源:moc_Room.cpp
示例20: qt_static_metacall
int ShoeDescription::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
}
#ifndef QT_NO_PROPERTIES
else if (_c == QMetaObject::ReadProperty) {
void *_v = _a[0];
switch (_id) {
case 0: *reinterpret_cast< int*>(_v) = size(); break;
case 1: *reinterpret_cast< QColor*>(_v) = color(); break;
case 2: *reinterpret_cast< QString*>(_v) = brand(); break;
case 3: *reinterpret_cast< qreal*>(_v) = price(); break;
}
_id -= 4;
} else if (_c == QMetaObject::WriteProperty) {
void *_v = _a[0];
switch (_id) {
case 0: setSize(*reinterpret_cast< int*>(_v)); break;
case 1: setColor(*reinterpret_cast< QColor*>(_v)); break;
case 2: setBrand(*reinterpret_cast< QString*>(_v)); break;
case 3: setPrice(*reinterpret_cast< qreal*>(_v)); break;
}
_id -= 4;
} else if (_c == QMetaObject::ResetProperty) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyDesignable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyScriptable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyStored) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyEditable) {
_id -= 4;
} else if (_c == QMetaObject::QueryPropertyUser) {
_id -= 4;
}
#endif // QT_NO_PROPERTIES
return _id;
}
开发者ID:ashokpalaniswamy,项目名称:project,代码行数:45,代码来源:moc_person.cpp
注:本文中的qt_static_metacall函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论