From e2812e4ae6098b6aacbe2428106ea056e0a35eed Mon Sep 17 00:00:00 2001 From: "Sandro S. Andrade" Date: Tue, 5 Mar 2013 11:14:29 -0300 Subject: Provide major refactoring for correct declaration of properties The use of macro QT_BEGIN_NAMESPACE_QTMOF/UML has been removed since MOC need a explicit namespace declaration in order to auto-declare metatypes with namespace information. Similarly, all properties are now declared using fully qualified class names. In addition, QtMof and QtUml namespaces were renamed to QtMofNS and QtUmlNS in order to prevent ambiguity. Change-Id: I8a1692a039101b56c1b1b0c76c59b1f963eb9d53 Reviewed-by: Sandro S. Andrade --- examples/uml/xmi-read/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/uml/xmi-read') diff --git a/examples/uml/xmi-read/main.cpp b/examples/uml/xmi-read/main.cpp index fcc5832b..621bc2e4 100644 --- a/examples/uml/xmi-read/main.cpp +++ b/examples/uml/xmi-read/main.cpp @@ -11,7 +11,7 @@ int main () return 1; } - QXmiReader reader; + QXmiReader reader(0, true); QWrappedObject *rootElement = reader.readFile(&file); if (rootElement) qDebug() << "Successfully read object with name" << rootElement->objectName(); -- cgit v1.2.3