#!/bin/bash
QT_VERSION=3

if [[ $1 == "" ]]; then
	echo "Usage: tqt-replace-stream <filename>"
else
	cat $1 | sed 's/^Q_OBJECT/TQ_OBJECT/g' | sed 's/\([^T]\)Q_OBJECT/\1TQ_OBJECT/g'
fi
