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/projectexplorer/allprojectsfilter.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/projectexplorer/allprojectsfilter.h')
-rw-r--r-- | src/plugins/projectexplorer/allprojectsfilter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/allprojectsfilter.h b/src/plugins/projectexplorer/allprojectsfilter.h index 9d2455e560..46c8913faf 100644 --- a/src/plugins/projectexplorer/allprojectsfilter.h +++ b/src/plugins/projectexplorer/allprojectsfilter.h @@ -48,8 +48,8 @@ class AllProjectsFilter : public Locator::BaseFileFilter public: explicit AllProjectsFilter(ProjectExplorerPlugin *pe); - QString trName() const { return tr("Files in any project"); } - QString name() const { return "Files in any project"; } + QString displayName() const { return tr("Files in any project"); } + QString id() const { return "Files in any project"; } Locator::ILocatorFilter::Priority priority() const { return Locator::ILocatorFilter::Low; } void refresh(QFutureInterface<void> &future); |