diff --git a/doc/table.md b/doc/table.md index 37e82cb..2ee2313 100644 --- a/doc/table.md +++ b/doc/table.md @@ -50,6 +50,9 @@ public: explicit Post(QObject *tableSet = 0); }; + +Q_DECLARE_METATYPE(Post*) + ``` ## Declare child table @@ -67,4 +70,4 @@ Post::Post(QObject *parent) : Table(parent), } ``` -For more example take a look at _tests/common_ folder \ No newline at end of file +For more example take a look at _tests/common_ folder