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

Public 类型

enum class  TYPE {
  NO = 0x00 , FILE = 0x01 , DRIVE = 0x02 , DIR = 0x04 ,
  SYMLINK = 0x08 , SPECIAL = 0x10 , DIRS = DRIVE | DIR | SYMLINK | SPECIAL , ALL = DRIVE | DIR | FILE | SYMLINK | SPECIAL
}
 
enum class  ColumnValue {
  Name = 0 , Size , Type , LastModified ,
  Permission , Owner , End
}
 
enum class  State { No , Getting , Ok }
 

Public 成员函数

 CRemoteFileSystem (const QString &szPath, TYPES type)
 
QVariant Data (int column)
 
int ChildCount ()
 
int ColumnCount ()
 
void SetParent (CRemoteFileSystem *pParent)
 
int AppendChild (CRemoteFileSystem *pChild)
 Append child
 
int RemoveChild (int index)
 
CRemoteFileSystem * GetChild (int nIndex)
 
CRemoteFileSystem * GetParent ()
 
int IndexOf (CRemoteFileSystem *pChild)
 
int IndexOf (const QString &szPath)
 
int IndexOfParent ()
 
const State GetState () const
 
void SetState (State s)
 
QString GetPath ()
 
QString GetName ()
 
quint64 GetSize ()
 
void SetSize (quint64 size)
 
TYPES GetType ()
 
bool IsDir ()
 
QIcon Icon ()
 
QDateTime GetCreateTime ()
 
void SetCreateTime (const QDateTime &date)
 
QDateTime GetLastModified ()
 
void SetLastModified (const QDateTime &date)
 
void SetPermissions (QFileDevice::Permissions privileges)
 
QFileDevice::Permissions GetPermissions ()
 
QString GetOwner ()
 
void SetOwner (QString szOwner)
 

静态 Public 成员函数

static QString HeaderData (int section)
 

Private 属性

CRemoteFileSystem * m_pParent
 
QVector< CRemoteFileSystem * > m_vChild
 
QString m_szPath
 
quint64 m_nSize
 
TYPES m_Type
 
QDateTime m_createTime
 
QDateTime m_lastModifed
 
QFileDevice::Permissions m_Permissions
 
QString m_szOwner
 
State m_State
 

详细描述

在文件 RemoteFileSystemModel.h 第 10 行定义.

成员枚举类型说明

◆ ColumnValue

enum class CRemoteFileSystem::ColumnValue
strong

在文件 RemoteFileSystemModel.h 第 31 行定义.

◆ State

enum class CRemoteFileSystem::State
strong

在文件 RemoteFileSystemModel.h 第 60 行定义.

◆ TYPE

enum class CRemoteFileSystem::TYPE
strong

在文件 RemoteFileSystemModel.h 第 14 行定义.

构造及析构函数说明

◆ ~CRemoteFileSystem()

CRemoteFileSystem::~CRemoteFileSystem ( )
virtual

在文件 RemoteFileSystemModel.cpp 第 31 行定义.

成员函数说明

◆ AppendChild()

int CRemoteFileSystem::AppendChild ( CRemoteFileSystem *  pChild)

Append child

注解
Must set all the properties before call them.

在文件 RemoteFileSystemModel.cpp 第 148 行定义.

◆ ChildCount()

int CRemoteFileSystem::ChildCount ( )

在文件 RemoteFileSystemModel.cpp 第 133 行定义.

◆ ColumnCount()

int CRemoteFileSystem::ColumnCount ( )

在文件 RemoteFileSystemModel.cpp 第 124 行定义.

◆ Data()

QVariant CRemoteFileSystem::Data ( int  column)

在文件 RemoteFileSystemModel.cpp 第 61 行定义.

◆ GetChild()

CRemoteFileSystem * CRemoteFileSystem::GetChild ( int  nIndex)

在文件 RemoteFileSystemModel.cpp 第 175 行定义.

◆ GetCreateTime()

QDateTime CRemoteFileSystem::GetCreateTime ( )

在文件 RemoteFileSystemModel.cpp 第 258 行定义.

◆ GetLastModified()

QDateTime CRemoteFileSystem::GetLastModified ( )

在文件 RemoteFileSystemModel.cpp 第 268 行定义.

◆ GetName()

QString CRemoteFileSystem::GetName ( )

在文件 RemoteFileSystemModel.cpp 第 210 行定义.

◆ GetOwner()

QString CRemoteFileSystem::GetOwner ( )

在文件 RemoteFileSystemModel.cpp 第 288 行定义.

◆ GetParent()

CRemoteFileSystem * CRemoteFileSystem::GetParent ( )

在文件 RemoteFileSystemModel.cpp 第 143 行定义.

◆ GetPath()

