Albert Vaca
beeae63086
Missing Q_OBJECT macro
2016-11-26 16:36:34 +01:00
Albert Vaca
60331ccbf1
Clazy says all this QStringLiteral and QLatin1String were missing/wrong
2016-11-26 16:21:29 +01:00
Holger Kaelberer
c122312c65
sendnotifications: also sync icon-data from notfication hints
...
According to the priorities defined in the notifications spec
version 1.2
REVIEW: 126722
2016-08-27 13:59:25 +02:00
Albert Vaca
e880e14ed5
Preffer Q_FOREACH to foreach
2016-06-21 14:50:17 +02:00
Aleix Pol
bfd698af36
Fix issues detected by clazy
...
Don't use for(:) on Qt containers. It detaches without need.
2016-06-20 19:22:29 +02:00
Aleix Pol
596e4484f4
Clean up use of virtual and override keywords
...
Only use virtual when actually virtual, to override just use override.
2016-06-20 19:22:29 +02:00
Albert Vaca
0b5fbe00bb
Split plugins for sending and receiving notifications
...
CCMAIL: holger.k@elberer.de
2016-05-25 12:49:13 -06:00
Holger Kaelberer
4b5bde4858
notifications: synchronize icons if possible and requested
...
Configurably attach icons as payload to notification packages. By
design and due to restrictions on mobile devices *only* png is sent.
As KIconLoader preferably returns svg icons from iconPath() we fall
back to loading from "hicolor" using KIconTheme directly. Otherwise
*many* icons are dropped because of svg format.
This also improves slightly the test-case to use a tweaked TestDevice
to allow for inspecting sent NetworkPackage-s.
REVIEW: 126666
2016-01-11 20:12:43 +01:00
Holger Kaelberer
548508d6e6
notifications: don't register proxied notifications internally
...
REVIEW: 126645
2016-01-07 13:22:10 +01:00
Aleix Pol
70f55d0ebc
Fix compilation and a couple of warnings
...
CCMAIL: holger.k@elberer.de
2015-12-07 03:21:35 +01:00
Holger Kaelberer
4fc39601dd
tests: add test-case for NotificationsListener
2015-12-05 23:23:22 +01:00