<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installation</title><link>https://sourceforge.net/p/qutecontainer/wiki/Installation/</link><description>Recent changes to Installation</description><atom:link href="https://sourceforge.net/p/qutecontainer/wiki/Installation/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 20 May 2013 20:27:03 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/qutecontainer/wiki/Installation/feed" rel="self" type="application/rss+xml"/><item><title>Installation modified by Jochen Baier</title><link>https://sourceforge.net/p/qutecontainer/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -6,7 +6,8 @@

 Only objects derived from `QObject*` can be resolved and registered.
 The constructor must have the `Q_INVOKABLE` key word. The first parameter 
-must be `QObject* parent` type to set the parent object.
+must be `QObject* parent` type to set the parent object. All constructor parameter
+must derive from QObject.

 ~~~~~~~~~~~
 :::C++
@@ -14,7 +15,7 @@
 {
   Q_OBJECT
 public:
-  Q_INVOKABLE Dependency(QObject *parent, QObject *dep1, .....) :QObject(parent),
+  Q_INVOKABLE Dependency(QObject *parent, DependencyOne *dep1, .....) :QObject(parent),
 };
 ~~~~~~~~~~~

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jochen Baier</dc:creator><pubDate>Mon, 20 May 2013 20:27:03 -0000</pubDate><guid>https://sourceforge.net8740cb7ff43fe9e422ec7f465e1d3217850bbf01</guid></item><item><title>Installation modified by Jochen Baier</title><link>https://sourceforge.net/p/qutecontainer/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,17 +1,24 @@
 #####Installation:#####
-include QuteContainer.cpp and QuteContainer.h
+include QuteContainer.cpp and QuteContainer.h in your project.

 #####Requirements:#####
 C++ Qt framework. Tested with 4.8. and 5.0.

 Only objects derived from `QObject*` can be resolved and registered.
-For registerType the first constructor parameter must be `QObject *parent`.
-`Q_INVOKABLE` key word is required: 
+The constructor must have the `Q_INVOKABLE` key word. The first parameter 
+must be `QObject* parent` type to set the parent object.
+
+~~~~~~~~~~~
 :::C++
-~~~~~~
-Constructor: Q_INVOKABLE AddressBook(QObject *parent, QObject *dependencyOne,...);
-~~~~~~
-Up to 9 parameter are supported (counting parent: 10).
+class Dependency: public QObject
+{
+  Q_OBJECT
+public:
+  Q_INVOKABLE Dependency(QObject *parent, QObject *dep1, .....) :QObject(parent),
+};
+~~~~~~~~~~~
+
+Up to 9 parameter are supported. At the moment only one constructor is supported.

 #####Object lifetime:#####
 void registerType(bool isSingleton=false): If 'isSingleton' is set the object will be only created on the first call of resolve(). Later calls to resolve() will return the same object. Otherwise new objects are returned. For singletons the object parent() is set to QuteContainer. For injected parameters the parent() is set to the calling object. You can set resolved objects to other parents if you want.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jochen Baier</dc:creator><pubDate>Mon, 20 May 2013 20:04:10 -0000</pubDate><guid>https://sourceforge.net91810035b44088d7f439d5703d71632b9f089cdb</guid></item><item><title>Installation modified by Jochen Baier</title><link>https://sourceforge.net/p/qutecontainer/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;h5 id="installation"&gt;Installation:&lt;/h5&gt;
&lt;p&gt;include QuteContainer.cpp and QuteContainer.h&lt;/p&gt;
&lt;h5 id="requirements"&gt;Requirements:&lt;/h5&gt;
&lt;p&gt;C++ Qt framework. Tested with 4.8. and 5.0.&lt;/p&gt;
&lt;p&gt;Only objects derived from &lt;code&gt;QObject*&lt;/code&gt; can be resolved and registered.&lt;br /&gt;
For registerType the first constructor parameter must be &lt;code&gt;QObject *parent&lt;/code&gt;.&lt;br /&gt;
&lt;code&gt;Q_INVOKABLE&lt;/code&gt; key word is required: &lt;br /&gt;
:::C++&lt;br /&gt;
    Constructor: Q_INVOKABLE AddressBook(QObject &lt;em&gt;parent, QObject &lt;/em&gt;dependencyOne,...);&lt;br /&gt;
Up to 9 parameter are supported (counting parent: 10).&lt;/p&gt;
&lt;h5 id="object-lifetime"&gt;Object lifetime:&lt;/h5&gt;
&lt;p&gt;void registerType(bool isSingleton=false): If 'isSingleton' is set the object will be only created on the first call of resolve(). Later calls to resolve() will return the same object. Otherwise new objects are returned. For singletons the object parent() is set to QuteContainer. For injected parameters the parent() is set to the calling object. You can set resolved objects to other parents if you want.&lt;/p&gt;
&lt;h5 id="how-it-works-internally"&gt;How it works internally:&lt;/h5&gt;
&lt;p&gt;QuteContainer is using Qt Meta-Object System to create the objects.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jochen Baier</dc:creator><pubDate>Mon, 20 May 2013 16:46:22 -0000</pubDate><guid>https://sourceforge.nete9f474261705ba9fc06fc4c38e5ac1ee0ec69c7f</guid></item></channel></rss>