|
void | sigGetDir (CRemoteFileSystem *p) |
|
void | sigMakeDir (const QString &dir) |
|
void | sigRemoveDir (const QString &szPath) |
|
void | sigRemoveFile (const QString &szFile) |
|
void | sigRename (const QString &oldName, const QString &newName) |
|
|
| CRemoteFileSystemModel (QObject *parent=nullptr, CRemoteFileSystem::TYPES filter=CRemoteFileSystem::TYPE::ALL) |
|
QModelIndex | SetRootPath (const QString &szPath) |
|
CRemoteFileSystem * | GetRoot () |
|
CRemoteFileSystem * | GetRemoteFileSystemFromIndex (const QModelIndex &index) const |
|
CRemoteFileSystem::TYPES | GetFilter () |
|
void | CreateDir (QModelIndex index, const QString &dir) |
|
void | RemoveDir (QModelIndex index) |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
|
QModelIndex | index (CRemoteFileSystem *node, int column=0) const |
|
QModelIndex | index (const QString &szPath) const |
|
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
|
QModelIndex | parent (const QModelIndex &index) const override |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
virtual Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role) override |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
|
virtual void | fetchMore (const QModelIndex &parent) override |
|
virtual bool | canFetchMore (const QModelIndex &parent) const override |
|
Definition at line 103 of file RemoteFileSystemModel.h.
◆ CRemoteFileSystemModel()
CRemoteFileSystemModel::CRemoteFileSystemModel |
( |
QObject * |
parent = nullptr , |
|
|
CRemoteFileSystem::TYPES |
filter = CRemoteFileSystem::TYPE::ALL |
|
) |
| |
|
explicit |
◆ ~CRemoteFileSystemModel()
CRemoteFileSystemModel::~CRemoteFileSystemModel |
( |
| ) |
|
|
virtual |
◆ canFetchMore()
bool CRemoteFileSystemModel::canFetchMore |
( |
const QModelIndex & |
parent | ) |
const |
|
overridevirtual |
◆ columnCount()
int CRemoteFileSystemModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ CreateDir()
void CRemoteFileSystemModel::CreateDir |
( |
QModelIndex |
index, |
|
|
const QString & |
dir |
|
) |
| |
◆ data()
QVariant CRemoteFileSystemModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ DeleteRemoteFileSystem()
◆ fetchMore()
void CRemoteFileSystemModel::fetchMore |
( |
const QModelIndex & |
parent | ) |
|
|
overridevirtual |
◆ flags()
Qt::ItemFlags CRemoteFileSystemModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
overridevirtual |
◆ GetFilter()
CRemoteFileSystem::TYPES CRemoteFileSystemModel::GetFilter |
( |
| ) |
|
◆ GetRemoteFileSystemFromIndex()
CRemoteFileSystem * CRemoteFileSystemModel::GetRemoteFileSystemFromIndex |
( |
const QModelIndex & |
index | ) |
const |
◆ GetRoot()
◆ headerData()
QVariant CRemoteFileSystemModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ index() [1/3]
QModelIndex CRemoteFileSystemModel::index |
( |
const QString & |
szPath | ) |
const |
◆ index() [2/3]
QModelIndex CRemoteFileSystemModel::index |
( |
CRemoteFileSystem * |
node, |
|
|
int |
column = 0 |
|
) |
| const |
◆ index() [3/3]
QModelIndex CRemoteFileSystemModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
override |
◆ parent()
QModelIndex CRemoteFileSystemModel::parent |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ RemoveDir()
void CRemoteFileSystemModel::RemoveDir |
( |
QModelIndex |
index | ) |
|
◆ rowCount()
int CRemoteFileSystemModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ setData()
bool CRemoteFileSystemModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
overridevirtual |
◆ SetRootPath()
QModelIndex CRemoteFileSystemModel::SetRootPath |
( |
const QString & |
szPath | ) |
|
◆ slotGetDir
◆ m_Filter
CRemoteFileSystem::TYPES CRemoteFileSystemModel::m_Filter |
|
private |
◆ m_GetFolder
◆ m_pRoot
The documentation for this class was generated from the following files: