#include <CatalogListModel.hxx>
Inherits QAbstractListModel.
Definition at line 46 of file CatalogListModel.hxx.
◆ CatalogStatus
Enumerator |
---|
Ok | |
Refreshing | |
NetworkError | |
NotFoundOnServer | |
IncompatibleVersion | |
HTTPForbidden | |
InvalidData | |
UnknownError | |
NoAddInProgress | |
Definition at line 82 of file CatalogListModel.hxx.
◆ CatalogListModel()
CatalogListModel::CatalogListModel |
( |
QObject * | pr, |
|
|
const simgear::pkg::RootRef & | root ) |
◆ ~CatalogListModel()
CatalogListModel::~CatalogListModel |
( |
| ) |
|
◆ abandonAddCatalog()
void CatalogListModel::abandonAddCatalog |
( |
| ) |
|
◆ addCatalogByUrl()
void CatalogListModel::addCatalogByUrl |
( |
QUrl | url | ) |
|
◆ catalogsChanged
void CatalogListModel::catalogsChanged |
( |
| ) |
|
|
signal |
◆ data()
QVariant CatalogListModel::data |
( |
const QModelIndex & | index, |
|
|
int | role ) const |
|
override |
◆ finalizeAddCatalog()
void CatalogListModel::finalizeAddCatalog |
( |
| ) |
|
◆ flags()
Qt::ItemFlags CatalogListModel::flags |
( |
const QModelIndex & | index | ) |
const |
|
override |
◆ installDefaultCatalog()
void CatalogListModel::installDefaultCatalog |
( |
bool | showAddFeedback | ) |
|
◆ isAddingCatalog()
bool CatalogListModel::isAddingCatalog |
( |
| ) |
const |
◆ isAddingCatalogChanged
void CatalogListModel::isAddingCatalogChanged |
( |
| ) |
|
|
signal |
◆ onCatalogStatusChanged()
void CatalogListModel::onCatalogStatusChanged |
( |
simgear::pkg::Catalog * | cat | ) |
|
◆ refreshCatalog()
void CatalogListModel::refreshCatalog |
( |
int | index | ) |
|
◆ removeCatalog()
void CatalogListModel::removeCatalog |
( |
int | index | ) |
|
◆ resetData
void CatalogListModel::resetData |
( |
| ) |
|
|
slot |
◆ roleNames()
QHash< int, QByteArray > CatalogListModel::roleNames |
( |
| ) |
const |
|
override |
◆ rowCount()
int CatalogListModel::rowCount |
( |
const QModelIndex & | parent | ) |
const |
|
override |
◆ setData()
bool CatalogListModel::setData |
( |
const QModelIndex & | index, |
|
|
const QVariant & | value, |
|
|
int | role ) |
|
override |
◆ statusOfAddingCatalog()
◆ statusOfAddingCatalogChanged
void CatalogListModel::statusOfAddingCatalogChanged |
( |
| ) |
|
|
signal |
◆ isAddingCatalog
bool CatalogListModel::isAddingCatalog |
|
read |
◆ statusOfAddingCatalog
The documentation for this class was generated from the following files: