summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2014-05-30 13:58:11 +0200
committerTobias Hunger <tobias.hunger@digia.com>2014-06-12 16:29:44 +0200
commitafbb100c52954a0ff515226d8837e1b372e3b755 (patch)
treee8781f28957000274e07d7362836c69123b12e6d
parent0888390b09d8d437653201de9a5a9ea7cf9810a8 (diff)
downloadqt-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.h9
-rw-r--r--src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h2
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);