diff options
author | deva <deva> | 2005-03-24 12:14:44 +0000 |
---|---|---|
committer | deva <deva> | 2005-03-24 12:14:44 +0000 |
commit | 9466b3042bc7314915a15f499bd0b087f569654d (patch) | |
tree | 29c41f6ba46b9b92d91b92578720e1beee44fc9d /tools/MocMaker | |
parent | b5a6a93dcc7a83f5c4f8fd1894e303ae58804e0b (diff) |
Initial revision
Diffstat (limited to 'tools/MocMaker')
-rwxr-xr-x | tools/MocMaker | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/MocMaker b/tools/MocMaker new file mode 100755 index 0000000..da34900 --- /dev/null +++ b/tools/MocMaker @@ -0,0 +1,3 @@ +# -*- mode: shell-script; sh-shell: bash; sh-indentation: 2 -*- +echo -ne "\n" +for file in `grep "Q_OBJECT" *.h | cut -d: -f1 | cut -d'/' -f3 | xargs echo`; do echo -e "moc_${file%.h}.cpp: $file\n\t@\${MOC} $file -o moc_${file%.h}.cpp\n"; done |