bool MaemoSshDeployer::runInternal() { createConnection(); if (!m_connection->start()) return false; if (stopRequested()) return true; connect(m_connection.data(), SIGNAL(fileCopied(QString)), this, SIGNAL(fileCopied(QString))); return m_connection->transferFiles(m_deploySpecs); }
void Copy::slotPostFinished(QNetworkReply *reply) { // NetworkManager::slotPostFinished(reply); if(sourcesData.isEmpty()) { emit fileCopied(sourceData, true); updatePanelContent(true); } else { emit fileCopied(sourceData); file(sourcesData.takeFirst(), destFolder); } }