Commit Graph

33 Commits

Author SHA1 Message Date
Friedrich W. H. Kossebau
451ed33d63 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-07-28 12:17:12 +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
0f656a32ff Remove 'This file is part of' comment lines 2020-11-12 22:35:45 -05:00
Kurt Hindenburg
78a0092522 Convert src 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 22:17:06 -05:00
Laurent Montel
ef1beaab86 Remove unused includes 2019-08-23 08:09:17 +02:00
Kurt Hindenburg
8b4cbcaf7a Use constuctor initialization list for all members 2018-04-01 11:30:45 -04:00
Kurt Hindenburg
3487d16cc2 Revert back to use KTextEdit for ZModem dialog for now 2018-02-19 10:02:32 -05:00
Kurt Hindenburg
2dd5ac7f59 Update zmodem code/dialog to fix issues
Fix the Cancel button so it actual works.
Add . while transfering data to show progress.

This entire dialog/process needs refactored.
2018-02-18 13:10:41 -05:00
Kurt Hindenburg
90dd2442e0 uncrustify using kf5 config 2017-06-06 09:56:12 -04:00
Kurt Hindenburg
2b586e6ff8 use auto 2017-03-28 11:25:26 -04:00
Kurt Hindenburg
ff66b231bf Remove unneeded includes 2015-09-16 23:34:40 -04:00
Kurt Hindenburg
7b07dd78cd s/QLatin1String/QStringLiteral/ 2015-09-12 12:35:49 -04:00
Montel Laurent
6c15e52276 Port to QDialog 2014-10-17 08:58:01 +02:00
Alex Richardson
a3ce74d4eb Convert to Qt5 signal slot syntax
REVIEW: 117482
2014-04-30 19:16:54 +02:00
Kurt Hindenburg
1ea501da62 remove include moc from .cpp files - removes build warnings 2013-10-22 20:07:23 -04:00
Jekyll Wu
f4fb943132 Most of time we only need <KLocalizedString> instead of <KLocale> 2012-03-07 06:48:26 +08:00
Kurt Hindenburg
94ae54b438 -Wshadow fixes to parameter names and variable names 2012-03-06 10:34:36 -05:00
Kurt Hindenburg
cca04c279c Don't pollute the namespace - only "using" what is required. 2011-12-26 20:52:24 -05:00
Kurt Hindenburg
86fcd495de Apply astyle-kdelibs
Over the years, the coding style is all over the place.

Use 'git diff -w --ignore-all-space' to see non-whitespace changes.
2011-12-24 11:47:36 -05:00
Jekyll Wu
8f1bbd4353 Remove trailing white spaces 2011-11-05 19:49:23 +08:00
Jekyll Wu
e8f0bb1645 Group code in a more readable way 2011-10-28 00:36:59 +08:00
Jekyll Wu
4e349fce59 Minor change on coding style and readability. 2011-10-02 12:49:33 +08:00
Jekyll Wu
b7e4742eb6 add KDialog:: prefix before ButtonCode. 2011-09-06 08:35:52 +08:00
Jekyll Wu
30110d124a adjust indentation to 4 spaces. 2011-08-21 17:57:49 +08:00
Laurent Montel
dd46511de1 Use QLatin1String in setObjectName (added with a script)
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1178049
2010-09-22 07:35:22 +00:00
Ignat Semenov
5ec4be81d6 Remove separator
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1130872
2010-05-26 17:01:39 +00:00
Kurt Hindenburg
2af04206c9 Allow Konsole's zmodem file transfers to work.
Thanks to Thomas Dreibholz <dreibh@iem.uni-due.de> for the patch.  I removed
some whitespace changes from his patch on reviewboard.

BUG: 200744

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1016847
2009-08-29 04:24:37 +00:00
Rick Xing
773993a4e3 Just EBN fixes
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=894687
2008-12-09 06:59:31 +00:00
Robert Knight
5d9997446e Update copyright year to 2008. Remove '(C)' from copyright lines.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800631
2008-04-24 14:53:43 +00:00
Robert Knight
8171d4872f * Do not remove color schemes / key bindings from list if the
call to delete the file fails.
* Make deletion of color schemes, key bindings and profiles
  atomic operations from the point of view of outside classes.
* Fix various warning produced by the -Woverloaded-virtual flag.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=746168
2007-12-08 01:51:37 +00:00
Dirk Mueller
9ea3227384 include cleanup
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663054
2007-05-09 22:23:52 +00:00
Robert Knight
33c913383d EBN fixes. Mostly copyright and implementations including their own headers first.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662726
2007-05-09 00:01:01 +00:00
Robert Knight
19a29d182a Rename directories for clarity. konsole -> src , other -> data.
svn path=/branches/work/konsole-split-view/; revision=661562
2007-05-05 23:33:05 +00:00