ПК
qmlRegisterType
там перегрузка и с moduleName и с uriSize: a a a
ПК
qmlRegisterType
там перегрузка и с moduleName и с uriМВ
ПК
Е
AS
qmlRegisterType
там перегрузка и с moduleName и с uritemplate <typename T> int qmlRegisterInterface(const char *typeName)
This template function registers the C++ type in the QML system under the name typeName.
Types registered as an interface with the engine should also declare themselves as an interface with the meta object system. For example:
struct FooInterface
{
public:
virtual ~FooInterface();
virtual void doSomething() = 0;
};
Q_DECLARE_INTERFACE(FooInterface, "org.foo.FooInterface")
When registered with the QML engine in this way, they can be used as property types:
Q_PROPERTY(FooInterface *foo READ foo WRITE setFoo)
When you assign a QObject sub-class to this property, the QML engine does the interface cast to FooInterface* automatically.
Returns the QML type id.
See also QML_INTERFACE.
AS
AS
AS
ПК
ПК
const char* uri, int majorVersion
, для которой доки нету)AS
const char* uri, int majorVersion
, для которой доки нету)ПК
RL
RL
МВ
RL
Е
МВ