1 #ifndef QMLSERVICESINGLETON_H 2 #define QMLSERVICESINGLETON_H 5 #include <QtService/Service> 6 #include <QtService/ServiceControl> 22 class QmlServiceSingleton :
public QObject 46 explicit QmlServiceSingleton(
QObject *parent =
nullptr);
61 #endif // QMLSERVICESINGLETON_H Q_INVOKABLE QtService::ServiceControl * createControlFromName(const QString &backend, const QString &serviceName, QObject *parent=nullptr) const
Creates a new ServiceControl by guessing the service id from the given name and this applications dom...
The QML import for the QtService QML module.
Q_INVOKABLE QtService::ServiceControl * createControl(const QString &backend, QString serviceId, QObject *parent=nullptr) const
Creates a new ServiceControl for the given service on the service manager defined by backend...
The main interface to implement to create a service.
The primary namespace of the QtService library.
A class to interact with the systems service manager.