KIO
Go to the documentation of this file.
20 #ifndef KDEVICELISTMODEL_H
21 #define KDEVICELISTMODEL_H
25 #include <QtCore/QAbstractItemModel>
27 #include <solid/device.h>
28 #include <solid/predicate.h>
58 QVariant data(
const QModelIndex &index,
int role)
const;
71 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
76 QModelIndex index(
int row,
int column,
const QModelIndex &parent = QModelIndex())
const;
78 QModelIndex rootIndex()
const;
83 QModelIndex parent(
const QModelIndex &child)
const;
88 int rowCount(
const QModelIndex &parent = QModelIndex())
const;
93 int columnCount(
const QModelIndex &parent = QModelIndex())
const;
95 Solid::Device deviceForIndex(
const QModelIndex& index )
const;
99 void modelInitialized();
102 Q_PRIVATE_SLOT(d,
void _k_initDeviceList())
103 Q_PRIVATE_SLOT(d,
void _k_deviceAdded(
const QString &))
104 Q_PRIVATE_SLOT(d,
void _k_deviceRemoved(
const QString &))
Device list model in Qt's Interview framework.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:02 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.