Martchus
a051af49ae
Avoid warning about unqualified std cast
2022-11-04 16:50:33 +01:00
Martchus
a2482ef37c
Avoid several warnings when building against Qt 6
2021-11-04 00:06:15 +01:00
Martchus
25062fcf01
Fix/silence warnings
2021-03-20 21:02:00 +01:00
Martchus
d6ea2ac378
Apply cmake-format and clang-format
2020-12-20 17:56:35 +01:00
Martchus
65a532d80c
Apply clang-format
2020-07-12 21:18:00 +02:00
Martchus
37bbad572d
Avoid duplicate notifications when show() is called again very fast
2020-06-23 01:59:31 +02:00
Martchus
4ce6bb9487
Don't delete DBusNotification on error
...
Not sure why the deletion was done at this point in the
first place. DBusNotification objects are not even created
using 'new' by Syncthing Tray so this can never make any
sense.
2020-03-01 20:44:01 +01:00
Martchus
9ba1aa32cf
Protect pending DBusNotifications from concurrent access
2019-08-03 16:26:54 +02:00
Martchus
4e3aaee223
Improve DBusNotification
...
* Allow setting application name
* Add more functions for hints
* Add return value to hide()
2019-06-16 17:35:31 +02:00
Martchus
b3e7c390d9
Have everything in one top-level namespace
2019-06-10 21:57:46 +02:00
Martchus
2ae98f8ba4
Prevent using deprecated Qt features
2019-05-04 22:16:46 +02:00
Marius Kittler
fa53b13f73
Fix typo occured -> occurred
2018-07-23 14:45:16 +02:00
Martchus
1b0cdc9878
Fix DBusNotification::image()
...
It is not possible to extract data from the QDBusArgument
anymore. So let's just make the NotificationImage become a
QDBusArgument itself and add it directly as hint.
2018-05-02 00:53:32 +02:00
Martchus
2525c37f00
Fix documentation of NotificationImage
2018-04-26 00:12:59 +02:00
Martchus
6727f97ac6
Allow querying capabilities of DBus notification daemon
2018-03-31 23:35:39 +02:00
Martchus
f76d4044aa
Support setting image and image path of DBus notifications
2018-03-18 03:07:03 +01:00
Martchus
afe3373896
Apply tidy after updating to clang-format 5.0.0
...
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:45:49 +02:00
Martchus
0599eb354d
Apply clang-format
2017-05-04 22:46:37 +02:00
Martchus
2dcbc02f4b
Apply clang-format
2017-05-01 03:16:25 +02:00
Martchus
662d03ff71
Ensure notification is closed when action invoked
2016-12-13 21:49:13 +01:00
Martchus
e31c2df570
Consider notification as closed when action invoked
2016-12-11 18:05:01 +01:00
Martchus
e5481f5f43
Add class to show notifications via D-Bus
2016-12-11 17:54:23 +01:00