QString CRemoteFileSystem::GetPath ( )

在文件 RemoteFileSystemModel.cpp 第 205 行定义.

◆ GetPermissions()

QFileDevice::Permissions CRemoteFileSystem::GetPermissions ( )

在文件 RemoteFileSystemModel.cpp 第 278 行定义.

◆ GetSize()

quint64 CRemoteFileSystem::GetSize ( )

在文件 RemoteFileSystemModel.cpp 第 225 行定义.

◆ GetState()

const CRemoteFileSystem::State CRemoteFileSystem::GetState ( ) const

在文件 RemoteFileSystemModel.cpp 第 303 行定义.

◆ GetType()

CRemoteFileSystem::TYPES CRemoteFileSystem::GetType ( )

在文件 RemoteFileSystemModel.cpp 第 253 行定义.

◆ HeaderData()

QString CRemoteFileSystem::HeaderData ( int  section)
static

在文件 RemoteFileSystemModel.cpp 第 103 行定义.

◆ Icon()

QIcon CRemoteFileSystem::Icon ( )

在文件 RemoteFileSystemModel.cpp 第 240 行定义.

◆ IndexOf() [1/2]

int CRemoteFileSystem::IndexOf ( const QString &  szPath)

在文件 RemoteFileSystemModel.cpp 第 187 行定义.

◆ IndexOf() [2/2]

int CRemoteFileSystem::IndexOf ( CRemoteFileSystem *  pChild)

在文件 RemoteFileSystemModel.cpp 第 182 行定义.

◆ IndexOfParent()

int CRemoteFileSystem::IndexOfParent ( )

在文件 RemoteFileSystemModel.cpp 第 197 行定义.

◆ IsDir()

bool CRemoteFileSystem::IsDir ( )

在文件 RemoteFileSystemModel.cpp 第 235 行定义.

◆ RemoveChild()

int CRemoteFileSystem::RemoveChild ( int  index)

在文件 RemoteFileSystemModel.cpp 第 167 行定义.

◆ SetCreateTime()

void CRemoteFileSystem::SetCreateTime ( const QDateTime &  date)

在文件 RemoteFileSystemModel.cpp 第 263 行定义.

◆ SetLastModified()

void CRemoteFileSystem::SetLastModified ( const QDateTime &  date)

在文件 RemoteFileSystemModel.cpp 第 273 行定义.

◆ SetOwner()

void CRemoteFileSystem::SetOwner ( QString  szOwner)

在文件 RemoteFileSystemModel.cpp 第 293 行定义.

◆ SetParent()

void CRemoteFileSystem::SetParent ( CRemoteFileSystem *  pParent)

在文件 RemoteFileSystemModel.cpp 第 138 行定义.

◆ SetPermissions()

void CRemoteFileSystem::SetPermissions ( QFileDevice::Permissions  privileges)

在文件 RemoteFileSystemModel.cpp 第 283 行定义.

◆ SetSize()

void CRemoteFileSystem::SetSize ( quint64  size)

在文件 RemoteFileSystemModel.cpp 第 230 行定义.

◆ SetState()

void CRemoteFileSystem::SetState ( State  s)

在文件 RemoteFileSystemModel.cpp 第 298 行定义.

类成员变量说明

◆ m_createTime

QDateTime CRemoteFileSystem::m_createTime
private

在文件 RemoteFileSystemModel.h 第 96 行定义.

◆ m_lastModifed

QDateTime CRemoteFileSystem::m_lastModifed
private

在文件 RemoteFileSystemModel.h 第 97 行定义.

◆ m_nSize

quint64 CRemoteFileSystem::m_nSize
private

在文件 RemoteFileSystemModel.h 第 94 行定义.

◆ m_Permissions

QFileDevice::Permissions CRemoteFileSystem::m_Permissions
private

在文件 RemoteFileSystemModel.h 第 98 行定义.

◆ m_pParent

CRemoteFileSystem* CRemoteFileSystem::m_pParent
private

在文件 RemoteFileSystemModel.h 第 91 行定义.

◆ m_State

State CRemoteFileSystem::m_State
private

在文件 RemoteFileSystemModel.h 第 100 行定义.

◆ m_szOwner

QString CRemoteFileSystem::m_szOwner
private

在文件 RemoteFileSystemModel.h 第 99 行定义.

◆ m_szPath

QString CRemoteFileSystem::m_szPath
private

在文件 RemoteFileSystemModel.h 第 93 行定义.

◆ m_Type

TYPES CRemoteFileSystem::m_Type
private

在文件 RemoteFileSystemModel.h 第 95 行定义.

◆ m_vChild

QVector<CRemoteFileSystem*> CRemoteFileSystem::m_vChild
private

在文件 RemoteFileSystemModel.h 第 92 行定义.


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