2012-10-02 09:12:39 +02:00
|
|
|
/****************************************************************************
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** This file is part of Qt Creator.
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2016-01-15 14:57:40 +01:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2008-12-02 14:17:16 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
2010-12-17 16:01:08 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
****************************************************************************/
|
2008-12-02 15:08:31 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2012-02-15 10:42:41 +01:00
|
|
|
#include <QtGlobal>
|
2009-03-18 16:43:01 +01:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
namespace CppTools {
|
|
|
|
|
namespace Constants {
|
|
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
const char M_TOOLS_CPP[] = "CppTools.Tools.Menu";
|
|
|
|
|
const char SWITCH_HEADER_SOURCE[] = "CppTools.SwitchHeaderSource";
|
2013-02-05 14:14:33 +01:00
|
|
|
const char OPEN_HEADER_SOURCE_IN_NEXT_SPLIT[] = "CppTools.OpenHeaderSourceInNextSplit";
|
2011-11-02 16:45:13 +01:00
|
|
|
const char TASK_INDEX[] = "CppTools.Task.Index";
|
|
|
|
|
const char TASK_SEARCH[] = "CppTools.Task.Search";
|
|
|
|
|
const char C_SOURCE_MIMETYPE[] = "text/x-csrc";
|
|
|
|
|
const char C_HEADER_MIMETYPE[] = "text/x-chdr";
|
|
|
|
|
const char CPP_SOURCE_MIMETYPE[] = "text/x-c++src";
|
2013-05-02 11:24:34 +02:00
|
|
|
const char OBJECTIVE_C_SOURCE_MIMETYPE[] = "text/x-objcsrc";
|
|
|
|
|
const char OBJECTIVE_CPP_SOURCE_MIMETYPE[] = "text/x-objc++src";
|
2011-11-02 16:45:13 +01:00
|
|
|
const char CPP_HEADER_MIMETYPE[] = "text/x-c++hdr";
|
2016-03-15 13:36:50 +01:00
|
|
|
const char QDOC_MIMETYPE[] = "text/x-qdoc";
|
2016-04-22 11:53:24 +02:00
|
|
|
const char MOC_MIMETYPE[] = "text/x-moc";
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2009-03-18 16:43:01 +01:00
|
|
|
// QSettings keys for use by the "New Class" wizards.
|
2011-11-02 16:45:13 +01:00
|
|
|
const char CPPTOOLS_SETTINGSGROUP[] = "CppTools";
|
|
|
|
|
const char LOWERCASE_CPPFILES_KEY[] = "LowerCaseFiles";
|
2009-03-18 17:05:48 +01:00
|
|
|
enum { lowerCaseFilesDefault = 1 };
|
2015-01-23 15:09:45 +01:00
|
|
|
const char CPPTOOLS_SORT_EDITOR_DOCUMENT_OUTLINE[] = "SortedMethodOverview";
|
2016-10-13 13:11:07 +02:00
|
|
|
const char CPPTOOLS_SHOW_INFO_BAR_FOR_HEADER_ERRORS[] = "ShowInfoBarForHeaderErrors";
|
2013-09-30 13:36:01 +02:00
|
|
|
const char CPPTOOLS_MODEL_MANAGER_PCH_USAGE[] = "PCHUsage";
|
2017-01-12 18:01:12 +01:00
|
|
|
const char CPPTOOLS_INTERPRET_AMBIGIUOUS_HEADERS_AS_C_HEADERS[]
|
|
|
|
|
= "InterpretAmbiguousHeadersAsCHeaders";
|
2016-08-16 13:37:49 +02:00
|
|
|
const char CPPTOOLS_SKIP_INDEXING_BIG_FILES[] = "SkipIndexingBigFiles";
|
|
|
|
|
const char CPPTOOLS_INDEXER_FILE_SIZE_LIMIT[] = "IndexerFileSizeLimit";
|
2016-02-22 17:18:18 +01:00
|
|
|
|
2017-01-12 18:01:12 +01:00
|
|
|
const char CPP_CLANG_BUILTIN_CONFIG_ID_EVERYTHING_WITH_EXCEPTIONS[]
|
|
|
|
|
= "Builtin.EverythingWithExceptions";
|
2009-03-18 16:43:01 +01:00
|
|
|
|
2015-08-05 15:20:14 +02:00
|
|
|
const char CPP_CODE_STYLE_SETTINGS_ID[] = "A.Cpp.Code Style";
|
2011-11-02 16:45:13 +01:00
|
|
|
const char CPP_CODE_STYLE_SETTINGS_NAME[] = QT_TRANSLATE_NOOP("CppTools", "Code Style");
|
2015-08-05 15:20:14 +02:00
|
|
|
const char CPP_FILE_SETTINGS_ID[] = "B.Cpp.File Naming";
|
2011-11-02 16:45:13 +01:00
|
|
|
const char CPP_FILE_SETTINGS_NAME[] = QT_TRANSLATE_NOOP("CppTools", "File Naming");
|
2015-08-05 15:20:14 +02:00
|
|
|
const char CPP_CODE_MODEL_SETTINGS_ID[] = "C.Cpp.Code Model";
|
2013-09-06 13:14:15 +02:00
|
|
|
const char CPP_CODE_MODEL_SETTINGS_NAME[] = QT_TRANSLATE_NOOP("CppTools", "Code Model");
|
2011-11-02 16:45:13 +01:00
|
|
|
const char CPP_SETTINGS_CATEGORY[] = "I.C++";
|
|
|
|
|
const char CPP_SETTINGS_TR_CATEGORY[] = QT_TRANSLATE_NOOP("CppTools", "C++");
|
2014-06-03 10:46:28 +02:00
|
|
|
const char SETTINGS_CATEGORY_CPP_ICON[] = ":/cpptools/images/category_cpp.png";
|
2009-03-18 16:43:01 +01:00
|
|
|
|
2016-02-05 15:16:02 +01:00
|
|
|
const char CPP_CLANG_FIXIT_AVAILABLE_MARKER_ID[] = "ClangFixItAvailableMarker";
|
|
|
|
|
|
2011-11-02 16:45:13 +01:00
|
|
|
const char CPP_SETTINGS_ID[] = "Cpp";
|
|
|
|
|
const char CPP_SETTINGS_NAME[] = QT_TRANSLATE_NOOP("CppTools", "C++");
|
2011-02-03 15:48:14 +01:00
|
|
|
|
2008-12-02 15:08:31 +01:00
|
|
|
} // namespace Constants
|
|
|
|
|
} // namespace CppTools
|