Trk: Checking result of TrkInstallFile.

This commit is contained in:
Robert Loehning
2009-10-05 19:32:59 +02:00
parent b61969bebb
commit 9f7794a37f
4 changed files with 21 additions and 9 deletions

View File

@@ -630,6 +630,7 @@ void S60DeviceRunControlBase::signsisProcessFinished()
connect(m_launcher, SIGNAL(canNotCreateFile(QString,QString)), this, SLOT(printCreateFileFailed(QString,QString)));
connect(m_launcher, SIGNAL(canNotWriteFile(QString,QString)), this, SLOT(printWriteFileFailed(QString,QString)));
connect(m_launcher, SIGNAL(installingStarted()), this, SLOT(printInstallingNotice()));
connect(m_launcher, SIGNAL(canNotInstall(QString,QString)), this, SLOT(printInstallFailed(QString,QString)));
connect(m_launcher, SIGNAL(copyProgress(int)), this, SLOT(printCopyProgress(int)));
//TODO sisx destination and file path user definable
@@ -676,6 +677,11 @@ void S60DeviceRunControlBase::printInstallingNotice()
emit addToOutputWindow(this, tr("Installing application..."));
}
void S60DeviceRunControlBase::printInstallFailed(const QString &filename, const QString &errorMessage)
{
emit addToOutputWindow(this, tr("Could not install from package %1 on device: %2").arg(filename, errorMessage));
}
void S60DeviceRunControlBase::launcherFinished()
{
m_launcher->deleteLater();