Commit graph

5 commits

Author SHA1 Message Date
Ivailo Monev
f47177f876 generic: adjust to KNotification changes
some notification files, such as the style KCM one, were not even used

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-25 08:07:58 +03:00
Ivailo Monev
a9f687908c plasma: use the KDE_VERSION_STRING definition as server version for the org.freedesktop.Notifications interface
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-16 06:34:26 +03:00
Ivailo Monev
c121cc167f plasma: implement required features of org.freedesktop.Notifications v1.2
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-16 06:28:51 +03:00
Ivailo Monev
657856274f plasma: correct type for alpha in decodeNotificationSpecImageHint() function
the type is supposed to be boolean, see:
https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html#icons-and-images-formats

the ImageConverter::SpecImage structure in knotify/imageconverter.cpp uses
and marshal/demarshals it as boolean too

bonus points for optimizing decodeNotificationSpecImageHint() a bit by
making sure the QByteArray::data() call will not detach the pixels data

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-16 06:12:22 +03:00
Ivailo Monev
efbde9e504 plasma: organize sub-directories
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-24 22:48:47 +02:00
Renamed from plasma/generic/dataengines/notifications/notificationsengine.cpp (Browse further)