INCLUDEMOCSSection: User Contributed Perl Documentation (1)Updated: 2003-01-20 |
INCLUDEMOCSSection: User Contributed Perl Documentation (1)Updated: 2003-01-20 |
includemocs
This script searches in the current directory and its subdirs for header files declaring a QObject descendant class. If it finds some, it looks, if there is a C++ file containing an '#include' for the generated .moc file. If thats not the case, it tries to guess into which C++ file that '#include' is placed best (based on the filename). If it fails to guess a proper place, it mentions that.
On stdout commands are ouput, suitable for a shell, which, when evaluated, add the suggested '#include' at the end of the files.
On stderr some informational messages are printed.
cd kdebase ; includemocs
cd kdebase ; `eval includemocs 2> /dev/null`