kdebug porting script: enable the useful bits
This commit is contained in:
parent
637bf0ea19
commit
0fb74f1ae7
@ -3,10 +3,12 @@
|
||||
# kDebug() becomes qDebug() in cpp files
|
||||
|
||||
for FS in `find $PWD -name '*.h' -o -name '*.cpp'`; do
|
||||
# perl -p -i -e 's/\#include \<KDebug\>/\#include \<QDebug\>/g' $FS
|
||||
# perl -p -i -e 's/\#include \<KDebug\>/\#include \<QDebug\>/g' $FS
|
||||
# perl -p -i -e 's/\#include \<kdebug\.h\>/\#include \<QDebug\>/g' $FS
|
||||
# perl -p -i -e 's/kDebug\(\)/qDebug()/g' $FS
|
||||
perl -p -i -e 's/\#include \<KDebug\>/\#include \<QDebug\>/g' $FS
|
||||
perl -p -i -e 's/\#include \<KDebug\>/\#include \<QDebug\>/g' $FS
|
||||
perl -p -i -e 's/\#include \<KDebug\>/\#include \<QDebug\>/g' $FS
|
||||
perl -p -i -e 's/\#include \<kdebug\.h\>/\#include \<QDebug\>/g' $FS
|
||||
perl -p -i -e 's/\#include \"kdebug\.h\"/\#include \<QDebug\>/g' $FS
|
||||
perl -p -i -e 's/kDebug\(\)/qDebug()/g' $FS
|
||||
perl -p -i -e 's/kWarning\(\)/qWarning()/g' $FS
|
||||
#
|
||||
# perl -p -i -e 's/kDebug\(250\)/\/\/qDebug()/g' $FS
|
||||
|
Loading…
Reference in New Issue
Block a user