玉兔远程控制 0.1.0-bate11
载入中...
搜索中...
未找到
CRemoteFileSystemModel类 参考
类 CRemoteFileSystemModel 继承关系图:
CRemoteFileSystemModel 的协作图:

Public 槽

void slotGetDir (CRemoteFileSystem *p, QVector< QSharedPointer< CRemoteFileSystem > > contents, bool bEnd)

信号

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)

Public 成员函数

 CRemoteFileSystemModel (QObject *parent=nullptr, CRemoteFileSystem::TYPES filter=CRemoteFileSystem::TYPE::ALL)
QModelIndex SetRootPath (const QString &szPath)
CRemoteFileSystemGetRoot ()
CRemoteFileSystemGetRemoteFileSystemFromIndex (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

Private 成员函数

void DeleteRemoteFileSystem (CRemoteFileSystem *p)

Private 属性

CRemoteFileSystemm_pRoot
CRemoteFileSystem::TYPES m_Filter
QList< CRemoteFileSystem * > m_GetFolder

详细描述

在文件 RemoteFileSystemModel.h106 行定义.

构造及析构函数说明

◆ CRemoteFileSystemModel()

CRemoteFileSystemModel::CRemoteFileSystemModel ( QObject * parent = nullptr,
CRemoteFileSystem::TYPES filter = CRemoteFileSystem::TYPE::ALL )
explicit

在文件 RemoteFileSystemModel.cpp327 行定义.

◆ ~CRemoteFileSystemModel()

CRemoteFileSystemModel::~CRemoteFileSystemModel ( )
virtual

在文件 RemoteFileSystemModel.cpp334 行定义.

成员函数说明

◆ canFetchMore()

bool CRemoteFileSystemModel::canFetchMore ( const QModelIndex & parent) const
overridevirtual

在文件 RemoteFileSystemModel.cpp517 行定义.

◆ columnCount()

int CRemoteFileSystemModel::columnCount ( const QModelIndex & parent = QModelIndex()) const
override

在文件 RemoteFileSystemModel.cpp410 行定义.

◆ CreateDir()

void CRemoteFileSystemModel::CreateDir ( QModelIndex index,
const QString & dir )

在文件 RemoteFileSystemModel.cpp611 行定义.

◆ data()

QVariant CRemoteFileSystemModel::data ( const QModelIndex & index,
int role = Qt::DisplayRole ) const
override

在文件 RemoteFileSystemModel.cpp416 行定义.

◆ DeleteRemoteFileSystem()

void CRemoteFileSystemModel::DeleteRemoteFileSystem ( CRemoteFileSystem * p)
private

在文件 RemoteFileSystemModel.cpp341 行定义.

◆ fetchMore()

void CRemoteFileSystemModel::fetchMore ( const QModelIndex & parent)
overridevirtual

在文件 RemoteFileSystemModel.cpp533 行定义.

◆ flags()

Qt::ItemFlags CRemoteFileSystemModel::flags ( const QModelIndex & index) const
overridevirtual

在文件 RemoteFileSystemModel.cpp688 行定义.

◆ GetFilter()

CRemoteFileSystem::TYPES CRemoteFileSystemModel::GetFilter ( )
nodiscard

在文件 RemoteFileSystemModel.cpp382 行定义.

◆ GetRemoteFileSystemFromIndex()

CRemoteFileSystem * CRemoteFileSystemModel::GetRemoteFileSystemFromIndex ( const QModelIndex & index) const
nodiscard

在文件 RemoteFileSystemModel.cpp375 行定义.

◆ GetRoot()

CRemoteFileSystem * CRemoteFileSystemModel::GetRoot ( )
nodiscard

在文件 RemoteFileSystemModel.cpp370 行定义.

◆ headerData()

QVariant CRemoteFileSystemModel::headerData ( int section,
Qt::Orientation orientation,
int role = Qt::DisplayRole ) const
override

在文件 RemoteFileSystemModel.cpp387 行定义.

◆ index() [1/3]

QModelIndex CRemoteFileSystemModel::index ( const QString & szPath) const
nodiscard

在文件 RemoteFileSystemModel.cpp439 行定义.

◆ index() [2/3]

QModelIndex CRemoteFileSystemModel::index ( CRemoteFileSystem * node,
int column = 0 ) const
nodiscard

在文件 RemoteFileSystemModel.cpp470 行定义.

◆ index() [3/3]

QModelIndex CRemoteFileSystemModel::index ( int row,
int column,
const QModelIndex & parent = QModelIndex() ) const
override

在文件 RemoteFileSystemModel.cpp485 行定义.

◆ parent()

QModelIndex CRemoteFileSystemModel::parent ( const QModelIndex & index) const
override

在文件 RemoteFileSystemModel.cpp503 行定义.

◆ RemoveDir()

void CRemoteFileSystemModel::RemoveDir ( QModelIndex index)

在文件 RemoteFileSystemModel.cpp628 行定义.

◆ rowCount()

int CRemoteFileSystemModel::rowCount ( const QModelIndex & parent = QModelIndex()) const
override

在文件 RemoteFileSystemModel.cpp399 行定义.

◆ setData()

bool CRemoteFileSystemModel::setData ( const QModelIndex & index,
const QVariant & value,
int role )
overridevirtual

在文件 RemoteFileSystemModel.cpp656 行定义.

◆ SetRootPath()

QModelIndex CRemoteFileSystemModel::SetRootPath ( const QString & szPath)

在文件 RemoteFileSystemModel.cpp352 行定义.

◆ slotGetDir

void CRemoteFileSystemModel::slotGetDir ( CRemoteFileSystem * p,
QVector< QSharedPointer< CRemoteFileSystem > > contents,
bool bEnd )
slot

在文件 RemoteFileSystemModel.cpp563 行定义.

类成员变量说明

◆ m_Filter

CRemoteFileSystem::TYPES CRemoteFileSystemModel::m_Filter
private

在文件 RemoteFileSystemModel.h156 行定义.

◆ m_GetFolder

QList<CRemoteFileSystem*> CRemoteFileSystemModel::m_GetFolder
private

在文件 RemoteFileSystemModel.h157 行定义.

◆ m_pRoot

CRemoteFileSystem* CRemoteFileSystemModel::m_pRoot
private

在文件 RemoteFileSystemModel.h155 行定义.


该类的文档由以下文件生成: