Commit Graph

6 Commits

Author SHA1 Message Date
Ahmad Samir
97569b764c Run clang-format on the whole repo
Also install the relevant git hook.

GIT_SILENT
2021-09-06 12:51:39 +02:00
Ahmad Samir
d06ea23903 Use Q_EMIT instead of emit
In C++20 there are new classes that have member functions named emit().
c.f.:
https://lists.qt-project.org/pipermail/development/2020-February/038812.html
https://en.cppreference.com/w/cpp/io/basic_osyncstream/emit

A similar change was done in the Frameworks:
https://invent.kde.org/frameworks/kio/-/merge_requests/315
2021-02-15 23:52:07 +00:00
Kurt Hindenburg
462a6bcfb5 Convert delegates to use SPDX license/copyright
https://community.kde.org/Policies/Licensing_Policy#SPDX_Statements
https://community.kde.org/Guidelines_and_HOWTOs/Licensing
2020-11-12 21:26:07 -05:00
Kurt Hindenburg
d03daa0bb0 Add missing license/copyright 2020-11-06 11:00:40 -05:00
Tomaz Canabrava
1f9ef7e2d4 Fix code style 2020-09-15 15:51:54 +00:00
Tomaz Canabrava
8aaf43185d New class: ProfileModel
The code that managed the profile model currently is done
inside of the ProfileSettings, and thus unusable out
of it. Since I want to make it easier to select a profile
this needs to split.

It's also a bad code style to mix interface and code
2020-09-15 15:51:54 +00:00