Extending Qt Creator Manual | IEditorFactory

Extending Qt Creator Manual 4.7.1

# IEditorFactory Class

(Debugger::Core::IEditorFactory)

Inherits: | QObject

- List of all members, including inherited members

## Public Functions

| IEditorFactory(Debugger::QObject *parent = nullptr)
virtual | ~IEditorFactory() override
void | addMimeType(const char *mimeType)
void | addMimeType(const Debugger::QString &mimeType)
virtual Debugger::Core::IEditor * | createEditor() = 0
Debugger::QString | displayName() const
Debugger::Core::Id | id() const
Debugger::QStringList | mimeTypes() const
void | setDisplayName(const Debugger::QString &displayName)
void | setId(Debugger::Core::Id id)
void | setMimeTypes(const Debugger::QStringList &mimeTypes)

- 34 public functions inherited from QObject

## Static Public Members

const QList<Debugger::Core::IEditorFactory *> | allEditorFactories()

- 10 static public members inherited from QObject

### Additional Inherited Members

- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject

## Member Function Documentation

### IEditorFactory::IEditorFactory(Debugger::QObject *parent = nullptr)

Default constructs an instance of IEditorFactory.

### `[override virtual]` IEditorFactory::~IEditorFactory()

Destroys the instance of IEditorFactory. The destructor is virtual.

### void IEditorFactory::addMimeType(const char *mimeType)

### void IEditorFactory::addMimeType(const Debugger::QString &mimeType)

### `[static]` const QList<Debugger::Core::IEditorFactory *> IEditorFactory::allEditorFactories()

### `[pure virtual]` Debugger::Core::IEditor *IEditorFactory::createEditor()

### Debugger::QString IEditorFactory::displayName() const

See also setDisplayName().

### Debugger::Core::Id IEditorFactory::id() const

See also setId().

### Debugger::QStringList IEditorFactory::mimeTypes() const

See also setMimeTypes().

### void IEditorFactory::setDisplayName(const Debugger::QString &displayName)

See also displayName().

### void IEditorFactory::setId(Debugger::Core::Id id)

See also id().

### void IEditorFactory::setMimeTypes(const Debugger::QStringList &mimeTypes)

See also mimeTypes().