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

QtRemoteObjects Namespace

The QtRemoteObjects namespace contains identifiers used in the Remote Objects module, as well as some functions used from code generated by the Replica Compiler (repc).

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QtRemoteObjects Namespace

  • Header: QtRemoteObjects

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)

    target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects)

  • qmake: QT += remoteobjects

Detailed Description

 

Type Documentation

 

enum QtRemoteObjects::InitialAction

This enum type specifies the initial action when acquiring a Replica derived from QAbstractItemModel.

Constant

Value

Description

QtRemoteObjects::FetchRootSize

0

Only the size of the model is requested before the initialized signal is emitted, no data will be prefetched before that.

QtRemoteObjects::PrefetchData

1

Some data can be prefetched before the initialized signal is emitted.

See Also

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