diff options
author | Friedemann Kleint <[email protected]> | 2009-03-18 16:43:01 +0100 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2009-03-18 16:43:01 +0100 |
commit | bccf4a1fc31980083dcf572ec4f6d5f65c2f0931 (patch) | |
tree | d53d123064db5fe1b297104c58c66e9e4bea8166 /src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp | |
parent | 3b0305727b5885281fe308cabcf4af41814a5270 (diff) |
Fixes: Introduce a cpp settingspage containing file naming conventions (lower case and suffixes). Reorder VCS settings pages.
Task: 241959, 248085
RevBy: Optics/Naming checked by con
Details: Give IOptionPage an id() to differentiate from trName(). Make showOptionsDialog return a bool (applied) and give it an optional parent. Change Cpp and form class wizards, give them a Configure... button to change those settings.
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp index 61de34e01eb..def15f0bba6 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp @@ -234,15 +234,19 @@ QString CMakeSettingsPage::findCmakeExecutable() const return env.searchInPath("cmake"); } +QString CMakeSettingsPage::id() const +{ + return QLatin1String("CMake"); +} -QString CMakeSettingsPage::name() const +QString CMakeSettingsPage::trName() const { - return "CMake"; + return tr("CMake"); } QString CMakeSettingsPage::category() const { - return "CMake"; + return QLatin1String("CMake"); } QString CMakeSettingsPage::trCategory() const |