From 3bfa4763f76485bde0eedadc580b0d0e12231f4e Mon Sep 17 00:00:00 2001 From: Oleg-designer <sweetletal0@gmail.com> Date: Mon, 29 Mar 2021 09:57:08 +0300 Subject: [PATCH 1/3] ref #3 notificationservice.h add methods description --- notificationservice.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/notificationservice.h b/notificationservice.h index 615c8ed..4788a1f 100644 --- a/notificationservice.h +++ b/notificationservice.h @@ -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; From 8c506babd077d8fef4a3b4b821de7125cab61cbb Mon Sep 17 00:00:00 2001 From: Oleg-designer <sweetletal0@gmail.com> Date: Mon, 29 Mar 2021 10:04:20 +0300 Subject: [PATCH 2/3] ref #3 notificationservise.h add description to method --- notificationservice.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/notificationservice.h b/notificationservice.h index 4788a1f..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,7 +21,7 @@ class NOTIFYSERVICESHARED_EXPORT NotificationService: public QObject public: /** - * @brief Notify + * @brief Notify. * @return notyfyData for qml. */ NotificationData notify() const; @@ -48,13 +48,13 @@ public: /** - * @brief getService - * @return pointer to oservice. + * @brief getService - This method return instance to notify service. + * @return pointer to service. */ static NotificationService* getService(); /** - * @brief history + * @brief history - This method used for return notify list. * @return list of all notify. */ const QList<NotificationData> & history() const; From 1806f407e9969e1f6d0b531cf01b0d6addc9c9a8 Mon Sep 17 00:00:00 2001 From: Oleg-designer <sweetletal0@gmail.com> Date: Mon, 29 Mar 2021 10:13:25 +0300 Subject: [PATCH 3/3] ref #3 notificationdata.h add description to method --- notificationdata.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {