mirror of
https://github.com/QuasarApp/SimpleQmlNotify.git
synced 2025-05-08 11:19:38 +00:00
ref #5 qmlnotifyservice.h fix
This commit is contained in:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user