Skip to content
Permalink
Browse files

Remove reference to obsolete method in docs

Remove use in example code too.
  • Loading branch information...
steveire committed Jun 20, 2019
1 parent 474472c commit daf1352a6ff25d71c194b002953ea3116d3b7dc3
Showing with 0 additions and 11 deletions.
  1. +0 −7 dox/for_app_dev.dox
  2. +0 −4 examples/contacts/contact.h
@@ -246,13 +246,6 @@ namespace Grantlee
private:
QList<QObject*> m_friends;
};
Q_DECLARE_METATYPE(QList<QObject*>)
@endcode

It is also necessary to register QList<QObject*> with the Qt metatype system and with Grantlee

@code
Grantlee::registerSequentialContainer<QList<QObject*> >();
@endcode

@subsection generic_variables
@@ -111,8 +111,4 @@ class Contact : public QObject, public QListWidgetItem
QList<QObject *> m_friends;
};

Q_DECLARE_METATYPE(Contact *)
Q_DECLARE_METATYPE(QList<Contact *>)
Q_DECLARE_METATYPE(QList<QObject *>)

#endif

0 comments on commit daf1352

Please sign in to comment.
You can’t perform that action at this time.