Rabbit Remote Control 0.0.37
|
Signals | |
void | sigGetDir (CRemoteFileSystem *, QVector< QSharedPointer< CRemoteFileSystem > > contents, bool bEnd) |
void | sigFileTransferUpdate (QSharedPointer< CFileTransfer > f) |
![]() | |
void | sigRunning () |
Emitted when the plugin is successfully started. | |
void | sigStop () |
Notify the user to stop. | |
void | sigFinished () |
Successful stopped signal. | |
void | sigError (const int nError, const QString &szError=QString()) |
Triggered when an error is generated. | |
void | sigInformation (const QString &szInfo) |
Triggering from a background thread displays information in the main thread without blocking the background thread. | |
void | sigShowMessageBox (const QString &szTitle, const QString &szMessage, const QMessageBox::Icon &icon=QMessageBox::Information) |
Trigger the display of a message dialog (QMessageBox) in the main thread from a background thread without blocking the background thread. | |
void | sigBlockShowMessageBox (const QString &szTitle, const QString &szMessage, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton &nRet, bool &checkBox, QString checkBoxContext=QString()) |
Block background threads and display message dialogs in foreground threads (QMessageBox) | |
void | sigBlockInputDialog (const QString &szTitle, const QString &szLable, const QString &szMessage, QString &szText) |
Block background threads and display input dialogs in foreground threads (QInputDialog) | |
void | sigBlockShowWidget (const QString &className, int &nRet, void *pContext) |
Blocks the background thread and displays the window in the foreground thread. | |
Public Member Functions | |
CBackendFileTransfer (COperateFileTransfer *pOperate) | |
virtual bool | event (QEvent *event) override |
![]() | |
CBackend (COperate *pOperate=nullptr) | |
virtual int | Start () |
Start. | |
virtual int | Stop () |
Stop. | |
virtual int | WakeUp () |
Wake up. | |
Protected Member Functions | |
virtual OnInitReturnValue | OnInit () override |
Initialization. | |
virtual int | OnClean () override |
Clean. | |
virtual int | OnProcess () override |
Specific operation processing of plug-in. | |
Private Slots | |
void | slotMakeDir (const QString &szDir) |
void | slotRemoveDir (const QString &szDir) |
void | slotGetDir (CRemoteFileSystem *) |
void | slotRemoveFile (const QString &szFile) |
void | slotRename (const QString &oldName, const QString &newName) |
void | slotStartFileTransfer (QSharedPointer< CFileTransfer > f) |
void | slotStopFileTransfer (QSharedPointer< CFileTransfer > f) |
Private Member Functions | |
int | SetConnect (COperateFileTransfer *pOperate) |
OnInitReturnValue | InitSFTP () |
Private Attributes | |
COperateFileTransfer * | m_pOperate |
CParameterFileTransfer * | m_pPara |
Additional Inherited Members | |
![]() | |
enum class | OnInitReturnValue { Fail = -1 , Success = 0 , UseOnProcess = Success , NotUseOnProcess = 1 } |
![]() | |
virtual void | slotTimeOut () |
a non-Qt event loop (that is, normal loop processing), It call OnProcess(), and start timer. | |
Definition at line 14 of file BackendFileTransfer.h.
CBackendFileTransfer::CBackendFileTransfer | ( | COperateFileTransfer * | pOperate | ) |
Definition at line 44 of file BackendFileTransfer.cpp.
|
virtual |
Definition at line 58 of file BackendFileTransfer.cpp.
|
overridevirtual |
Definition at line 63 of file BackendFileTransfer.cpp.
|
private |
Definition at line 189 of file BackendFileTransfer.cpp.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Initialization.
Implements CBackend.
Definition at line 121 of file BackendFileTransfer.cpp.
|
overrideprotectedvirtual |
Specific operation processing of plug-in.
Reimplemented from CBackend.
Definition at line 142 of file BackendFileTransfer.cpp.
|
private |
Definition at line 152 of file BackendFileTransfer.cpp.
|
privateslot |
Definition at line 241 of file BackendFileTransfer.cpp.
|
privateslot |
Definition at line 205 of file BackendFileTransfer.cpp.
|
privateslot |
Definition at line 214 of file BackendFileTransfer.cpp.
|
privateslot |
Definition at line 223 of file BackendFileTransfer.cpp.
|
privateslot |
Definition at line 232 of file BackendFileTransfer.cpp.
|
privateslot |
Definition at line 253 of file BackendFileTransfer.cpp.
|
privateslot |
Definition at line 263 of file BackendFileTransfer.cpp.
|
private |
Definition at line 48 of file BackendFileTransfer.h.
|
private |
Definition at line 52 of file BackendFileTransfer.h.