4
0
mirror of https://github.com/QuasarApp/SimpleQmlNotify.git synced 2025-05-08 11:19:38 +00:00

ref qmlnotifyservice.h fix

This commit is contained in:
Oleg-designer 2021-04-16 09:49:55 +03:00
parent 57e4287b3d
commit 425e3f84e3

@ -9,18 +9,19 @@ class QQmlApplicationEngine;
/**
* Simple notify service for qml.
* Use :
* @code cpp
* #include <qmlnotifyservice.h>
*
* QmlNotificationService::init();
* auto service = QmlNotificationService::NotificationService::getService()
* service->setNotify("title", "text", "UrlOfImage", NotificationData::Normal)
*
* @endcode
*
* in qml :
*
* @code cpp
* NotificationServiceView {
anchors.fill: parent;
}
* @endcode
*/
namespace QmlNotificationService {
bool NOTIFYSERVICESHARED_EXPORT init(QQmlApplicationEngine *engine);