Skip to content
Snippets Groups Projects
Commit cda0320f authored by Tobias Hunger's avatar Tobias Hunger
Browse files

JsonWizard: Match up files generated by the Cpp Class wizard


Change-Id: I407958b02446e81a449a34519a9eb592723a08a5
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent e42eb66f
No related branches found
No related tags found
No related merge requests found
......@@ -28,13 +28,13 @@ class %{CN}
{
@if '%{isQObject}'
Q_OBJECT
@endif
public:
@if '%{Base}' === 'QObject'
explicit %{CN}(QObject *parent = 0);
@elsif '%{Base}' === 'QWidget' || '%{Base}' === 'QMainWindow'
public
explicit %{CN}(QWidget *parent = 0);
@else
public:
%{CN}();
@endif
@if '%{IncludeQSharedData}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment