mirror of
https://github.com/QuasarApp/SimpleQmlNotify.git
synced 2025-04-26 21:54:33 +00:00
ref #3 notificationservice.h add methods description
This commit is contained in:
parent
2f71a23f6f
commit
3bfa4763f7
@ -8,7 +8,7 @@
|
||||
namespace QmlNotificationService {
|
||||
|
||||
/**
|
||||
* @brief The NotificationService class
|
||||
* @brief The NotificationService class.
|
||||
*/
|
||||
class NOTIFYSERVICESHARED_EXPORT NotificationService: public QObject
|
||||
{
|
||||
@ -21,15 +21,15 @@ class NOTIFYSERVICESHARED_EXPORT NotificationService: public QObject
|
||||
|
||||
public:
|
||||
/**
|
||||
* @brief notify
|
||||
* @return notyfyData for qml
|
||||
* @brief Notify
|
||||
* @return notyfyData for qml.
|
||||
*/
|
||||
NotificationData notify() const;
|
||||
NotificationData question() const;
|
||||
|
||||
/**
|
||||
* @brief setNotify - add new message for application
|
||||
* @param notify - message data
|
||||
* @brief setNotify - Add new message for application.
|
||||
* @param notify - Message data.
|
||||
*/
|
||||
void setNotify(const NotificationData ¬ify);
|
||||
|
||||
@ -49,13 +49,13 @@ public:
|
||||
|
||||
/**
|
||||
* @brief getService
|
||||
* @return pointer t oservice
|
||||
* @return pointer to oservice.
|
||||
*/
|
||||
static NotificationService* getService();
|
||||
|
||||
/**
|
||||
* @brief history
|
||||
* @return list of all notify
|
||||
* @return list of all notify.
|
||||
*/
|
||||
const QList<NotificationData> & history() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user