IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QAxObjectInterface Class

QAxObjectInterface is an interface providing common properties of QAxObject and QAxWidget.

This class was introduced in Qt 6.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QAxObjectInterface Class

  • Header: QAxObjectInterface

  • Since: Qt 6.0

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS AxContainer)

    target_link_libraries(mytarget PRIVATE Qt6::AxContainer)

  • qmake: QT += axcontainer

  • Inherited By: QAxBaseObject and QAxBaseWidget

Detailed Description

 

Member Function Documentation

 

[virtual] QAxObjectInterface::~QAxObjectInterface()

Destroys the QAxObjectInterface.

[pure virtual] ulong QAxObjectInterface::classContext() const

Returns the context the ActiveX control will run in (default CLSCTX_SERVER).

See Also

[pure virtual] QString QAxObjectInterface::control() const

Returns the name of the COM object wrapped by this QAxBase object.

See Also

[pure virtual] void QAxObjectInterface::resetControl()

Disconnects and destroys the COM object.

See Also

[pure virtual] void QAxObjectInterface::setClassContext(ulong classContext)

Sets the context the ActiveX control will run in to classContext

Affects the "dwClsContext" argument when calling CoCreateInstance. This can be used to control in-proc vs. out-of-proc startup for controls supporting both alternatives. Also, it can be used to modify/reduce control permissions when used with CLSCTX_ENABLE_CLOAKING and an impersonation token.

Note that this function must be called before setControl() to have any effect.

See Also

[pure virtual] bool QAxObjectInterface::setControl(const QString &c)

Returns whether setting the COM object succeeded.

Sets the name of the COM object wrapped by this QAxBase object to c.

See Also

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+