summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGen.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-09-12 08:10:31 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-09-25 10:02:35 (GMT)
commit5d3bca6485b6b08a8cd18927a284f09cc925f24f (patch)
tree8ccbb83bbb01563236d506862dbdc1aa543742ed /Source/cmQtAutoGen.cxx
parentf6f1b229874a35c2f9eda29cb737dab3f67f4db9 (diff)
downloadCMake-5d3bca6485b6b08a8cd18927a284f09cc925f24f.zip
CMake-5d3bca6485b6b08a8cd18927a284f09cc925f24f.tar.gz
CMake-5d3bca6485b6b08a8cd18927a284f09cc925f24f.tar.bz2
Autogen: Rename cmQtAutoGen::GeneratorType to cmQtAutogen::Generator
Diffstat (limited to 'Source/cmQtAutoGen.cxx')
-rw-r--r--Source/cmQtAutoGen.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmQtAutoGen.cxx b/Source/cmQtAutoGen.cxx
index d9b1fd3..2bed5b3 100644
--- a/Source/cmQtAutoGen.cxx
+++ b/Source/cmQtAutoGen.cxx
@@ -246,22 +246,22 @@ static bool RccListInputsQt5(const std::string& rccCommand,
const std::string cmQtAutoGen::listSep = "@LSEP@";
-const std::string& cmQtAutoGen::GeneratorName(GeneratorType type)
+const std::string& cmQtAutoGen::GeneratorName(Generator type)
{
switch (type) {
- case GeneratorType::GEN:
+ case Generator::GEN:
return genNameGen;
- case GeneratorType::MOC:
+ case Generator::MOC:
return genNameMoc;
- case GeneratorType::UIC:
+ case Generator::UIC:
return genNameUic;
- case GeneratorType::RCC:
+ case Generator::RCC:
return genNameRcc;
}
return genNameGen;
}
-std::string cmQtAutoGen::GeneratorNameUpper(GeneratorType genType)
+std::string cmQtAutoGen::GeneratorNameUpper(Generator genType)
{
return cmSystemTools::UpperCase(cmQtAutoGen::GeneratorName(genType));
}