summaryrefslogtreecommitdiffstats
path: root/win/tools
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /win/tools
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'win/tools')
-rw-r--r--win/tools/README.tools2
-rwxr-xr-xwin/tools/collect_kdelibs_pro_files2
-rwxr-xr-xwin/tools/kdcopidl2
-rwxr-xr-xwin/tools/kmoc14
-rwxr-xr-xwin/tools/update_kdelibs_pro_files2
5 files changed, 11 insertions, 11 deletions
diff --git a/win/tools/README.tools b/win/tools/README.tools
index 35b3a5264..eebc2f7e0 100644
--- a/win/tools/README.tools
+++ b/win/tools/README.tools
@@ -3,4 +3,4 @@ kdelibs/win32 build tools
(c) 2003-2005, Jaroslaw Staniek
Add this directory to your PATH.
-Cygwin (or other bash replacement) required.
+Cygwin (or other bash tqreplacement) required.
diff --git a/win/tools/collect_kdelibs_pro_files b/win/tools/collect_kdelibs_pro_files
index ea2466ef2..01ec3c427 100755
--- a/win/tools/collect_kdelibs_pro_files
+++ b/win/tools/collect_kdelibs_pro_files
@@ -11,7 +11,7 @@ mkdir -p $dest
cd "$KDELIBS"
-for pro in `find . -name \*.pro | grep -v "\/\.\|^\.\/win/"` kded/makeall.sh kded/makeall_rel.sh ; do
+for pro in `tqfind . -name \*.pro | grep -v "\/\.\|^\.\/win/"` kded/makeall.sh kded/makeall_rel.sh ; do
dir=`dirname "$pro"`
mkdir -p "$dest/$dir"
if [ "$pro" -nt "$dest/$pro" ] ; then
diff --git a/win/tools/kdcopidl b/win/tools/kdcopidl
index f695659d7..406b35cfc 100755
--- a/win/tools/kdcopidl
+++ b/win/tools/kdcopidl
@@ -9,7 +9,7 @@ else
dir="."
fi
-find $dir -maxdepth 1 -name \*.h | while read ; do
+tqfind $dir -maxdepth 1 -name \*.h | while read ; do
grep K_DCOP $REPLY > /dev/null || continue
name=`echo $REPLY | sed -e "s/\\.h//"`
if [ $name".kidl" -ot $REPLY -o ! -f $name".kidl" -o ! -f $name"_skel.cpp" -o ! -f $name"_stub.cpp" ] ; then
diff --git a/win/tools/kmoc b/win/tools/kmoc
index 2fef8ea60..8f08c9b7d 100755
--- a/win/tools/kmoc
+++ b/win/tools/kmoc
@@ -1,19 +1,19 @@
#!/bin/bash
# Creates KDE-compatible .moc files out of .h files in current directory
-# .moc files are saved to moc/ subdirectory.
-# Any additional arguments are directories - kmoc will be called for each of them.
+# .moc files are saved to tqmoc/ subdirectory.
+# Any additional arguments are directories - ktqmoc will be called for each of them.
-mkdir -p moc
-find . -maxdepth 1 -name \*.h | while read ; do
+mkdir -p tqmoc
+tqfind . -maxdepth 1 -name \*.h | while read ; do
grep Q_OBJECT $REPLY > /dev/null || continue
- moc=moc/`echo $REPLY | sed -e "s/\\.h/\\.moc/;s/\\.\\///"`
- if [ $moc -ot $REPLY ] ; then echo mocing $REPLY... ; moc $REPLY -o $moc ; fi
+ tqmoc=tqmoc/`echo $REPLY | sed -e "s/\\.h/\\.moc/;s/\\.\\///"`
+ if [ $tqmoc -ot $REPLY ] ; then echo tqmocing $REPLY... ; tqmoc $REPLY -o $tqmoc ; fi
done
pwd=`pwd`
while [ $# -gt 0 ] ; do
- cd $pwd/$1 && kmoc
+ cd $pwd/$1 && ktqmoc
cd $pwd
shift
done
diff --git a/win/tools/update_kdelibs_pro_files b/win/tools/update_kdelibs_pro_files
index 15f745cf8..f0d09981d 100755
--- a/win/tools/update_kdelibs_pro_files
+++ b/win/tools/update_kdelibs_pro_files
@@ -12,7 +12,7 @@ dest=../..
cd "$KDELIBS/$src"
-for pro in `find . -name \*.pro -o -name \*.sh` ; do
+for pro in `tqfind . -name \*.pro -o -name \*.sh` ; do
dir=`dirname "$pro"`
if [ ! -d "$KDELIBS/$dir" ] ; then
echo "no \$KDELIBS/$dir directory: creating it"