Commit Graph

15 Commits

Author SHA1 Message Date
Aleix Pol
8d59e2ba67 Remove unneeded headers 2021-09-07 11:27:13 +00:00
Tobias Fella
2cb81d1276 Unify License header style in C++ 2021-04-06 19:25:06 +02:00
Tobias Fella
e4ab2e565f Apply clang-format 2021-04-04 22:43:17 +02:00
Tobias Fella
1cb6b3bbd6 Consistently use pragma once in all headers 2021-02-04 23:14:54 +01:00
Nicolas Fella
92e00587f7 Use QSystemTrayIcon instead of KStatusNotifierItem
KSNI doesn't support Windows and macOS and we don't need any of the features it provides over QSystemTrayIcon

Also remove some dead code
2021-02-02 21:51:05 +00:00
Carl Schwan
136a8f2af8 Clang-tidy + clang-format 2020-11-27 00:26:39 +01:00
Aleix Pol
0906e0c680 Fix system tray, clean it up
At first I noticed it wasn't working like it should, then realised it
was using APIs that are largely unadvised. Also I saw there's some kind
of system to render numbers in there but this is also something we
generally do not do. There's better ways to display such information
(e.g. using the com.canonical.Unity interface), so I wouldn't bother
having ad-hoc code in there. And if we need to have it, we better have
it in KNotifications.
It now will also use the icon from the theme.
2020-11-24 13:57:00 +00:00
Tobias Fella
d8dde6e082 Add license headers to code files 2020-11-11 15:17:23 +00:00
Nicolas Fella
00b6908f25 Correct some whitespace issues 2020-11-04 19:43:56 +01:00
Carl Schwan
abea051f1c s/slots/Q_SLOTS and s/signals/Q_SIGNALS 2020-11-03 12:09:06 +01:00
Carl Schwan
ce69506cf6 s/emit/Q_EMIT 2020-11-03 12:03:06 +01:00
Carl Schwan
bea870ad75 Apply Clang Format 2020-11-02 16:11:24 +01:00
Black Hat
2defc5a134 Revert "Embed cmark."
This reverts commit f35001112dc740ed827e4a4de6e4bb3d94b0e466
2019-07-20 11:13:09 +00:00
Black Hat
81fe2919ed Add online status indicator.
Attempt to resync as soon as system goes online. #145
2019-07-06 10:24:47 +08:00
Black Hat
3e0009a069 Show notification count in tray icon. 2019-07-01 18:19:00 +08:00