forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -47,10 +47,10 @@ public:
|
||||
IMode(QObject *parent = 0) : IContext(parent) {}
|
||||
virtual ~IMode() {}
|
||||
|
||||
virtual QString name() const = 0;
|
||||
virtual QString displayName() const = 0;
|
||||
virtual QIcon icon() const = 0;
|
||||
virtual int priority() const = 0;
|
||||
virtual const char *uniqueModeName() const = 0;
|
||||
virtual QString id() const = 0;
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user