From bccf4a1fc31980083dcf572ec4f6d5f65c2f0931 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 18 Mar 2009 16:43:01 +0100 Subject: 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. --- src/plugins/cpptools/cpptoolsconstants.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/plugins/cpptools/cpptoolsconstants.h') diff --git a/src/plugins/cpptools/cpptoolsconstants.h b/src/plugins/cpptools/cpptoolsconstants.h index 0696db4176..ef04db2c44 100644 --- a/src/plugins/cpptools/cpptoolsconstants.h +++ b/src/plugins/cpptools/cpptoolsconstants.h @@ -30,6 +30,8 @@ #ifndef CPPTOOLSCONSTANTS_H #define CPPTOOLSCONSTANTS_H +#include + 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 -- cgit v1.2.1