Add an overload to Moc to allow reading from a QIODevice.
authorStephen Kelly <stephen.kelly@kdab.com>
Thu, 8 Mar 2012 20:34:14 +0000 (21:34 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Mar 2012 18:59:53 +0000 (19:59 +0100)
commitb05139b2dc1f52690fb30f0734ef38716a87303d
treedb8d80956cf3cacd73215b44cfe79f079c2a5bad
parent08c1cb5c5a7da849dbd8a1f5020da69e8ebc7c70
Add an overload to Moc to allow reading from a QIODevice.

This allows external code to provide the input data, such
as a bootstrapped version of qdbuscpp2xml.

Change-Id: I163062efc6495b3ab92573f94523967a67601191
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/tools/moc/preprocessor.cpp
src/tools/moc/preprocessor.h