玉兔远程控制 0.1.0-bate10
载入中...
搜索中...
未找到
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 = DIRS | FILE
}
 
enum class  ColumnValue {
  Name = 0 , Size , Type , LastModified ,
  Permission , Owner , End
}
 
enum class  State { No , Getting , Ok }
 

Public 成员函数

 CRemoteFileSystem (const QString &szPath, TYPES type)
 
 CRemoteFileSystem (const CRemoteFileSystem &file)
 
QVariant Data (int column)
 
int ChildCount ()
 
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)
 
static int ColumnCount ()
 

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

成员枚举类型说明

◆ 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 第 13 行定义.

构造及析构函数说明

◆ CRemoteFileSystem() [1/2]

CRemoteFileSystem::CRemoteFileSystem ( const QString &  szPath,
TYPES  type 
)
explicit

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

◆ ~CRemoteFileSystem()

CRemoteFileSystem::~CRemoteFileSystem ( )
virtual

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

◆ CRemoteFileSystem() [2/2]

CRemoteFileSystem::CRemoteFileSystem ( const CRemoteFileSystem &  file)

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

成员函数说明

◆ AppendChild()

int CRemoteFileSystem::AppendChild ( CRemoteFileSystem *  pChild)

Append child

注解
Must set all the properties before call them.

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

◆ ChildCount()

int CRemoteFileSystem::ChildCount ( )

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

◆ ColumnCount()

int CRemoteFileSystem::ColumnCount ( )
static

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

◆ Data()

QVariant CRemoteFileSystem::Data ( int  column)

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

◆ GetChild()

CRemoteFileSystem * CRemoteFileSystem::GetChild ( int  nIndex)

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

◆ GetCreateTime()

QDateTime CRemoteFileSystem::GetCreateTime ( )

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

◆ GetLastModified()

QDateTime CRemoteFileSystem::GetLastModified ( )

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

◆ GetName()

QString CRemoteFileSystem::GetName ( )

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

◆ GetOwner()

QString CRemoteFileSystem::GetOwner ( )

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

◆ GetParent()

CRemoteFileSystem * CRemoteFileSystem::GetParent ( )

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

◆ GetPath()

QString CRemoteFileSystem::GetPath ( )

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

◆ GetPermissions()

QFileDevice::Permissions CRemoteFileSystem::GetPermissions ( )

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

◆ GetSize()

quint64 CRemoteFileSystem::GetSize ( )

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

◆ GetState()

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

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

◆ GetType()

CRemoteFileSystem::TYPES CRemoteFileSystem::GetType ( )

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

◆ HeaderData()

QString CRemoteFileSystem::HeaderData ( int  section)
static

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

◆ Icon()

QIcon CRemoteFileSystem::Icon ( )

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

◆ IndexOf() [1/2]

int CRemoteFileSystem::IndexOf ( const QString &  szPath)

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

◆ IndexOf() [2/2]

int CRemoteFileSystem::IndexOf ( CRemoteFileSystem *  pChild)

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

◆ IndexOfParent()

int CRemoteFileSystem::IndexOfParent ( )

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

◆ IsDir()

bool CRemoteFileSystem::IsDir ( )

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

◆ RemoveChild()

int CRemoteFileSystem::RemoveChild ( int  index)

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

◆ SetCreateTime()

void CRemoteFileSystem::SetCreateTime ( const QDateTime &  date)

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

◆ SetLastModified()

void CRemoteFileSystem::SetLastModified ( const QDateTime &  date)

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

◆ SetOwner()

void CRemoteFileSystem::SetOwner ( QString  szOwner)

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

◆ SetParent()

void CRemoteFileSystem::SetParent ( CRemoteFileSystem *  pParent)

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

◆ SetPermissions()

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

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

◆ SetSize()

void CRemoteFileSystem::SetSize ( quint64  size)

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

◆ SetState()

void CRemoteFileSystem::SetState ( State  s)

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

类成员变量说明

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


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