diff options
author | Tobias Hunger <tobias.hunger@digia.com> | 2014-05-30 13:58:11 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@digia.com> | 2014-06-12 16:29:44 +0200 |
commit | afbb100c52954a0ff515226d8837e1b372e3b755 (patch) | |
tree | e8781f28957000274e07d7362836c69123b12e6d | |
parent | 0888390b09d8d437653201de9a5a9ea7cf9810a8 (diff) | |
download | qt-creator-afbb100c52954a0ff515226d8837e1b372e3b755.tar.gz |
s/struct/class/
Change-Id: I2813babc838d5dd14e4b341954d6ce0d53bfcda7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r-- | src/plugins/projectexplorer/customwizard/customwizardparameters.h | 9 | ||||
-rw-r--r-- | src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/customwizard/customwizardparameters.h b/src/plugins/projectexplorer/customwizard/customwizardparameters.h index bd7c1e2f10..aa5a9781d3 100644 --- a/src/plugins/projectexplorer/customwizard/customwizardparameters.h +++ b/src/plugins/projectexplorer/customwizard/customwizardparameters.h @@ -63,7 +63,8 @@ public: bool mandatory; }; -struct CustomWizardFile { +class CustomWizardFile { +public: CustomWizardFile(); QString source; @@ -74,7 +75,8 @@ struct CustomWizardFile { }; // Documentation inside. -struct CustomWizardValidationRule { +class CustomWizardValidationRule { +public: // Validate a set of rules and return false + message on the first failing one. static bool validateRules(const QList<CustomWizardValidationRule> &rules, const QMap<QString, QString> &replacementMap, @@ -85,7 +87,8 @@ struct CustomWizardValidationRule { }; // Documentation inside. -struct GeneratorScriptArgument { +class GeneratorScriptArgument { +public: enum Flags { // Omit this arguments if all field placeholders expanded to empty strings. OmitEmpty = 0x1, diff --git a/src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h b/src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h index 656807eb3d..bbfcaefd86 100644 --- a/src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h +++ b/src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h @@ -38,7 +38,7 @@ namespace Core { class GeneratedFile; } namespace ProjectExplorer { namespace Internal { -struct GeneratorScriptArgument; +class GeneratorScriptArgument; // Parse the script arguments apart and expand the binary. QStringList fixGeneratorScript(const QString &configFile, QString attributeIn); |