| [PATCH 2/3] made the object factory's instantiateObjectByName metho= | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/gluon Archives
] 
- Subject: [PATCH 2/3] made the object factory's instantiateObjectByName metho=
 
- From: Richard Fine <rfine@xxxxxxxx>
 
- Date: Mon, 31 Jan 2011 23:40:21 +0000
 
---
 core/gluonobjectfactory.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/core/gluonobjectfactory.h b/core/gluonobjectfactory.h
index 46a82f3..d30d15e 100644
--- a/core/gluonobjectfactory.h
+++ b/core/gluonobjectfactory.h
@@ -75,7 +75,7 @@ namespace GluonCore
              * @param   objectTypeName  The name of the class you want an i=
nstance of
              * @return  An object of the appropriate type, or null if no su=
ch class was found in the factory
              */
-            GluonObject* instantiateObjectByName( const QString& objectType=
Name );
+            Q_INVOKABLE GluonCore::GluonObject* instantiateObjectByName( co=
nst QString& objectTypeName );
             /**
              * Create a new object which is capable of handling the passed =
mime type
              *
--=20
1.7.1