2013-07-31 23:41:26 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# kDebug() becomes qDebug() in cpp files
|
|
|
|
|
2013-08-09 04:07:59 +02:00
|
|
|
for FS in `find $PWD -name '*.h' -o -name '*.cpp'`; do
|
2013-12-08 16:59:43 +01:00
|
|
|
# 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
|
2013-08-27 04:28:24 +02:00
|
|
|
perl -p -i -e 's/kWarning\(\)/qWarning()/g' $FS
|
2013-12-08 16:59:43 +01:00
|
|
|
#
|
|
|
|
# perl -p -i -e 's/kDebug\(250\)/\/\/qDebug()/g' $FS
|
|
|
|
perl -p -i -e 's/kDebug\(7024\)/qCDebug(KUISERVER)/g' $FS
|
|
|
|
# perl -p -i -e 's/kDebug\(kdbg_code\)/\/\/qDebug()/g' $FS
|
2013-08-09 04:07:59 +02:00
|
|
|
done
|
2013-07-31 23:41:26 +02:00
|
|
|
|