[PATCH 2/3] made the object factory's instantiateObjectByName metho=

[ Thread Index | Date Index | More lists.tuxfamily.org/gluon Archives ]


---
 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




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/