|
void | sigGetDir (CRemoteFileSystem *, QVector< QSharedPointer< CRemoteFileSystem > > contents, bool bEnd) |
|
void | sigFileTransferUpdate (QSharedPointer< CFileTransfer > f) |
|
void | sigRunning () |
| 当插件开始成功后触发。仅由插件触发
|
|
void | sigStop () |
| 需要通知用户停止时触发。仅由插件触发。 当从插件中需要停止时触发。例如:对端断开连接、重置连接或者连接出错。
|
|
void | sigFinished () |
| 停止成功信号。仅由插件触发
|
|
void | sigError (const int nError, const QString &szError=QString()) |
| 当有错误产生时触发
|
|
void | sigInformation (const QString &szInfo) |
| 从后台线程中触发在主线程中显示信息,不阻塞后台线程
|
|
void | sigShowMessageBox (const QString &szTitle, const QString &szMessage, const QMessageBox::Icon &icon=QMessageBox::Information) |
| 从后台线程中触发在主线程中显示消息对话框(QMessageBox),不阻塞后台线程
|
|
void | sigBlockShowMessageBox (const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString()) |
| 阻塞后台线程,并在前台线程中显示消息对话框(QMessageBox)
|
|
void | sigBlockInputDialog (const QString &szTitle, const QString &szLable, const QString &szMessage, QString &szText) |
| 阻塞后台线程,并在前台线程中显示输入对话框 (QInputDialog)
|
|
void | sigBlockShowWidget (const QString &className, int &nRet, void *pContext) |
| 阻塞后台线程,并在前台线程中显示窗口。
|
|
|
virtual OnInitReturnValue | OnInit () override |
| 初始化
|
|
virtual int | OnClean () override |
| 清理
|
|
virtual int | OnProcess () override |
| 具体操作处理
|
|
|
enum class | OnInitReturnValue { Fail = -1
, Success = 0
, UseOnProcess = Success
, NotUseOnProcess = 1
} |
|
virtual void | slotTimeOut () |
| 一个非 Qt 事件处理,它调用 OnProcess(),并根据其返回值开始新的定时器。 如果是不是一个非 Qt 事件循环(就是普通的循环处理), 可以重载它,或者 OnInit() 返回值大于 0
|
|
◆ CBackendFileTransfer()
◆ ~CBackendFileTransfer()
CBackendFileTransfer::~CBackendFileTransfer |
( |
| ) |
|
|
virtual |
◆ event()
bool CBackendFileTransfer::event |
( |
QEvent * |
event | ) |
|
|
overridevirtual |
◆ InitSFTP()
CBackendFileTransfer::OnInitReturnValue CBackendFileTransfer::InitSFTP |
( |
| ) |
|
|
private |
◆ OnClean()
int CBackendFileTransfer::OnClean |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OnInit()
CBackend::OnInitReturnValue CBackendFileTransfer::OnInit |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OnProcess()
int CBackendFileTransfer::OnProcess |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ SetConnect()
◆ slotGetDir
◆ slotMakeDir
void CBackendFileTransfer::slotMakeDir |
( |
const QString & |
szDir | ) |
|
|
privateslot |
◆ slotRemoveDir
void CBackendFileTransfer::slotRemoveDir |
( |
const QString & |
szDir | ) |
|
|
privateslot |
◆ slotRemoveFile
void CBackendFileTransfer::slotRemoveFile |
( |
const QString & |
szFile | ) |
|
|
privateslot |
◆ slotRename
void CBackendFileTransfer::slotRename |
( |
const QString & |
oldName, |
|
|
const QString & |
newName |
|
) |
| |
|
privateslot |
◆ slotStartFileTransfer
void CBackendFileTransfer::slotStartFileTransfer |
( |
QSharedPointer< CFileTransfer > |
f | ) |
|
|
privateslot |
◆ slotStopFileTransfer
void CBackendFileTransfer::slotStopFileTransfer |
( |
QSharedPointer< CFileTransfer > |
f | ) |
|
|
privateslot |
◆ m_pOperate
◆ m_pPara
该类的文档由以下文件生成: