From a54763b2479eb927d52b02bade70a3a6a586ce3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Mon, 8 Jul 2013 00:14:51 +0200 Subject: [PATCH] Add script to replace slots with Q_SLOTS --- tools/port-plasma2.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/port-plasma2.sh b/tools/port-plasma2.sh index 804092ec2..d39e9c349 100755 --- a/tools/port-plasma2.sh +++ b/tools/port-plasma2.sh @@ -61,6 +61,10 @@ for FS in `find $PWD -type f -name 'CMakeLists.txt'`; do perl -p -i -e 's/IMPORTS_INSTALL_DIR/QML_INSTALL_DIR/g' $FS done +for FS in `find $PWD -type f -name '*.h'`; do + perl -p -i -e 's/slots/Q_SLOTS/g' $FS +done + #exit;