本文整理汇总了C++中QScriptValue::toQObject方法的典型用法代码示例。如果您正苦于以下问题:C++ QScriptValue::toQObject方法的具体用法?C++ QScriptValue::toQObject怎么用?C++ QScriptValue::toQObject使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QScriptValue
的用法示例。
在下文中一共展示了QScriptValue::toQObject方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: QStackedWidgetfromScriptValue
void QStackedWidgetfromScriptValue(const QScriptValue &obj, QStackedWidget* &item)
{
item = qobject_cast<QStackedWidget*>(obj.toQObject());
}
示例2: fileDialogProxyFromQScriptValue
void fileDialogProxyFromQScriptValue(const QScriptValue &scriptValue, FileDialogProxyPtr &fd)
{
QObject *obj = scriptValue.toQObject();
fd = static_cast<FileDialogProxy *>(obj);
}
示例3: MenuButtonfromScriptValue
void MenuButtonfromScriptValue(const QScriptValue &obj, MenuButton* &item)
{
item = qobject_cast<MenuButton*>(obj.toQObject());
}
示例4: qtscript_QThreadPool_fromScriptValue
static void qtscript_QThreadPool_fromScriptValue(const QScriptValue &value, QThreadPool* &out)
{
out = qobject_cast<QThreadPool*>(value.toQObject());
}
示例5: qtscript_QWebPluginFactory_fromScriptValue
static void qtscript_QWebPluginFactory_fromScriptValue(const QScriptValue &value, QWebPluginFactory* &out)
{
out = qobject_cast<QWebPluginFactory*>(value.toQObject());
}
示例6: qtscript_QDateTimeEdit_fromScriptValue
static void qtscript_QDateTimeEdit_fromScriptValue(const QScriptValue &value, QDateTimeEdit* &out)
{
out = qobject_cast<QDateTimeEdit*>(value.toQObject());
}
示例7: qtscript_QTranslator_fromScriptValue
static void qtscript_QTranslator_fromScriptValue(const QScriptValue &value, QTranslator* &out)
{
out = qobject_cast<QTranslator*>(value.toQObject());
}
示例8: QGridLayoutfromScriptValue
void QGridLayoutfromScriptValue(const QScriptValue &obj, QGridLayout* &item)
{
item = qobject_cast<QGridLayout*>(obj.toQObject());
}
示例9: qtscript_QDrag_fromScriptValue
static void qtscript_QDrag_fromScriptValue(const QScriptValue &value, QDrag* &out)
{
out = qobject_cast<QDrag*>(value.toQObject());
}
示例10: qtscript_QStylePlugin_fromScriptValue
static void qtscript_QStylePlugin_fromScriptValue(const QScriptValue &value, QStylePlugin* &out)
{
out = qobject_cast<QStylePlugin*>(value.toQObject());
}
示例11: qtscript_QSplashScreen_fromScriptValue
static void qtscript_QSplashScreen_fromScriptValue(const QScriptValue &value, QSplashScreen* &out)
{
out = qobject_cast<QSplashScreen*>(value.toQObject());
}
示例12: UsernameClusterfromScriptValue
void UsernameClusterfromScriptValue(const QScriptValue &obj, UsernameCluster* &item)
{
item = qobject_cast<UsernameCluster*>(obj.toQObject());
}
示例13: UsernameLineEditfromScriptValue
void UsernameLineEditfromScriptValue(const QScriptValue &obj, UsernameLineEdit* &item)
{
item = qobject_cast<UsernameLineEdit*>(obj.toQObject());
}
示例14: qtscript_QPlainTextEdit_fromScriptValue
static void qtscript_QPlainTextEdit_fromScriptValue(const QScriptValue &value, QPlainTextEdit* &out)
{
out = qobject_cast<QPlainTextEdit*>(value.toQObject());
}
示例15: qtscript_QColumnView_fromScriptValue
static void qtscript_QColumnView_fromScriptValue(const QScriptValue &value, QColumnView* &out)
{
out = qobject_cast<QColumnView*>(value.toQObject());
}