玉兔远程控制 0.1.0-alpha.2
载入中...
搜索中...
未找到
Public 槽 | 信号 | Public 成员函数 | Private 成员函数 | Private 属性 | 所有成员列表
CRemoteFileSystemModel类 参考
类 CRemoteFileSystemModel 继承关系图:
Inheritance graph
[图例]
CRemoteFileSystemModel 的协作图:
Collaboration graph
[图例]

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.h103 行定义.

构造及析构函数说明

◆ CRemoteFileSystemModel()

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

在文件 RemoteFileSystemModel.cpp308 行定义.

◆ ~CRemoteFileSystemModel()

CRemoteFileSystemModel::~CRemoteFileSystemModel ( )
virtual

在文件 RemoteFileSystemModel.cpp315 行定义.

成员函数说明

◆ canFetchMore()

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

在文件 RemoteFileSystemModel.cpp498 行定义.

◆ columnCount()

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

在文件 RemoteFileSystemModel.cpp391 行定义.

◆ CreateDir()

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

在文件 RemoteFileSystemModel.cpp592 行定义.

◆ data()

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

在文件 RemoteFileSystemModel.cpp403 行定义.

◆ DeleteRemoteFileSystem()

void CRemoteFileSystemModel::DeleteRemoteFileSystem ( CRemoteFileSystem p)
private

在文件 RemoteFileSystemModel.cpp322 行定义.

◆ fetchMore()

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

在文件 RemoteFileSystemModel.cpp520 行定义.

◆ flags()

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

在文件 RemoteFileSystemModel.cpp657 行定义.

◆ GetFilter()

CRemoteFileSystem::TYPES CRemoteFileSystemModel::GetFilter ( )

在文件 RemoteFileSystemModel.cpp362 行定义.

◆ GetRemoteFileSystemFromIndex()

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

在文件 RemoteFileSystemModel.cpp355 行定义.

◆ GetRoot()

CRemoteFileSystem * CRemoteFileSystemModel::GetRoot ( )

在文件 RemoteFileSystemModel.cpp350 行定义.

◆ headerData()

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

在文件 RemoteFileSystemModel.cpp367 行定义.

◆ index() [1/3]

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

在文件 RemoteFileSystemModel.cpp429 行定义.

◆ index() [2/3]

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

在文件 RemoteFileSystemModel.cpp458 行定义.

◆ index() [3/3]

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

在文件 RemoteFileSystemModel.cpp467 行定义.

◆ parent()

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

在文件 RemoteFileSystemModel.cpp484 行定义.

◆ RemoveDir()

void CRemoteFileSystemModel::RemoveDir ( QModelIndex  index)

在文件 RemoteFileSystemModel.cpp610 行定义.

◆ rowCount()

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

在文件 RemoteFileSystemModel.cpp379 行定义.

◆ setData()

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

在文件 RemoteFileSystemModel.cpp633 行定义.

◆ SetRootPath()

QModelIndex CRemoteFileSystemModel::SetRootPath ( const QString &  szPath)

在文件 RemoteFileSystemModel.cpp333 行定义.

◆ slotGetDir

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

在文件 RemoteFileSystemModel.cpp550 行定义.

类成员变量说明

◆ m_Filter

CRemoteFileSystem::TYPES CRemoteFileSystemModel::m_Filter
private

在文件 RemoteFileSystemModel.h153 行定义.

◆ m_GetFolder

QList<CRemoteFileSystem*> CRemoteFileSystemModel::m_GetFolder
private

在文件 RemoteFileSystemModel.h154 行定义.

◆ m_pRoot

CRemoteFileSystem* CRemoteFileSystemModel::m_pRoot
private

在文件 RemoteFileSystemModel.h152 行定义.


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