Commit graph

10 commits

Author SHA1 Message Date
Albert Vaca Cintora
fc0bd2290c Use values passed to the signal instead of getting them again 2023-08-08 20:24:22 +02:00
Alexander Lohnau
2e67f95017 Add explicit moc includes to cpp files
The rationale is explained in https://planet.kde.org/friedrich-kossebau-2023-06-28-include-also-moc-files-of-headers/

In case of KDEConnect, it impressively speeds up compilation. Before it
took 390 seconds on a clean build and with this change it took 330 seconds.
This is due to the mocs_compilation having to include the header files
and thus all their headers. Due to the lots of small plugins we have,
this means that the same headers must be compiled plenty of times.
When we include the moc files directly in the C++ file, they are already
available.
2023-07-30 07:27:45 +00:00
Nicolas Fella
a918ffc0cb Add and make use of ECM's clang-format integration 2022-09-11 23:21:58 +00:00
Piyush Aggarwal
db675eb7b2 connectivity_action: replace manual ifs with code 2021-07-13 23:25:02 +05:30
Piyush Aggarwal
c647de6ab7 connectivity_action.cpp: remove stray qDebug() 2021-06-29 07:03:56 +05:30
Piyush Aggarwal
8356cf4e5b systray_actions: add license 2021-06-22 15:24:05 +05:30
Piyush Aggarwal
de02b9b50e systray: add dynamic icon support for connectivity action 2021-06-17 15:03:21 +00:00
Piyush Aggarwal
f4cb713c71 indicator: status-aware battery action icon 2021-06-17 15:03:21 +00:00
Piyush Aggarwal
fe3d79ccbc indicator: add connectivity action 2021-06-17 15:03:21 +00:00
Piyush Aggarwal
94d4a9c1c2 indicator: move systray action class to own folder 2021-06-17 15:03:21 +00:00