diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-02-15 10:01:31 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-02-19 11:35:43 (GMT) |
commit | b2063fd70fa6955acb2b9f02507097d03e2011a7 (patch) | |
tree | d490c31093493c873ff9dccf2c273eeea8d8ee55 /Source/cmQtAutoGenerators.h | |
parent | 10beb4a0345f673feaeec798d452a48797c6820a (diff) | |
download | CMake-b2063fd70fa6955acb2b9f02507097d03e2011a7.zip CMake-b2063fd70fa6955acb2b9f02507097d03e2011a7.tar.gz CMake-b2063fd70fa6955acb2b9f02507097d03e2011a7.tar.bz2 |
Autogen: Move method declarations; Remove comments
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r-- | Source/cmQtAutoGenerators.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index f14c7a7..e60320b 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -27,11 +27,21 @@ private: const std::string& targetDirectory, const std::string& config); + bool MocEnabled() const { return !this->MocExecutable.empty(); } + bool UicEnabled() const { return !this->UicExecutable.empty(); } + bool RccEnabled() const { return !this->RccExecutable.empty(); } + // - Settings file void SettingsFileRead(cmMakefile* makefile, const std::string& targetDirectory); bool SettingsFileWrite(const std::string& targetDirectory); + bool GenerateAllAny() const + { + return (this->GenerateAllMoc || this->GenerateAllRcc || + this->GenerateAllUic); + } + // - Init and run void Init(); bool RunAutogen(cmMakefile* makefile); @@ -110,16 +120,6 @@ private: const char* baseSuffix) const; bool MakeParentDirectory(const std::string& filename); - bool MocEnabled() const { return !this->MocExecutable.empty(); } - bool UicEnabled() const { return !this->UicExecutable.empty(); } - bool RccEnabled() const { return !this->RccExecutable.empty(); } - - bool GenerateAllAny() const - { - return (this->GenerateAllMoc || this->GenerateAllRcc || - this->GenerateAllUic); - } - // - Target names std::string OriginTargetName; std::string AutogenTargetName; |