#include <dirmodel.qo.h>
|
| DirModel (QDir *data, QObject *parent=0) |
|
| ~DirModel () |
|
QVariant | data (const QModelIndex &index, int role) const |
|
Qt::ItemFlags | flags (const QModelIndex &index) const |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
|
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
|
QModelIndex | parent (const QModelIndex &index) const |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
|
void | writeData (QTextStream &os) |
|
QString | stringData () |
|
QString | stringData (int row) |
|
bool | insert (int, const QString &) |
|
virtual bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
|
virtual bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
|
void | appendData (const QString &lines) |
|
QStringList | fileType (const QString pathname) |
|
void | goTo (QDir *) |
|
|
static const QStringList | cols |
|
static const QColor | colors [24] |
|
Definition at line 44 of file dirmodel.qo.h.
casa::DirModel::DirModel |
( |
QDir * |
data, |
|
|
QObject * |
parent = 0 |
|
) |
| |
casa::DirModel::~DirModel |
( |
| ) |
|
void casa::DirModel::appendData |
( |
const QString & |
lines | ) |
|
int casa::DirModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
QVariant casa::DirModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
QStringList casa::DirModel::fileType |
( |
const QString |
pathname | ) |
|
Qt::ItemFlags casa::DirModel::flags |
( |
const QModelIndex & |
index | ) |
const |
void casa::DirModel::goTo |
( |
QDir * |
| ) |
|
QVariant casa::DirModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
QModelIndex casa::DirModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
bool casa::DirModel::insert |
( |
int |
, |
|
|
const QString & |
|
|
) |
| |
virtual bool casa::DirModel::insertRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| |
|
virtual |
QColor casa::DirModel::itemColor |
( |
const DirItem * |
| ) |
|
|
private |
QModelIndex casa::DirModel::parent |
( |
const QModelIndex & |
index | ) |
const |
virtual bool casa::DirModel::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| |
|
virtual |
int casa::DirModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
void casa::DirModel::searchKeyChanged |
( |
const QString & |
key = "" | ) |
|
|
slot |
void casa::DirModel::setupModelData |
( |
QDir * |
lines, |
|
|
DirItem * |
parent |
|
) |
| |
|
private |
QString casa::DirModel::stringData |
( |
| ) |
|
QString casa::DirModel::stringData |
( |
int |
row | ) |
|
void casa::DirModel::writeData |
( |
QTextStream & |
os | ) |
|
const QColor casa::DirModel::colors[24] |
|
static |
const QStringList casa::DirModel::cols |
|
static |
DirItem* casa::DirModel::insertItem |
|
private |
QString casa::DirModel::searchKey |
|
private |
The documentation for this class was generated from the following file: