19 #ifndef RQT_MULTIPLOT_PACKAGE_SCHEME_H    20 #define RQT_MULTIPLOT_PACKAGE_SCHEME_H    23 #include <QFileSystemModel>    26 #include <QStringListModel>    36     PackageScheme(QObject* parent = 0, 
const QString& prefix = 
"package",
    37       QDir::Filters filter = QDir::NoFilter);
    45     QVariant 
getHostData(
const QModelIndex& index, 
int role) 
const;
    47     size_t getNumPaths(
const QModelIndex& hostIndex, 
const QModelIndex&
    49     QModelIndex 
getPathIndex(
const QModelIndex& hostIndex, 
size_t row,
    50       const QModelIndex& parent = QModelIndex()) 
const;
    51     QVariant 
getPathData(
const QModelIndex& index, 
int role) 
const;
    53     QString 
getHost(
const QModelIndex& hostIndex) 
const;
    54     QString 
getPath(
const QModelIndex& hostIndex, 
const QModelIndex&
    57     QString 
getFilePath(
const QModelIndex& hostIndex, 
const QModelIndex&
    59     QString 
getFilePath(
const QString& host, 
const QString& path) 
const;
 QVariant getPathData(const QModelIndex &index, int role) const 
QModelIndex getHostIndex(size_t row) const 
QVariant getHostData(const QModelIndex &index, int role) const 
PackageScheme(QObject *parent=0, const QString &prefix="package", QDir::Filters filter=QDir::NoFilter)
QString getFilePath(const QModelIndex &hostIndex, const QModelIndex &pathIndex) const 
QString getPath(const QModelIndex &hostIndex, const QModelIndex &pathIndex) const 
QList< QString > packages_
void setFilter(QDir::Filters filter)
QString getHost(const QModelIndex &hostIndex) const 
size_t getNumHosts() const 
void modelDirectoryLoaded(const QString &path)
QDir::Filters getFilter() const 
QFileSystemModel * fileSystemModel_
QStringListModel * packageListModel_
size_t getNumPaths(const QModelIndex &hostIndex, const QModelIndex &parent) const 
PackageRegistry * registry_
QMap< QString, QString > packagePaths_
void registryUpdateStarted()
void registryUpdateFinished()
QModelIndex getPathIndex(const QModelIndex &hostIndex, size_t row, const QModelIndex &parent=QModelIndex()) const