Commit Graph

8 Commits

Author SHA1 Message Date
Laurent Montel
1abfaaf561 GIT_SILENT: adapt to new api 2023-11-09 06:50:52 +01:00
Christoph Cullmann
3056d6009d port from deprecated Qt event & position functions
for the dragging, we can just use the floats,
rounding doesn't make it better
2023-11-05 09:14:03 +00:00
Ahmad Samir
ea35c24c71 Change PropertyInfo to store the default value instead of just the type
And rename DefaultPropertyNames to DefaultProperties.

Default profile properties are now specified in the DefaultProperties
container directly, which simplifies creating the Built-in profile, and
keeps the properties info in one place.
- Name, Path: are empty by default, and set to the special values of the
  built-in profile in useBuiltin()
- Some properties have to be set at runtime, rather than compile time e.g.
  Command, Font, DefaultEncoding.
2022-06-20 20:46:38 +00:00
Ahmad Samir
d5822aed32 Adjust usage of Profile::DefaultPropertyNames
Now we can use range-for.
2022-06-10 13:01:17 +00:00
ivan tkachenko
f2d2303ecb cosmit: Fix whitespaces 2022-05-25 11:15:17 +00:00
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
Kurt Hindenburg
95795cdfbc Convert profile 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:56:10 -05:00
Tomaz Canabrava
0478529c6f Move Profile related classes to it's own folder
This also allowed me to remove a few includes of Profile.h
around the codebase, that used Profile::Ptr. now the compilation
is a bit faster and also does not recompile things as often.
2020-07-27 19:14:53 +02:00