EditorFactory: Replace some virtual functions with data members

Change-Id: I014cb57460c4e3a36bf7403960908b5ffec867ff
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
hjk
2013-05-31 19:35:37 +02:00
parent be112d853a
commit b772001c82
38 changed files with 132 additions and 545 deletions

View File

@@ -35,8 +35,6 @@
#include <coreplugin/editormanager/ieditorfactory.h>
QT_FORWARD_DECLARE_CLASS(QStringList)
namespace VcsBase {
namespace Internal {
class BaseVcsEditorFactoryPrivate;
@@ -45,15 +43,11 @@ class BaseVcsEditorFactoryPrivate;
class VCSBASE_EXPORT BaseVcsEditorFactory : public Core::IEditorFactory
{
Q_OBJECT
public:
explicit BaseVcsEditorFactory(const VcsBaseEditorParameters *type);
~BaseVcsEditorFactory();
QStringList mimeTypes() const;
// IEditorFactory
Core::Id id() const;
QString displayName() const;
Core::IEditor *createEditor(QWidget *parent);
private: