forked from qt-creator/qt-creator
Remove unused constants, fix lacking virtual destructor
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user