summaryrefslogtreecommitdiffstats
path: root/qtinterface/moc-tqt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-21 21:18:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-21 21:18:36 +0000
commit5e266f8f85ead4c33f7a9d227a82b0461df7e09a (patch)
tree29ee823e9a8b87b3213db0a14fbe7148edcd5365 /qtinterface/moc-tqt
parentce4313a6257fee35d97e07d22956f42916d4905c (diff)
downloadtqtinterface-5e266f8f85ead4c33f7a9d227a82b0461df7e09a.tar.gz
tqtinterface-5e266f8f85ead4c33f7a9d227a82b0461df7e09a.zip
Significant upgrades to the TQT system; kdelibs and kdebase now build and run correctly through TQT and Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1152745 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/moc-tqt')
-rwxr-xr-xqtinterface/moc-tqt11
1 files changed, 11 insertions, 0 deletions
diff --git a/qtinterface/moc-tqt b/qtinterface/moc-tqt
new file mode 100755
index 0000000..e8c3d53
--- /dev/null
+++ b/qtinterface/moc-tqt
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [[ $1 == "" ]]; then
+ echo "Usage: moc-tqt <moc_binary> <input_file> <output_file>"
+else
+ cp -Rp $2 $2.bkp
+ tqt-replace $2
+ $1 $2 -o $3
+ cp -Rp $2.bkp $2
+ rm -f $2.bkp
+fi