diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2010-01-07 18:17:24 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2010-01-07 18:17:24 +0100 |
commit | a6ad773722a758df46813afd7af42625a0f3e276 (patch) | |
tree | 8a74e3bb0fe819603e3ce5ed867116e75acc8d64 /src/plugins/bineditor/bineditorconstants.h | |
parent | 8bb87fcda497d09ac3ba39b38b9c229d02022b09 (diff) |
Make method naming more consistent.
* Use id() for methods returning a string used to represent
some type of object.
* Use displayName() for strings that are meant to be user
visible.
* Quieten some warnings while touching the files anyway.
* Move Factories to their products in the plugins where that
was not done before.
Reviewed-by: dt
Diffstat (limited to 'src/plugins/bineditor/bineditorconstants.h')
-rw-r--r-- | src/plugins/bineditor/bineditorconstants.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/bineditor/bineditorconstants.h b/src/plugins/bineditor/bineditorconstants.h index 15697d008e..b597211d70 100644 --- a/src/plugins/bineditor/bineditorconstants.h +++ b/src/plugins/bineditor/bineditorconstants.h @@ -33,7 +33,8 @@ namespace BINEditor { namespace Constants { -const char * const C_BINEDITOR = "Binary Editor"; +const char * const C_BINEDITOR_ID = "BinEditor.BinaryEditor"; +const char * const C_BINEDITOR_DISPLAY_NAME = QT_TRANSLATE_NOOP("OpenWith::Editors", "Binary Editor"); const char * const C_BINEDITOR_MIMETYPE = "application/octet-stream"; } // namespace Constants |