diff options
author | Jarek Kobus <jkobus@trolltech.com> | 2011-04-14 12:07:39 +0200 |
---|---|---|
committer | Jarek Kobus <jkobus@trolltech.com> | 2011-04-14 12:08:47 +0200 |
commit | 4d69c7455e75f874e374651a1d00574a5075e845 (patch) | |
tree | 7629db8ab0496fe897068ac59668beb7682bfcab /src/plugins/mercurial/constants.h | |
parent | cf1571be17cffd3eaa58e836d94a4f0dda925e38 (diff) | |
download | qt-creator-4d69c7455e75f874e374651a1d00574a5075e845.tar.gz |
Remove unused constants, fix lacking virtual destructor
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/mercurial/constants.h')
-rw-r--r-- | src/plugins/mercurial/constants.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/plugins/mercurial/constants.h b/src/plugins/mercurial/constants.h index 40247ca94e..5569e77d8e 100644 --- a/src/plugins/mercurial/constants.h +++ b/src/plugins/mercurial/constants.h @@ -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 |