| 246 | } |
| 247 | |
| 248 | void 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 | |
| 260 | void CBackendFileTransfer::slotStartFileTransfer(QSharedPointer<CFileTransfer> f) |
| 261 | { |