Extending Qt Creator Manual | DocumentModel

Extending Qt Creator Manual 4.7.0

# DocumentModel Class

(Debugger::Core::DocumentModel)

- List of all members, including inherited members

## Public Types

class | Entry

## Static Public Members

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

## Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

### `[static]` Utils::optional<int> DocumentModel::indexOfDocument(Debugger::Core::IDocument *document)

### `[static]` Utils::optional<int> DocumentModel::indexOfFilePath(const Utils::FileName &filePath)

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

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

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

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

### `[static]` Utils::optional<int> DocumentModel::rowOfDocument(Debugger::Core::IDocument *document)