Fix include
This commit is contained in:
parent
5b0fcd8113
commit
6307275a33
@ -23,7 +23,7 @@
|
||||
#include <QQmlEngine>
|
||||
#include <QFile>
|
||||
|
||||
#include <kdeclarative.h>
|
||||
#include <kdeclarative/kdeclarative.h>
|
||||
|
||||
PackageUrlInterceptor::PackageUrlInterceptor(QQmlEngine *engine, const Plasma::Package &p)
|
||||
: QQmlAbstractUrlInterceptor(),
|
||||
|
@ -3,6 +3,7 @@
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user