#include <BatchImportModel.hpp>
|
| const std::vector< GameImportData > & | getData () const |
| |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
| |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
| |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
| |
| void | sort (int idx, Qt::SortOrder order=Qt::AscendingOrder) override |
| |
| bool | removeRows (int row, int count, const QModelIndex &parent={}) override |
| |
| void | clearData () |
| |
| bool | isGood () const |
| | Returns true if we are okay to import.
|
| |
◆ ImportColumns
| Enumerator |
|---|
| TITLE | |
| CREATOR | |
| ENGINE | |
| VERSION | |
| EXECUTABLE | |
| SIZE | |
| FOLDER_PATH | |
| COLUMNS_MAX | |
| IS_CONFLICTING | |
◆ Roles
| Enumerator |
|---|
| ExecutablesEditRole | |
| TitleIcons | |
◆ addGame
◆ addGames
◆ clearData()
| void BatchImportModel::clearData |
( |
| ) |
|
◆ columnCount()
| int BatchImportModel::columnCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
override |
◆ data()
| QVariant BatchImportModel::data |
( |
const QModelIndex & | index, |
|
|
int | role = Qt::DisplayRole ) const |
|
override |
◆ flags()
| Qt::ItemFlags BatchImportModel::flags |
( |
const QModelIndex & | index | ) |
const |
|
override |
◆ getData()
| const std::vector< GameImportData > & BatchImportModel::getData |
( |
| ) |
const |
|
inline |
◆ headerData()
| QVariant BatchImportModel::headerData |
( |
int | section, |
|
|
Qt::Orientation | orientation, |
|
|
int | role ) const |
|
override |
◆ isGood()
| bool BatchImportModel::isGood |
( |
| ) |
const |
Returns true if we are okay to import.
◆ removeRows()
| bool BatchImportModel::removeRows |
( |
int | row, |
|
|
int | count, |
|
|
const QModelIndex & | parent = {} ) |
|
override |
◆ rowCount()
| int BatchImportModel::rowCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
override |
◆ setData()
| bool BatchImportModel::setData |
( |
const QModelIndex & | index, |
|
|
const QVariant & | value, |
|
|
int | role = Qt::EditRole ) |
|
override |
◆ sort()
| void BatchImportModel::sort |
( |
int | idx, |
|
|
Qt::SortOrder | order = Qt::AscendingOrder ) |
|
override |
◆ BatchImportDelegate
◆ m_data
The documentation for this class was generated from the following files: