summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-14 23:04:49 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-02-19 11:35:42 (GMT)
commitad1f21313f553ecc7064accf582986112dc678d1 (patch)
tree209d1cfbe73f610597bb7883fb8b8116eccdb4a4 /Source/cmQtAutoGenerators.h
parent2296a2e9ee04fc83a294d51421038dca40b3150f (diff)
downloadCMake-ad1f21313f553ecc7064accf582986112dc678d1.zip
CMake-ad1f21313f553ecc7064accf582986112dc678d1.tar.gz
CMake-ad1f21313f553ecc7064accf582986112dc678d1.tar.bz2
Autogen: Make methods const
Diffstat (limited to 'Source/cmQtAutoGenerators.h')
-rw-r--r--Source/cmQtAutoGenerators.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h
index dcb3a4f..068ec1d 100644
--- a/Source/cmQtAutoGenerators.h
+++ b/Source/cmQtAutoGenerators.h
@@ -28,9 +28,9 @@ private:
const std::string& config);
// - Settings file
- std::string SettingsStringGenMoc();
- std::string SettingsStringGenUic();
- std::string SettingsStringGenRcc();
+ std::string SettingsStringGenMoc() const;
+ std::string SettingsStringGenUic() const;
+ std::string SettingsStringGenRcc() const;
void SettingsFileRead(cmMakefile* makefile,
const std::string& targetDirectory);
bool SettingsFileWrite(const std::string& targetDirectory);
@@ -105,17 +105,19 @@ private:
void LogCommand(const std::vector<std::string>& command);
// - Utility
- bool NameCollisionTest(const std::map<std::string, std::string>& genFiles,
- std::multimap<std::string, std::string>& collisions);
+ bool NameCollisionTest(
+ const std::map<std::string, std::string>& genFiles,
+ std::multimap<std::string, std::string>& collisions) const;
std::string ChecksumedPath(const std::string& sourceFile,
- const char* basePrefix, const char* baseSuffix);
+ const char* basePrefix,
+ 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()
+ bool GenerateAllAny() const
{
return (this->GenerateAllMoc || this->GenerateAllRcc ||
this->GenerateAllUic);