Skip to content

Commit

Permalink
Use common property declaration style
Browse files Browse the repository at this point in the history
  • Loading branch information
pvuorela committed Oct 29, 2020
1 parent 651ff1d commit 7eadf8b
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions src/personalnotification.h
Expand Up @@ -57,18 +57,12 @@ class PersonalNotification : public QObject, public Serialisable
Q_PROPERTY(uint chatType READ chatType WRITE setChatType)

Q_PROPERTY(uint contactid READ contactId)
Q_PROPERTY(QString notificationtext READ notificationText
WRITE setNotificationText)
Q_PROPERTY(bool haspendingevents READ hasPendingEvents
WRITE setHasPendingEvents)
Q_PROPERTY(QString chatName READ chatName
WRITE setChatName)
Q_PROPERTY(QString eventToken READ eventToken
WRITE setEventToken)
Q_PROPERTY(QString smsReplaceNumber READ smsReplaceNumber
WRITE setSmsReplaceNumber)
Q_PROPERTY(bool hidden READ hidden
WRITE setHidden)
Q_PROPERTY(QString notificationtext READ notificationText WRITE setNotificationText)
Q_PROPERTY(bool haspendingevents READ hasPendingEvents WRITE setHasPendingEvents)
Q_PROPERTY(QString chatName READ chatName WRITE setChatName)
Q_PROPERTY(QString eventToken READ eventToken WRITE setEventToken)
Q_PROPERTY(QString smsReplaceNumber READ smsReplaceNumber WRITE setSmsReplaceNumber)
Q_PROPERTY(bool hidden READ hidden WRITE setHidden)

public:
enum EventCollection { Messaging = 0, Voicemail, Voice };
Expand Down

0 comments on commit 7eadf8b

Please sign in to comment.