19 Commits
Author SHA1 Message Date
Nicolas Fella 2445181561 qdoc 2025-05-04 15:00:15 +02:00
Friedrich W. H. Kossebau 4c5b1ff826 Use ellipsis character instead of three dots in UI strings 2024-05-07 13:34:21 +00:00
Friedrich W. H. Kossebau 3751b96808 Add explicit moc includes to sources for moc-covered headers
* speeds up incremental builds as changes to a header will not always
  need the full mocs_compilation.cpp for all the target's headers rebuild,
  while having a moc file sourced into a source file only adds minor
  extra costs, due to small own code and the used headers usually
  already covered by the source file, being for the same class/struct
* seems to not slow down clean builds, due to empty mocs_compilation.cpp
  resulting in those quickly processed, while the minor extra cost of the
  sourced moc files does not outweigh that in summary.
  Measured times actually improved by some percent points.
  (ideally CMake would just skip empty mocs_compilation.cpp & its object
  file one day)
* enables compiler to see all methods of a class in same compilation unit
  to do some sanity checks
* potentially more inlining in general, due to more in the compilation unit
* allows to keep using more forward declarations in the header, as with the
  moc code being sourced into the cpp file there definitions can be ensured
  and often are already for the needs of the normal class methods
2023-06-29 23:32:01 +00:00
Friedrich W. H. Kossebau 1eaab524c9 Drop Qt5 support 2023-01-22 22:38:08 +01:00
snooxx 💤 c7350f7dd0 Tests: Enable HiDPI pixmap rendering
To reliably test later HiDPI fixes, it is important to enable
HiDPI-rendering of pixmaps in test applications in the first place.

Tests without pixmaps have not been changed, the flag will be set by
default in Qt 6 anyway.

Test Plan:

`QT_SCALE_FACTOR=1.7 ./bin/kxmlguiwindowtest` does not show pixelated
icons anymore, except in places needing individual fixes (e.g. arrows in
"Configure Keyboard Shortcuts" dialog).
2022-03-15 14:53:30 +00:00
Ahmad Samir e9e8abf454 Port SLOT() usage
Remove Q_PRIVATE_SLOT() usage where it's not needed any more, and remove
the _k_ prefix from method names in that case.

NO_CHANGELOG
2021-04-28 19:52:47 +00:00
Ahmad Samir fda42a970d Use new connect() signal/slot syntax
NO_CHANGELOG
2021-04-28 19:52:47 +00:00
Alexander Lohnau fa555b3c75 Run clang-format 2021-03-16 16:38:36 +00:00
Nicolas Fella 3c1a6f2f2b Fix includes
Remove unneeded ones
Add missing ones
Include QStringList instead of forward declaring
2021-02-01 21:06:24 +01:00
Friedrich W. H. Kossebau 2d33e56a7f Use non-deprecated C++ Std header includes
NO_CHANGELOG
2021-01-31 02:31:06 +01:00
Friedrich W. H. Kossebau 527c6da3b1 Use consistently CamelCase includes for classes from other KF modules
NO_CHANGELOG
2021-01-31 02:24:39 +01:00
Friedrich W. H. Kossebau 889cf9ac90 kwindowtest: remove unneeded setting to default value delayed==true
Also --deprecated

NO_CHANGELOG
2020-11-25 12:54:15 +01:00
Laurent Montel 66a9b228f8 If include is define in .h remove it if it's defined in .cpp too (scripted) 2020-10-23 08:38:24 +02:00
Friedrich W. H. Kossebau 5bf8165620 Include own header first 2018-10-23 01:53:22 +02:00
Laurent Montel a4f65ccba4 Remove not necessary QtCore and co 2018-03-11 15:23:05 +01:00
Kevin Funk 8c82baf8aa Use nullptr everywhere
Differential Revision: https://phabricator.kde.org/D3987
2017-01-16 09:44:16 +01:00
Andrey Cygankov d4d4796620 Fix most Clazy warnings in KXmlGui
Acked by Aleix Pol

REVIEW: 126770
2016-10-20 14:14:25 +02:00
David Faure 0b8696343a Code reformatted using kde-dev-scripts/astyle-kdelibs.
Use git blame -w e2e8fe8 to show authorship as it was before this commit.
2013-12-18 09:54:28 +01:00
Jenkins CI e2e8fe8897 Move kxmlgui code to the root directory. 2013-12-18 00:45:19 +00:00