summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGen.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-02-21 09:17:52 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-02-21 10:38:30 (GMT)
commit5e36209f716900cb8a61c1bffd480c639be041bb (patch)
tree3453270bcef1b35299bffcce7a37b4b4e22ead68 /Source/cmQtAutoGen.h
parent14ae19c327100c137ec8cb549dfc7447c4888940 (diff)
downloadCMake-5e36209f716900cb8a61c1bffd480c639be041bb.zip
CMake-5e36209f716900cb8a61c1bffd480c639be041bb.tar.gz
CMake-5e36209f716900cb8a61c1bffd480c639be041bb.tar.bz2
Autogen: Rename cmQtAutoGen::GeneratorT enum to cmQtAutoGen::GenT
Diffstat (limited to 'Source/cmQtAutoGen.h')
-rw-r--r--Source/cmQtAutoGen.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/Source/cmQtAutoGen.h b/Source/cmQtAutoGen.h
index 03dbded..e62a947 100644
--- a/Source/cmQtAutoGen.h
+++ b/Source/cmQtAutoGen.h
@@ -14,18 +14,6 @@
class cmQtAutoGen
{
public:
- /// @brief Maximum number of parallel threads/processes in a generator
- static unsigned int const ParallelMax;
-
- /// @brief AutoGen generator type
- enum class GeneratorT
- {
- GEN, // AUTOGEN
- MOC,
- UIC,
- RCC
- };
-
/// @brief Integer version
struct IntegerVersion
{
@@ -52,6 +40,15 @@ public:
}
};
+ /// @brief AutoGen generator type
+ enum class GenT
+ {
+ GEN, // AUTOGEN
+ MOC, // AUTOMOC
+ UIC, // AUTOUIC
+ RCC // AUTORCC
+ };
+
/// @brief Nested lists separator
static std::string const ListSep;
// Generator names
@@ -63,12 +60,14 @@ public:
static std::string const GenNameMocUpper;
static std::string const GenNameUicUpper;
static std::string const GenNameRccUpper;
+ /// @brief Maximum number of parallel threads/processes in a generator
+ static unsigned int const ParallelMax;
public:
/// @brief Returns the generator name
- static std::string const& GeneratorName(GeneratorT genType);
+ static std::string const& GeneratorName(GenT genType);
/// @brief Returns the generator name in upper case
- static std::string const& GeneratorNameUpper(GeneratorT genType);
+ static std::string const& GeneratorNameUpper(GenT genType);
/// @brief Returns a string with the requested tool names
static std::string Tools(bool moc, bool uic, bool rcc);