Skip to content

Commit

Permalink
Remove reference to obsolete method in docs
Browse files Browse the repository at this point in the history
Remove use in example code too.
  • Loading branch information
steveire committed Jun 20, 2019
1 parent 474472c commit daf1352
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions dox/for_app_dev.dox
Expand Up @@ -246,13 +246,6 @@ namespace Grantlee
private: private:
QList<QObject*> m_friends; 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 @endcode


@subsection generic_variables @subsection generic_variables
Expand Down
4 changes: 0 additions & 4 deletions examples/contacts/contact.h
Expand Up @@ -111,8 +111,4 @@ class Contact : public QObject, public QListWidgetItem
QList<QObject *> m_friends; QList<QObject *> m_friends;
}; };


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

#endif #endif

0 comments on commit daf1352

Please sign in to comment.