MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / slotGetDir

Method slotGetDir

Plugins/FileTransfer/BackendFileTransfer.cpp:248–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void CBackendFileTransfer::slotGetDir(CRemoteFileSystem *pRemoteFileSystem)
249{
250 if(!pRemoteFileSystem || pRemoteFileSystem->GetPath().isEmpty())
251 return;
252 QString szPath = pRemoteFileSystem->GetPath();
253 CFileTransferEvent* pEvent = new CFileTransferEvent(
254 CFileTransferEvent::Command::GetDir, szPath);
255 pEvent->m_pRemoteFileSystem = (CRemoteFileSystem*) pRemoteFileSystem;
256 QCoreApplication::postEvent(this, pEvent);
257 WakeUp();
258}
259
260void CBackendFileTransfer::slotStartFileTransfer(QSharedPointer<CFileTransfer> f)
261{

Callers 1

eventMethod · 0.45

Calls 2

GetPathMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected