Skip to content
Snippets Groups Projects
Commit 4c802ee1 authored by hjk's avatar hjk
Browse files

code cosmetics for generated code

parent be0abf3c
No related branches found
No related tags found
No related merge requests found
...@@ -386,7 +386,7 @@ bool FormClassWizardParametersPrivate::generateCpp(const FormClassWizardGenerati ...@@ -386,7 +386,7 @@ bool FormClassWizardParametersPrivate::generateCpp(const FormClassWizardGenerati
if (embedding == FormClassWizardGenerationParameters::InheritedUiClass) { if (embedding == FormClassWizardGenerationParameters::InheritedUiClass) {
headerStr << ", private " << uiClassName; headerStr << ", private " << uiClassName;
} }
headerStr << " {\n" << namespaceIndent << indent << "Q_OBJECT\n" headerStr << "\n{\n" << namespaceIndent << indent << "Q_OBJECT\n\n"
<< namespaceIndent << "public:\n" << namespaceIndent << "public:\n"
<< namespaceIndent << indent << "explicit " << unqualifiedClassName << "(QWidget *parent = 0);\n"; << namespaceIndent << indent << "explicit " << unqualifiedClassName << "(QWidget *parent = 0);\n";
if (embedding == FormClassWizardGenerationParameters::PointerAggregatedUiClass) if (embedding == FormClassWizardGenerationParameters::PointerAggregatedUiClass)
......
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