8 Commits
Author SHA1 Message Date
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
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
Alexander Lohnau fa555b3c75 Run clang-format 2021-03-16 16:38:36 +00:00
Andreas Cord-Landwehr 4b41ac4151 KXMLGUI: Convert copyright statements to SPDX expressions 2020-08-10 15:06:46 +00: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
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