diff --git a/notificationdata.h b/notificationdata.h index 2bfe323..92208cf 100644 --- a/notificationdata.h +++ b/notificationdata.h @@ -5,7 +5,8 @@ namespace QmlNotificationService { /** - * @brief The NotificationData class view data for NotificationServiceView + * @brief The NotificationData class view data for NotificationServiceView. This class contains a structure with notification data. + */ class NOTIFYSERVICESHARED_EXPORT NotificationData { diff --git a/notificationservice.h b/notificationservice.h index 615c8ed..1c3f47f 100644 --- a/notificationservice.h +++ b/notificationservice.h @@ -8,7 +8,7 @@ namespace QmlNotificationService { /** - * @brief The NotificationService class + * @brief The NotificationService class. This class used for working with notify. */ 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); @@ -48,14 +48,14 @@ public: /** - * @brief getService - * @return pointer t oservice + * @brief getService - This method return instance to notify service. + * @return pointer to service. */ static NotificationService* getService(); /** - * @brief history - * @return list of all notify + * @brief history - This method used for return notify list. + * @return list of all notify. */ const QList & history() const;