Extending Qt Creator Manual | DocumentModel

Extending Qt Creator Manual 4.5.2

# DocumentModel Class

(Core::DocumentModel)

- List of all members, including inherited members

## Public Types

class | Entry

## Static Public Members

void | destroy()
IDocument * | documentForFilePath(const QString &filePath)
QList<IEditor *> | editorsForDocument(IDocument *document)
QList<IEditor *> | editorsForDocuments(const QList<IDocument *> &entries)
QList<IEditor *> | editorsForFilePath(const QString &filePath)
QList<IEditor *> | editorsForOpenedDocuments()
QList<Entry *> | entries()
Entry * | entryAtRow(int row)
int | entryCount()
Entry * | entryForDocument(IDocument *document)
Entry * | entryForFilePath(const Utils::FileName &filePath)
int | indexOfDocument(IDocument *document)
void | init()
QIcon | lockedIcon()
QAbstractItemModel * | model()
QList<IDocument *> | openedDocuments()
int | rowOfDocument(IDocument *document)

## Member Function Documentation

### `[static]` void DocumentModel::destroy()

### `[static]` IDocument *DocumentModel::documentForFilePath(const QString &filePath)

### `[static]` QList<IEditor *> DocumentModel::editorsForDocument(IDocument *document)

### `[static]` QList<IEditor *> DocumentModel::editorsForDocuments(const QList<IDocument *> &entries)

### `[static]` QList<IEditor *> DocumentModel::editorsForFilePath(const QString &filePath)

### `[static]` QList<IEditor *> DocumentModel::editorsForOpenedDocuments()

### `[static]` QList<Entry *> DocumentModel::entries()

### `[static]` Entry *DocumentModel::entryAtRow(int row)

### `[static]` int DocumentModel::entryCount()

### `[static]` Entry *DocumentModel::entryForDocument(IDocument *document)

### `[static]` Entry *DocumentModel::entryForFilePath(const Utils::FileName &filePath)

### `[static]` int DocumentModel::indexOfDocument(IDocument *document)

### `[static]` void DocumentModel::init()

### `[static]` QIcon DocumentModel::lockedIcon()

### `[static]` QAbstractItemModel *DocumentModel::model()

### `[static]` QList<IDocument *> DocumentModel::openedDocuments()

### `[static]` int DocumentModel::rowOfDocument(IDocument *document)