19 #ifndef RQT_MULTIPLOT_URL_ITEM_MODEL_H 20 #define RQT_MULTIPLOT_URL_ITEM_MODEL_H 22 #include <QAbstractItemModel> 30 public QAbstractItemModel {
37 QString
getFilePath(
const QModelIndex& index)
const;
45 QVariant
data(
const QModelIndex& index,
int role)
const;
46 QModelIndex
index(
int row,
int column,
const QModelIndex& parent)
const;
47 QModelIndex
parent(
const QModelIndex& index)
const;
void urlLoaded(const QString &url)
void schemeResetFinished()
QModelIndex index(int row, int column, const QModelIndex &parent) const
QList< UrlItem * > schemeItems_
UrlItemModel(QObject *parent=0)
QString getFilePath(const QModelIndex &index) const
QString getUrl(const QModelIndex &index) const
UrlScheme * getScheme(const QModelIndex &index) const
QList< UrlScheme * > schemes_
int rowCount(const QModelIndex &parent) const
void schemePathLoaded(const QString &host, const QString &path)
int columnCount(const QModelIndex &parent) const
void addScheme(UrlScheme *scheme)
QVariant data(const QModelIndex &index, int role) const
QModelIndex parent(const QModelIndex &index) const
void schemeResetStarted()