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/cpptools/cpptoolsconstants.h | |
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/cpptools/cpptoolsconstants.h')
-rw-r--r-- | src/plugins/cpptools/cpptoolsconstants.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpptoolsconstants.h b/src/plugins/cpptools/cpptoolsconstants.h index 0696db41769..ef04db2c44b 100644 --- a/src/plugins/cpptools/cpptoolsconstants.h +++ b/src/plugins/cpptools/cpptoolsconstants.h @@ -30,6 +30,8 @@ #ifndef CPPTOOLSCONSTANTS_H #define CPPTOOLSCONSTANTS_H +#include <QtCore/QtGlobal> + namespace CppTools { namespace Constants { @@ -41,6 +43,13 @@ const char * const C_HEADER_MIMETYPE = "text/x-chdr"; const char * const CPP_SOURCE_MIMETYPE = "text/x-c++src"; const char * const CPP_HEADER_MIMETYPE = "text/x-c++hdr"; +// QSettings keys for use by the "New Class" wizards. +const char * const CPPTOOLS_SETTINGSGROUP = "CppTools"; +const char * const LOWERCASE_CPPFILES_KEY = "LowerCaseFiles"; + +const char * const CPP_SETTINGS_ID = QT_TRANSLATE_NOOP("CppTools", "File naming conventions"); +const char * const CPP_SETTINGS_CATEGORY = QT_TRANSLATE_NOOP("CppTools", "C++"); + } // namespace Constants } // namespace CppTools |