void AbstractMaemoUploadAndInstallStep::finishInitialization(const QString &displayName, AbstractMaemoPackageInstaller *installer) { setDefaultDisplayName(displayName); m_installer = installer; m_extendedState = Inactive; m_uploader = new MaemoPackageUploader(this); connect(m_uploader, SIGNAL(progress(QString)), SLOT(handleProgressReport(QString))); connect(m_uploader, SIGNAL(uploadFinished(QString)), SLOT(handleUploadFinished(QString))); connect(m_installer, SIGNAL(stdoutData(QString)), SLOT(handleRemoteStdout(QString))); connect(m_installer, SIGNAL(stderrData(QString)), SLOT(handleRemoteStderr(QString))); connect(m_installer, SIGNAL(finished(QString)), SLOT(handleInstallationFinished(QString))); }
MaemoDebianPackageInstaller::MaemoDebianPackageInstaller(QObject *parent) : AbstractRemoteLinuxPackageInstaller(parent) { connect(this, SIGNAL(stderrData(QString)), SLOT(handleInstallerErrorOutput(QString))); }
void ChildProcessContext::_readyReadStandardError() { QByteArray bytes = m_proc.readAllStandardError(); emit stderrData(m_encoding.decode(bytes)); }