1FIXINCLUDES(1)                                                  FIXINCLUDES(1)
2
3
4

NAME

6       fixincludes - Reduce the number of #includes in KDE source files
7

SYNOPSIS

9       fixincludes [-v, --verbose] [-e, --experimental] [-m, --modify] [file]
10                   [--help]
11
12

DESCRIPTION

14       fixincludes tries to reduce the  number  of  #includes  in  C++  source
15       files.  Much  of  it's  processing is specific to KDE sources and so it
16       might not work so well with sources for non-KDE applications.
17
18
19       The following problems are identified by fixincludes:
20
21
22       ·  Including headers that are no longer supported but which  exist  for
23          compatibility with older Qt/KDE versions;
24
25       ·  Including the same file multiple times.
26
27       There  is  also an experimental mode which tries removing each #include
28       one at a time (with a few exceptions) to see whether the  source  still
29       compiles.  Note  that  this  experimental mode will modify the original
30       sources.
31
32
33       By default the sources will not be modified;  the  identified  problems
34       will simply be written to standard output.
35
36
37       The list of C++ sources to examine should be given on the command-line.
38       If no files are given, all C++ sources in or beneath the current direc‐
39       tory  will  be  examined (with the exception of directories whose Make‐
40       file.am contains -UQT_NO_COMPAT or -UKDE_NO_COMPAT)
41
42
43       This utility is part of the KDE Software Development Kit.
44
45

OPTIONS

47       -v, --verbose
48              Verbose mode. Additional debugging output is written to standard
49              output.
50
51
52       -e, --experimental
53              Experimental  mode, as described above in detail. Note that this
54              option implies --modify.
55
56
57       -m, --modify
58              As well as writing messages to standard output, actually  modify
59              the original sources to fix any problems that were found.
60
61

AUTHORS

63       fixincludes was written by Dirk Mueller <mueller@kde.org>.
64
65

AUTHOR

67       Ben Burton.
68
69
70
71                                 April 7, 2003                  FIXINCLUDES(1)
Impressum