Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
4d69c745
Commit
4d69c745
authored
Apr 14, 2011
by
Jarek Kobus
Browse files
Remove unused constants, fix lacking virtual destructor
Reviewed-by:
Tobias Hunger
<
tobias.hunger@nokia.com
>
parent
cf1571be
Changes
24
Hide whitespace changes
Inline
Side-by-side
src/libs/utils/filesearch.h
View file @
4d69c745
...
...
@@ -52,7 +52,7 @@ public:
FileIterator
();
explicit
FileIterator
(
const
QStringList
&
fileList
,
const
QList
<
QTextCodec
*>
encodings
);
~
FileIterator
();
virtual
~
FileIterator
();
virtual
bool
hasNext
()
const
;
virtual
QString
next
();
...
...
src/plugins/bazaar/constants.h
View file @
4d69c745
...
...
@@ -44,7 +44,6 @@ const char * const BAZAARDEFAULT = "bzr";
//changeset identifiers
const
char
*
const
CHANGESET_ID
=
"([0-9]+)"
;
// match and capture
const
char
*
const
CHANGESET_ID_EXACT
=
"[0-9]+"
;
// match
const
char
*
const
DIFF_ID
=
"^[-+]{3,3} [ab]{1,1}.*"
;
// match e.g. +++ b/filename
//BaseEditorParameters
const
char
*
const
COMMANDLOG_ID
=
"Bazaar Command Log Editor"
;
...
...
@@ -96,7 +95,6 @@ const char * const LOGMULTI = "Bazaar.Action.Logmulti";
const
char
*
const
PULL
=
"Bazaar.Action.Pull"
;
const
char
*
const
PUSH
=
"Bazaar.Action.Push"
;
const
char
*
const
UPDATE
=
"Bazaar.Action.Update"
;
const
char
*
const
CLONE
=
"Bazaar.Action.Clone"
;
const
char
*
const
COMMIT
=
"Bazaar.Action.Commit"
;
const
char
*
const
CREATE_REPOSITORY
=
"Bazaar.Action.CreateRepository"
;
...
...
src/plugins/coreplugin/coreconstants.h
View file @
4d69c745
...
...
@@ -78,15 +78,12 @@ const char * const MODE_DESIGN_TYPE = "Type.Design";
const
int
P_MODE_WELCOME
=
100
;
const
int
P_MODE_EDIT
=
90
;
const
int
P_MODE_DESIGN
=
89
;
const
int
P_MODE_OUTPUT
=
10
;
//menubar
const
char
*
const
MENU_BAR
=
"QtCreator.MenuBar"
;
//menus
const
char
*
const
M_FILE
=
"QtCreator.Menu.File"
;
const
char
*
const
M_FILE_OPEN
=
"QtCreator.Menu.File.Open"
;
const
char
*
const
M_FILE_NEW
=
"QtCreator.Menu.File.New"
;
const
char
*
const
M_FILE_RECENTFILES
=
"QtCreator.Menu.File.RecentFiles"
;
const
char
*
const
M_EDIT
=
"QtCreator.Menu.Edit"
;
const
char
*
const
M_EDIT_ADVANCED
=
"QtCreator.Menu.Edit.Advanced"
;
...
...
@@ -135,18 +132,20 @@ const char * const OPTIONS = "QtCreator.Options";
const
char
*
const
TOGGLE_SIDEBAR
=
"QtCreator.ToggleSidebar"
;
const
char
*
const
TOGGLE_FULLSCREEN
=
"QtCreator.ToggleFullScreen"
;
#ifdef Q_WS_MAC
const
char
*
const
MINIMIZE_WINDOW
=
"QtCreator.MinimizeWindow"
;
const
char
*
const
ZOOM_WINDOW
=
"QtCreator.ZoomWindow"
;
#endif
const
char
*
const
SPLIT
=
"QtCreator.Split"
;
const
char
*
const
SPLIT_SIDE_BY_SIDE
=
"QtCreator.SplitSideBySide"
;
const
char
*
const
REMOVE_CURRENT_SPLIT
=
"QtCreator.RemoveCurrentSplit"
;
const
char
*
const
REMOVE_ALL_SPLITS
=
"QtCreator.RemoveAllSplits"
;
const
char
*
const
GOTO_OTHER_SPLIT
=
"QtCreator.GotoOtherSplit"
;
const
char
*
const
SAVEASDEFAULT
=
"QtCreator.SaveAsDefaultLayout"
;
const
char
*
const
RESTOREDEFAULT
=
"QtCreator.RestoreDefaultLayout"
;
const
char
*
const
CLOSE
=
"QtCreator.Close"
;
#ifdef Q_WS_WIN
const
char
*
const
CLOSE_ALTERNATIVE
=
"QtCreator.Close_Alternative"
;
// temporary, see QTCREATORBUG-72
#endif
const
char
*
const
CLOSEALL
=
"QtCreator.CloseAll"
;
const
char
*
const
CLOSEOTHERS
=
"QtCreator.CloseOthers"
;
const
char
*
const
GOTONEXT
=
"QtCreator.GotoNext"
;
...
...
@@ -155,14 +154,9 @@ const char * const GOTONEXTINHISTORY = "QtCreator.GotoNextInHistory";
const
char
*
const
GOTOPREVINHISTORY
=
"QtCreator.GotoPreviousInHistory"
;
const
char
*
const
GO_BACK
=
"QtCreator.GoBack"
;
const
char
*
const
GO_FORWARD
=
"QtCreator.GoForward"
;
const
char
*
const
GOTOPREVIOUSGROUP
=
"QtCreator.GotoPreviousTabGroup"
;
const
char
*
const
GOTONEXTGROUP
=
"QtCreator.GotoNextTabGroup"
;
const
char
*
const
WINDOWSLIST
=
"QtCreator.WindowsList"
;
const
char
*
const
ABOUT_QTCREATOR
=
"QtCreator.AboutQtCreator"
;
const
char
*
const
ABOUT_PLUGINS
=
"QtCreator.AboutPlugins"
;
const
char
*
const
ABOUT_QT
=
"QtCreator.AboutQt"
;
const
char
*
const
S_RETURNTOEDITOR
=
"QtCreator.ReturnToEditor"
;
const
char
*
const
OPEN_IN_EXTERNAL_EDITOR
=
"QtCreator.OpenInExternalEditor"
;
// default groups
const
char
*
const
G_DEFAULT_ONE
=
"QtCreator.Group.Default.One"
;
...
...
@@ -232,9 +226,6 @@ const char * const ICON_PREV = ":/core/images/prev.png";
const
char
*
const
ICON_DIR
=
":/core/images/dir.png"
;
const
char
*
const
ICON_CLEAN_PANE
=
":/core/images/clean_pane_small.png"
;
const
char
*
const
ICON_CLEAR
=
":/core/images/clear.png"
;
const
char
*
const
ICON_FIND
=
":/core/images/find.png"
;
const
char
*
const
ICON_FINDNEXT
=
":/core/images/findnext.png"
;
const
char
*
const
ICON_REPLACE
=
":/core/images/replace.png"
;
const
char
*
const
ICON_RESET
=
":/core/images/reset.png"
;
const
char
*
const
ICON_MAGNIFIER
=
":/core/images/magnifier.png"
;
const
char
*
const
ICON_TOGGLE_SIDEBAR
=
":/core/images/sidebaricon.png"
;
...
...
src/plugins/cppeditor/cppeditorconstants.h
View file @
4d69c745
...
...
@@ -37,7 +37,6 @@
namespace
CppEditor
{
namespace
Constants
{
const
char
*
const
FORMATCODE
=
"CppEditor.FormatCode"
;
const
char
*
const
M_CONTEXT
=
"CppEditor.ContextMenu"
;
const
char
*
const
C_CPPEDITOR
=
"CppPlugin.C++Editor"
;
const
char
*
const
CPPEDITOR_ID
=
"CppPlugin.C++Editor"
;
...
...
@@ -50,7 +49,6 @@ const char * const SEPARATOR = "CppEditor.Separator";
const
char
*
const
SEPARATOR2
=
"CppEditor.Separator2"
;
const
char
*
const
SEPARATOR3
=
"CppEditor.Separator3"
;
const
char
*
const
SEPARATOR4
=
"CppEditor.Separator4"
;
const
char
*
const
FIND_REFERENCES
=
"CppEditor.FindReferences"
;
const
char
*
const
JUMP_TO_DEFINITION
=
"CppEditor.JumpToDefinition"
;
const
char
*
const
UPDATE_CODEMODEL
=
"CppEditor.UpdateCodeModel"
;
...
...
@@ -58,12 +56,6 @@ const int TYPE_HIERARCHY_PRIORITY = 700;
const
char
*
const
TYPE_HIERARCHY_ID
=
"CppEditor.TypeHierarchy"
;
const
char
*
const
OPEN_TYPE_HIERARCHY
=
"CppEditor.OpenTypeHierarchy"
;
const
char
*
const
HEADER_FILE_TYPE
=
"CppHeaderFiles"
;
const
char
*
const
SOURCE_FILE_TYPE
=
"CppSourceFiles"
;
const
char
*
const
MOVE_TO_PREVIOUS_TOKEN
=
"CppEditor.MoveToPreviousToken"
;
const
char
*
const
MOVE_TO_NEXT_TOKEN
=
"CppEditor.MoveToNextToken"
;
const
char
*
const
C_SOURCE_MIMETYPE
=
"text/x-csrc"
;
const
char
*
const
C_HEADER_MIMETYPE
=
"text/x-chdr"
;
const
char
*
const
CPP_SOURCE_MIMETYPE
=
"text/x-c++src"
;
...
...
src/plugins/cpptools/cpptoolsconstants.h
View file @
4d69c745
...
...
@@ -40,7 +40,6 @@ namespace CppTools {
namespace
Constants
{
const
char
*
const
M_TOOLS_CPP
=
"CppTools.Tools.Menu"
;
const
char
*
const
M_CPP_REFACTORING
=
"CppTools.Refactoring.Menu"
;
const
char
*
const
SWITCH_HEADER_SOURCE
=
"CppTools.SwitchHeaderSource"
;
const
char
*
const
TASK_INDEX
=
"CppTools.Task.Index"
;
const
char
*
const
TASK_SEARCH
=
"CppTools.Task.Search"
;
...
...
src/plugins/cvs/cvsconstants.h
View file @
4d69c745
...
...
@@ -38,8 +38,6 @@ namespace CVS {
namespace
Constants
{
const
char
*
const
CVS_SUBMIT_MIMETYPE
=
"application/vnd.nokia.text.cvs.submit"
;
const
char
*
const
CVSEDITOR
=
"CVS Editor"
;
const
char
*
const
CVSEDITOR_KIND
=
"CVS Editor"
;
const
char
*
const
CVSCOMMITEDITOR
=
"CVS Commit Editor"
;
const
char
*
const
CVSCOMMITEDITOR_ID
=
"CVS Commit Editor"
;
const
char
*
const
CVSCOMMITEDITOR_DISPLAY_NAME
=
QT_TRANSLATE_NOOP
(
"VCS"
,
"CVS Commit Editor"
);
...
...
src/plugins/debugger/debuggerconstants.h
View file @
4d69c745
...
...
@@ -54,8 +54,6 @@ const char * const NEXT = "Debugger.NextLine";
const
char
*
const
REVERSE
=
"Debugger.ReverseDirection"
;
const
char
*
const
OPERATE_BY_INSTRUCTION
=
"Debugger.OperateByInstruction"
;
const
char
*
const
M_DEBUG_VIEWS
=
"Debugger.Menu.View.Debug"
;
const
char
*
const
C_DEBUGMODE
=
"Debugger.DebugMode"
;
const
char
*
const
C_CPPDEBUGGER
=
"Gdb Debugger"
;
const
char
*
const
C_QMLDEBUGGER
=
"Qml/JavaScript Debugger"
;
...
...
@@ -71,7 +69,6 @@ const char * const DEBUGGER_COMMON_SETTINGS_CATEGORY_ICON =
// dock widget names
const
char
*
const
DOCKWIDGET_BREAK
=
"Debugger.Docks.Break"
;
const
char
*
const
DOCKWIDGET_CONSOLE
=
"Debugger.Docks.Console"
;
const
char
*
const
DOCKWIDGET_MODULES
=
"Debugger.Docks.Modules"
;
const
char
*
const
DOCKWIDGET_REGISTER
=
"Debugger.Docks.Register"
;
const
char
*
const
DOCKWIDGET_OUTPUT
=
"Debugger.Docks.Output"
;
...
...
src/plugins/designer/designerconstants.h
View file @
4d69c745
...
...
@@ -52,11 +52,7 @@ const char * const SETTINGS_CPP_SETTINGS_NAME = QT_TRANSLATE_NOOP("Designer", "C
// context
const
char
*
const
C_FORMEDITOR
=
"FormEditor.FormEditor"
;
const
char
*
const
FORMEDITOR_ID
=
"FormEditor"
;
const
char
*
const
C_FORMEDITOR_DISPLAY_NAME
=
QT_TRANSLATE_NOOP
(
"Designer"
,
"Form Editor"
);
const
char
*
const
T_FORMEDITOR
=
"FormEditor.Toolbar"
;
const
char
*
const
M_FORMEDITOR
=
"FormEditor.Menu"
;
const
char
*
const
M_FORMEDITOR_VIEWS
=
"FormEditor.Menu.Views"
;
const
char
*
const
M_FORMEDITOR_PREVIEW
=
"FormEditor.Menu.Preview"
;
// Wizard type
...
...
src/plugins/find/textfindconstants.h
View file @
4d69c745
...
...
@@ -50,11 +50,9 @@ const char * const G_FIND_FLAGS = "Find.FindMenu.Flags";
const
char
*
const
G_FIND_ACTIONS
=
"Find.FindMenu.Actions"
;
const
char
*
const
ADVANCED_FIND
=
"Find.Dialog"
;
const
char
*
const
FIND
=
"Find.FindReplace"
;
const
char
*
const
FIND_IN_DOCUMENT
=
"Find.FindInCurrentDocument"
;
const
char
*
const
FIND_NEXT
=
"Find.FindNext"
;
const
char
*
const
FIND_PREVIOUS
=
"Find.FindPrevious"
;
const
char
*
const
FIND_ALL
=
"Find.FindAll"
;
const
char
*
const
REPLACE
=
"Find.Replace"
;
const
char
*
const
REPLACE_NEXT
=
"Find.ReplaceNext"
;
const
char
*
const
REPLACE_PREVIOUS
=
"Find.ReplacePrevious"
;
...
...
src/plugins/genericprojectmanager/genericprojectconstants.h
View file @
4d69c745
...
...
@@ -39,23 +39,17 @@ namespace Constants {
const
char
*
const
PROJECTCONTEXT
=
"GenericProject.ProjectContext"
;
const
char
*
const
GENERICMIMETYPE
=
"text/x-generic-project"
;
// ### FIXME
const
char
*
const
MAKESTEP
=
"GenericProjectManager.MakeStep"
;
// contexts
const
char
*
const
C_FILESEDITOR
=
".files Editor"
;
// kinds
const
char
*
const
PROJECT_KIND
=
"Generic"
;
const
char
*
const
FILES_EDITOR_ID
=
"QT4.FilesEditor"
;
const
char
*
const
FILES_EDITOR_DISPLAY_NAME
=
QT_TRANSLATE_NOOP
(
"OpenWith::Editors"
,
".files Editor"
);
const
char
*
const
FILES_MIMETYPE
=
"application/vnd.nokia.qt.generic.files"
;
const
char
*
const
INCLUDES_EDITOR
=
".includes Editor"
;
const
char
*
const
INCLUDES_MIMETYPE
=
"application/vnd.nokia.qt.generic.includes"
;
const
char
*
const
CONFIG_EDITOR
=
".config Editor"
;
const
char
*
const
CONFIG_MIMETYPE
=
"application/vnd.nokia.qt.generic.config"
;
// Project
...
...
src/plugins/git/gitconstants.h
View file @
4d69c745
...
...
@@ -60,7 +60,6 @@ const char * const DIFF_SELECTED = "Git.DiffSelectedFilesInLog";
const
char
*
const
SUBMIT_MIMETYPE
=
"application/vnd.nokia.text.git.submit"
;
const
char
*
const
GIT_BINARY
=
"git"
;
const
char
*
const
DIFF_FILE_INDICATOR
=
"--- "
;
enum
{
debug
=
0
};
}
// namespace Constants
...
...
src/plugins/glsleditor/glsleditorconstants.h
View file @
4d69c745
...
...
@@ -47,11 +47,8 @@ const char * const SEPARATOR1 = "GLSLEditor.Separator1";
const
char
*
const
SEPARATOR2
=
"GLSLEditor.Separator2"
;
const
char
*
const
M_REFACTORING_MENU_INSERTION_POINT
=
"GLSLEditor.RefactorGroup"
;
const
char
*
const
RUN_SEP
=
"GLSLEditor.Run.Separator"
;
const
char
*
const
C_GLSLEDITOR_ID
=
"GLSLEditor.GLSLEditor"
;
const
char
*
const
C_GLSLEDITOR_DISPLAY_NAME
=
QT_TRANSLATE_NOOP
(
"OpenWith::Editors"
,
"GLSL Editor"
);
const
char
*
const
TASK_INDEX
=
"GLSLEditor.TaskIndex"
;
const
char
*
const
TASK_SEARCH
=
"GLSLEditor.TaskSearch"
;
const
char
*
const
GLSL_MIMETYPE
=
"application/x-glsl"
;
const
char
*
const
GLSL_MIMETYPE_VERT
=
"text/x-glsl-vert"
;
...
...
src/plugins/macros/macrosconstants.h
View file @
4d69c745
...
...
@@ -49,7 +49,6 @@ const char * const M_OPTIONS_PAGE = "Macros";
const
char
*
const
M_OPTIONS_TR_PAGE
=
"Macros"
;
const
char
*
const
M_STATUS_BUFFER
=
"Macros.Status"
;
const
char
*
const
M_INFO_BUFFER
=
"Macros.Info"
;
const
char
*
const
M_EXTENSION
=
"mac"
;
...
...
src/plugins/mercurial/constants.h
View file @
4d69c745
...
...
@@ -38,18 +38,9 @@ namespace Mercurial {
namespace
Constants
{
enum
{
debug
=
0
};
const
char
*
const
MERCURIAL
=
"mercurial"
;
const
char
*
const
MECURIALREPO
=
".hg"
;
const
char
*
const
MERCURIALDEFAULT
=
"hg"
;
//options page items
const
char
*
const
MERCURIALPATH
=
"Mercurial_Path"
;
const
char
*
const
MERCURIALUSERNAME
=
"Mercurial_Username"
;
const
char
*
const
MERCURIALEMAIL
=
"Mercurial_Email"
;
const
char
*
const
MERCURIALLOGCOUNT
=
"Mercurial_LogCount"
;
const
char
*
const
MERCURIALTIMEOUT
=
"Mercurial_Timeout"
;
const
char
*
const
MERCURIALPROMPTSUBMIT
=
"Mercurial_PromptOnSubmit"
;
//changeset identifiers
const
char
*
const
CHANGESETID12
=
" ([a-f0-9]{12,12}) "
;
//match 12 hex chars and capture
const
char
*
const
CHANGESETID40
=
" ([a-f0-9]{40,40}) "
;
...
...
@@ -113,22 +104,7 @@ const char * const OUTGOING = "Mercurial.Action.Outgoing";
const
char
*
const
COMMIT
=
"Mercurial.Action.Commit"
;
const
char
*
const
CREATE_REPOSITORY
=
"Mercurial.Action.CreateRepository"
;
//Repository Management
const
char
*
const
MERGE
=
"Mercurial.Action.Merge"
;
const
char
*
const
BRANCH
=
"Mercurial.Action.Branch"
;
const
char
*
const
HEADS
=
"Mercurial.Action.Heads"
;
const
char
*
const
PARENTS
=
"Mercurial.Action.Parents"
;
const
char
*
const
TAGS
=
"Mercurial.Action.Tags"
;
const
char
*
const
TIP
=
"Mercurial.Action.TIP"
;
const
char
*
const
PATHS
=
"Mercurial.Action.Paths"
;
//Less commonly used menu actions
const
char
*
const
CLONE
=
"Mercurial.Action.Clone"
;
const
char
*
const
INIT
=
"Mercurial.Action.Init"
;
const
char
*
const
SERVE
=
"Mercurial.Action.Serve"
;
//submit editor actions
const
char
*
const
COMMITEDITOR
=
"Mercurial.Action.Editor.Commit"
;
const
char
*
const
DIFFEDITOR
=
"Mercurial.Action.Editor.Diff"
;
}
// namespace Constants
...
...
src/plugins/perforce/perforceconstants.h
View file @
4d69c745
...
...
@@ -39,8 +39,6 @@
namespace
Perforce
{
namespace
Constants
{
const
char
*
const
PERFORCEEDITOR_CONTEXT
=
"Perforce Editor"
;
const
char
*
const
PERFORCE_SUBMIT_EDITOR_ID
=
"Perforce.SubmitEditor"
;
const
char
*
const
PERFORCE_SUBMIT_EDITOR_DISPLAY_NAME
=
QT_TRANSLATE_NOOP
(
"VCS"
,
"Perforce.SubmitEditor"
);
const
char
*
const
PERFORCESUBMITEDITOR_CONTEXT
=
"Perforce Submit Editor"
;
...
...
src/plugins/projectexplorer/projectexplorerconstants.h
View file @
4d69c745
...
...
@@ -66,16 +66,10 @@ const char * const CLEANPROJECTONLY = "ProjectExplorer.CleanProjectOnly";
const
char
*
const
CLEAN
=
"ProjectExplorer.Clean"
;
const
char
*
const
CLEANCM
=
"ProjectExplorer.CleanCM"
;
const
char
*
const
CLEANSESSION
=
"ProjectExplorer.CleanSession"
;
const
char
*
const
BUILDPROJECTONLYMENU
=
"ProjectExplorer.BuildProjectOnlyMenu"
;
const
char
*
const
BUILDCONFIGURATIONMENU
=
"ProjectExplorer.BuildConfigurationMenu"
;
const
char
*
const
CANCELBUILD
=
"ProjectExplorer.CancelBuild"
;
const
char
*
const
RUNCONFIGURATIONMENU
=
"ProjectExplorer.RunConfigurationMenu"
;
const
char
*
const
RUN
=
"ProjectExplorer.Run"
;
const
char
*
const
RUNCONTEXTMENU
=
"ProjectExplorer.RunContextMenu"
;
const
char
*
const
STOP
=
"ProjectExplorer.Stop"
;
const
char
*
const
DEPENDENCIES
=
"ProjectExplorer.Dependencies"
;
const
char
*
const
FINDINALLPROJECTS
=
"ProjectExplorer.FindInAllProjects"
;
const
char
*
const
SHOWPROPERTIES
=
"ProjectExplorer.ShowProperties"
;
const
char
*
const
ADDNEWFILE
=
"ProjectExplorer.AddNewFile"
;
const
char
*
const
ADDEXISTINGFILES
=
"ProjectExplorer.AddExistingFiles"
;
const
char
*
const
ADDNEWSUBPROJECT
=
"ProjectExplorer.AddNewSubproject"
;
...
...
@@ -117,9 +111,6 @@ const char * const M_DEBUG = "ProjectExplorer.Menu.Debug";
const
char
*
const
M_DEBUG_STARTDEBUGGING
=
"ProjectExplorer.Menu.Debug.StartDebugging"
;
const
char
*
const
M_SESSION
=
"ProjectExplorer.Menu.Session"
;
// toolbars
const
char
*
const
T_BUILDPROJECT
=
"ProjectExplorer.ToolBar.Build"
;
// menu groups
const
char
*
const
G_BUILD_SESSION
=
"ProjectExplorer.Group.BuildSession"
;
const
char
*
const
G_BUILD_PROJECT
=
"ProjectExplorer.Group.Build"
;
...
...
@@ -127,12 +118,6 @@ const char * const G_BUILD_OTHER = "ProjectExplorer.Group.Other";
const
char
*
const
G_BUILD_RUN
=
"ProjectExplorer.Group.Run"
;
const
char
*
const
G_BUILD_CANCEL
=
"ProjectExplorer.Group.BuildCancel"
;
// toolbar groups
const
char
*
const
G_TOOLBAR_CUSTOM
=
"ProjectExplorer.ToolBarGroup.Custom"
;
const
char
*
const
G_TOOLBAR_BUILD
=
"ProjectExplorer.ToolBarGroup.Build"
;
const
char
*
const
G_TOOLBAR_RUN
=
"ProjectExplorer.ToolBarGroup.Run"
;
const
char
*
const
G_TOOLBAR_OTHER
=
"ProjectExplorer.ToolBarGroup.Other"
;
// context menus
const
char
*
const
M_SESSIONCONTEXT
=
"Project.Menu.Session"
;
const
char
*
const
M_PROJECTCONTEXT
=
"Project.Menu.Project"
;
...
...
@@ -167,9 +152,6 @@ const char * const RUNMENUCONTEXTMENU = "Project.RunMenu";
// file id
const
char
*
const
FILE_FACTORY_ID
=
"ProjectExplorer.FileFactoryId"
;
// wizard kind
const
char
*
const
WIZARD_TYPE_PROJECT
=
"ProjectExplorer.WizardType.Project"
;
// icons
const
char
*
const
ICON_BUILD
=
":/projectexplorer/images/build.png"
;
const
char
*
const
ICON_BUILD_SMALL
=
":/projectexplorer/images/build_small.png"
;
...
...
@@ -179,22 +161,12 @@ const char * const ICON_REBUILD = ":/projectexplorer/images/rebuild.png"
const
char
*
const
ICON_REBUILD_SMALL
=
":/projectexplorer/images/rebuild_small.png"
;
const
char
*
const
ICON_RUN
=
":/projectexplorer/images/run.png"
;
const
char
*
const
ICON_RUN_SMALL
=
":/projectexplorer/images/run_small.png"
;
const
char
*
const
ICON_SESSION
=
":/projectexplorer/images/session.png"
;
const
char
*
const
ICON_DEBUG
=
":/projectexplorer/images/debugger_start.png"
;
const
char
*
const
ICON_DEBUG_SMALL
=
":/projectexplorer/images/debugger_start_small.png"
;
const
char
*
const
ICON_CLOSETAB
=
":/projectexplorer/images/closetab.png"
;
const
char
*
const
ICON_STOP
=
":/projectexplorer/images/stop.png"
;
const
char
*
const
ICON_TOOLCHAIN_SETTINGS_CATEGORY
=
":projectexplorer/images/build.png"
;
// FIXME: Need an icon!
// find filters
const
char
*
const
FIND_CUR_PROJECT
=
"ProjectExplorer.FindFilter.CurrentProject"
;
const
char
*
const
FIND_ALL_PROJECTS
=
"ProjectExplorer.FindFilter.AllProjects"
;
const
char
*
const
TASK_BUILD
=
"ProjectExplorer.Task.Build"
;
const
char
*
const
SESSIONFILE_MIMETYPE
=
"application/vnd.nokia.xml.qt.creator.session"
;
const
char
*
const
PROFILE_MIMETYPE
=
"application/vnd.nokia.qt.qmakeprofile"
;
const
char
*
const
C_SOURCE_MIMETYPE
=
"text/x-csrc"
;
const
char
*
const
C_HEADER_MIMETYPE
=
"text/x-chdr"
;
const
char
*
const
CPP_SOURCE_MIMETYPE
=
"text/x-c++src"
;
...
...
src/plugins/qmldesigner/qmldesignerconstants.h
View file @
4d69c745
...
...
@@ -40,7 +40,6 @@ namespace Constants {
const
char
*
const
DELETE
=
"QmlDesigner.Delete"
;
// context
const
char
*
const
C_DESIGN_MODE
=
"QmlDesigner::DesignMode"
;
const
char
*
const
C_QMLDESIGNER
=
"QmlDesigner::QmlDesignerMain"
;
const
char
*
const
C_QMLFORMEDITOR
=
"QmlDesigner::FormEditor"
;
...
...
@@ -53,13 +52,6 @@ const char * const RESTORE_DEFAULT_VIEW = "QmlDesigner.RestoreDefaultView";
const
char
*
const
TOGGLE_LEFT_SIDEBAR
=
"QmlDesigner.ToggleLeftSideBar"
;
const
char
*
const
TOGGLE_RIGHT_SIDEBAR
=
"QmlDesigner.ToggleRightSideBar"
;
// mode
const
char
*
const
DESIGN_MODE_NAME
=
"Design"
;
// Wizard type
const
char
*
const
FORM_MIMETYPE
=
"application/x-qmldesigner"
;
// This setting is also accessed by the QMlJsEditor.
const
char
*
const
QML_SETTINGS_GROUP
=
"QML"
;
const
char
*
const
QML_DESIGNER_SETTINGS_GROUP
=
"Designer"
;
...
...
src/plugins/qmljseditor/qmljseditorconstants.h
View file @
4d69c745
...
...
@@ -47,7 +47,6 @@ const char * const SEPARATOR1 = "QmlJSEditor.Separator1";
const
char
*
const
SEPARATOR2
=
"QmlJSEditor.Separator2"
;
const
char
*
const
M_REFACTORING_MENU_INSERTION_POINT
=
"QmlJSEditor.RefactorGroup"
;
const
char
*
const
RUN_SEP
=
"QmlJSEditor.Run.Separator"
;
const
char
*
const
C_QMLJSEDITOR_ID
=
"QMLProjectManager.QMLJSEditor"
;
const
char
*
const
C_QMLJSEDITOR_DISPLAY_NAME
=
QT_TRANSLATE_NOOP
(
"OpenWith::Editors"
,
"QMLJS Editor"
);
const
char
*
const
TASK_SEARCH
=
"QmlJSEditor.TaskSearch"
;
...
...
src/plugins/qmljsinspector/qmljsinspectorconstants.h
View file @
4d69c745
...
...
@@ -36,30 +36,20 @@
namespace
QmlJSInspector
{
namespace
Constants
{
const
char
*
const
RUN
=
"QmlInspector.Run"
;
const
char
*
const
STOP
=
"QmlInspector.Stop"
;
const
char
*
const
COMPLETE_THIS
=
"QmlInspector.CompleteThis"
;
const
char
*
const
M_DEBUG_SIMULTANEOUSLY
=
"QmlInspector.Menu.SimultaneousDebug"
;
const
char
*
const
INFO_EXPERIMENTAL
=
"QmlInspector.Experimental"
;
const
char
*
const
INFO_OUT_OF_SYNC
=
"QmlInspector.OutOfSyncWarning"
;
const
char
*
const
DESIGNMODE_ACTION
=
"QmlInspector.DesignMode"
;
const
char
*
const
PLAY_ACTION
=
"QmlInspector.Play"
;
const
char
*
const
SELECT_ACTION
=
"QmlInspector.Select"
;
const
char
*
const
SELECT_MARQUEE_ACTION
=
"QmlInspector.SelectMarquee"
;
const
char
*
const
ZOOM_ACTION
=
"QmlInspector.Zoom"
;
const
char
*
const
COLOR_PICKER_ACTION
=
"QmlInspector.ColorPicker"
;
const
char
*
const
TO_QML_ACTION
=
"QmlInspector.ToQml"
;
const
char
*
const
FROM_QML_ACTION
=
"QmlInspector.FromQml"
;
const
char
*
const
SHOW_APP_ON_TOP_ACTION
=
"QmlInspector.ShowAppOnTop"
;
// settings
const
char
*
const
S_QML_INSPECTOR
=
"QML.Inspector"
;
const
char
*
const
S_LIVE_PREVIEW_WARNING_KEY
=
"ShowLivePreview"
;
const
char
*
const
ARG_DESIGNMODE
=
"-designmode"
;
enum
DesignTool
{
NoTool
=
0
,
...
...
src/plugins/qmlprojectmanager/qmlprojectconstants.h
View file @
4d69c745
...
...
@@ -41,16 +41,6 @@ const char *const PROJECTCONTEXT = "QmlProject.ProjectContext";
const
char
*
const
LANG_QML
=
"QML"
;
const
char
*
const
QMLMIMETYPE
=
"application/x-qmlproject"
;
// contexts
const
char
*
const
C_FILESEDITOR
=
".files Editor"
;
// kinds
const
char
*
const
PROJECT_KIND
=
"QML"
;
const
char
*
const
FILES_EDITOR_ID
=
"Qt4.QmlProjectEditor"
;
const
char
*
const
FILES_EDITOR_DISPLAY_NAME
=
QT_TRANSLATE_NOOP
(
"OpenWith::Editors"
,
".qmlproject Editor"
);
const
char
*
const
FILES_MIMETYPE
=
QMLMIMETYPE
;
}
// namespace Constants
}
// namespace QmlProjectManager
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment