Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/notification_p.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
47 | 47 | | |||
48 | void loadImagePath(const QString &path); | 48 | void loadImagePath(const QString &path); | ||
49 | 49 | | |||
50 | static QString defaultComponentName(); | 50 | static QString defaultComponentName(); | ||
51 | static QSize maximumImageSize(); | 51 | static QSize maximumImageSize(); | ||
52 | 52 | | |||
53 | static KService::Ptr serviceForDesktopEntry(const QString &desktopEntry); | 53 | static KService::Ptr serviceForDesktopEntry(const QString &desktopEntry); | ||
54 | 54 | | |||
55 | void setDesktopEntry(const QString &desktopEntry); | ||||
55 | void processHints(const QVariantMap &hints); | 56 | void processHints(const QVariantMap &hints); | ||
56 | 57 | | |||
57 | void setUrgency(Notifications::Urgency urgency); | 58 | void setUrgency(Notifications::Urgency urgency); | ||
58 | 59 | | |||
59 | uint id = 0; | 60 | uint id = 0; | ||
60 | QDateTime created; | 61 | QDateTime created; | ||
61 | QDateTime updated; | 62 | QDateTime updated; | ||
62 | 63 | | |||
63 | QString summary; | 64 | QString summary; | ||
64 | QString body; | 65 | QString body; | ||
65 | // Can be theme icon name or path | 66 | // Can be theme icon name or path | ||
66 | QString icon; | 67 | QString icon; | ||
67 | QImage image; | 68 | QImage image; | ||
68 | 69 | | |||
69 | QString applicationName; | 70 | QString applicationName; | ||
70 | QString desktopEntry; | 71 | QString desktopEntry; | ||
71 | bool configurableService = false; | 72 | bool configurableService = false; | ||
73 | QString serviceName; // "Name" field in KService from desktopEntry | ||||
72 | QString applicationIconName; | 74 | QString applicationIconName; | ||
73 | 75 | | |||
74 | QString originName; | 76 | QString originName; | ||
75 | 77 | | |||
76 | QStringList actionNames; | 78 | QStringList actionNames; | ||
77 | QStringList actionLabels; | 79 | QStringList actionLabels; | ||
78 | bool hasDefaultAction = false; | 80 | bool hasDefaultAction = false; | ||
79 | QString defaultActionLabel; | 81 | QString defaultActionLabel; | ||
Show All 18 Lines |