QIfServiceObjectHandle Class
The QIfServiceObjectHandle class is a handle to a ServiceObject. More...
| Header: | #include <QIfServiceObjectHandle> |
| qmake: | QT += interfaceframework |
| Since: | Qt 6.8 |
| In QML: | ServiceObjectHandle |
Properties
- loaded : bool
- serviceObject : QIfServiceObject*
- valid : bool
Public Functions
| QIfServiceObjectHandle() | |
| QIfServiceObjectHandle(const QIfServiceObjectHandle &) | |
| ~QIfServiceObjectHandle() | |
| bool | isLoaded() const |
| bool | isValid() const |
| QIfServiceObject * | serviceObject() const |
| QIfServiceObjectHandle & | operator=(const QIfServiceObjectHandle &) |
Detailed Description
The QIfServiceObjectHandle class is a handle to a ServiceObject. It can be used to load the backend asynchronously using the loadServiceObject() function.
Property Documentation
[read-only] loaded : bool
Returns true if the backend is loaded; otherwise false.
Access functions:
| bool | isLoaded() const |
[read-only] serviceObject : QIfServiceObject*
Returns the ServiceObject associated with this handle.
Access functions:
| QIfServiceObject * | serviceObject() const |
[read-only] valid : bool
Returns true if the handle is valid; otherwise false.
Access functions:
| bool | isValid() const |
Member Function Documentation
[constexpr noexcept default] QIfServiceObjectHandle::QIfServiceObjectHandle()
Default-constructs an instance of QIfServiceObjectHandle.
[constexpr noexcept default] QIfServiceObjectHandle::QIfServiceObjectHandle(const QIfServiceObjectHandle &)
Copy-constructs an instance of QIfServiceObjectHandle.
[constexpr noexcept default] QIfServiceObjectHandle::~QIfServiceObjectHandle()
Destroys the instance of QIfServiceObjectHandle.
[constexpr noexcept default] QIfServiceObjectHandle &QIfServiceObjectHandle::operator=(const QIfServiceObjectHandle &)
Copy-assigns other to this QIfServiceObjectHandle instance.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.