QRemoteObjectRegistry#
A class holding information about Source objects available on the Qt Remote Objects network. More…
Synopsis#
Properties#
sourceLocations
- Set of sources known to the registry
Functions#
def
sourceLocations
()
Slots#
def
addSource
(entry)def
pushToRegistryIfNeeded
()def
removeSource
(entry)
Signals#
def
remoteObjectAdded
(entry)def
remoteObjectRemoved
(entry)
Static functions#
def
registerMetatypes
()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
The Registry is a special Source/Replica pair held by a node
itself. It knows about all other Source s available on the network, and simplifies the process of connecting to other node
s.
- class PySide6.QtRemoteObjects.QRemoteObjectRegistry#
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtRemoteObjects.QRemoteObjectRegistry.sourceLocations#
This property holds The set of sources known to the registry..
This property is a QRemoteObjectSourceLocations, which is a typedef for QHash
< QString
, QUrl
>. Each known Source is the QString
key, while the url for the host node is the corresponding value for that key in the hash.
- Access functions:
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.addSource(entry)#
- Parameters:
entry –
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.pushToRegistryIfNeeded()#
- static PySide6.QtRemoteObjects.QRemoteObjectRegistry.registerMetatypes()#
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.remoteObjectAdded(entry)#
- Parameters:
entry –
This signal is emitted whenever a new source location is added to the registry.
entry
is a QRemoteObjectSourceLocation, a typedef for QPair< QString
, QUrl
>.
See also
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.remoteObjectRemoved(entry)#
- Parameters:
entry –
This signal is emitted whenever a Source location is removed from the Registry.
entry
is a QRemoteObjectSourceLocation, a typedef for QPair< QString
, QUrl
>.
See also
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.removeSource(entry)#
- Parameters:
entry –
- PySide6.QtRemoteObjects.QRemoteObjectRegistry.sourceLocations()#
Returns a QRemoteObjectSourceLocations object, which includes the name and additional information of all sources known to the registry.
Getter of property sourceLocations
.