From e062b498305b2e776baf24b9127deaf2bcbf8313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikl=C3=B3s=20M=C3=A1rton?= Date: Sun, 5 Jan 2020 12:51:54 +0100 Subject: [PATCH] Add Q_DECLARE_METATYPE(Post*) to the example (#60) --- doc/table.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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