Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/notification_p.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
61 | // Bus name of the creator/sender | 61 | // Bus name of the creator/sender | ||
62 | QString dBusService; | 62 | QString dBusService; | ||
63 | QDateTime created; | 63 | QDateTime created; | ||
64 | QDateTime updated; | 64 | QDateTime updated; | ||
65 | bool read = false; | 65 | bool read = false; | ||
66 | 66 | | |||
67 | QString summary; | 67 | QString summary; | ||
68 | QString body; | 68 | QString body; | ||
69 | // raw body text without sanitize called. | ||||
70 | QString rawBody; | ||||
69 | // Can be theme icon name or path | 71 | // Can be theme icon name or path | ||
70 | QString icon; | 72 | QString icon; | ||
71 | QImage image; | 73 | QImage image; | ||
72 | 74 | | |||
73 | QString applicationName; | 75 | QString applicationName; | ||
74 | QString desktopEntry; | 76 | QString desktopEntry; | ||
75 | bool configurableService = false; | 77 | bool configurableService = false; | ||
76 | QString serviceName; // "Name" field in KService from desktopEntry | 78 | QString serviceName; // "Name" field in KService from desktopEntry | ||
Show All 15 Lines | |||||
92 | 94 | | |||
93 | bool hasReplyAction = false; | 95 | bool hasReplyAction = false; | ||
94 | QString replyActionLabel; | 96 | QString replyActionLabel; | ||
95 | QString replyPlaceholderText; | 97 | QString replyPlaceholderText; | ||
96 | QString replySubmitButtonText; | 98 | QString replySubmitButtonText; | ||
97 | QString replySubmitButtonIconName; | 99 | QString replySubmitButtonIconName; | ||
98 | 100 | | |||
99 | QList<QUrl> urls; | 101 | QList<QUrl> urls; | ||
102 | QVariantMap hints = QVariantMap(); | ||||
broulik: No need to explicitly initialize | |||||
100 | 103 | | |||
101 | bool userActionFeedback = false; | 104 | bool userActionFeedback = false; | ||
102 | Notifications::Urgency urgency = Notifications::NormalUrgency; | 105 | Notifications::Urgency urgency = Notifications::NormalUrgency; | ||
103 | int timeout = -1; | 106 | int timeout = -1; | ||
104 | 107 | | |||
105 | bool expired = false; | 108 | bool expired = false; | ||
106 | bool dismissed = false; | 109 | bool dismissed = false; | ||
107 | }; | 110 | }; | ||
108 | 111 | | |||
109 | } // namespace NotificationManager | 112 | } // namespace NotificationManager |
No need to explicitly initialize