forked from qt-creator/qt-creator
Reporting failed Trk-connect.
This commit is contained in:
@@ -670,6 +670,7 @@ void S60DeviceRunControlBase::signsisProcessFinished()
|
|||||||
}
|
}
|
||||||
m_launcher = new trk::Launcher();
|
m_launcher = new trk::Launcher();
|
||||||
connect(m_launcher, SIGNAL(finished()), this, SLOT(launcherFinished()));
|
connect(m_launcher, SIGNAL(finished()), this, SLOT(launcherFinished()));
|
||||||
|
connect(m_launcher, SIGNAL(canNotConnect(QString)), this, SLOT(printConnectFailed(QString)));
|
||||||
connect(m_launcher, SIGNAL(copyingStarted()), this, SLOT(printCopyingNotice()));
|
connect(m_launcher, SIGNAL(copyingStarted()), this, SLOT(printCopyingNotice()));
|
||||||
connect(m_launcher, SIGNAL(canNotCreateFile(QString,QString)), this, SLOT(printCreateFileFailed(QString,QString)));
|
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(canNotWriteFile(QString,QString)), this, SLOT(printWriteFileFailed(QString,QString)));
|
||||||
@@ -713,6 +714,11 @@ void S60DeviceRunControlBase::printCloseFileFailed(const QString &filename, cons
|
|||||||
emit addToOutputWindow(this, msg.arg(filename, errorMessage));
|
emit addToOutputWindow(this, msg.arg(filename, errorMessage));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void S60DeviceRunControlBase::printConnectFailed(const QString &errorMessage)
|
||||||
|
{
|
||||||
|
emit addToOutputWindow(this, tr("Could not connect to App TRK on device: %1. Restarting App TRK might help.").arg(errorMessage));
|
||||||
|
}
|
||||||
|
|
||||||
void S60DeviceRunControlBase::printCopyingNotice()
|
void S60DeviceRunControlBase::printCopyingNotice()
|
||||||
{
|
{
|
||||||
emit addToOutputWindow(this, tr("Copying install file..."));
|
emit addToOutputWindow(this, tr("Copying install file..."));
|
||||||
|
@@ -180,6 +180,7 @@ private slots:
|
|||||||
void makesisProcessFinished();
|
void makesisProcessFinished();
|
||||||
void signsisProcessFailed();
|
void signsisProcessFailed();
|
||||||
void signsisProcessFinished();
|
void signsisProcessFinished();
|
||||||
|
void printConnectFailed(const QString &errorMessage);
|
||||||
void printCopyingNotice();
|
void printCopyingNotice();
|
||||||
void printCreateFileFailed(const QString &filename, const QString &errorMessage);
|
void printCreateFileFailed(const QString &filename, const QString &errorMessage);
|
||||||
void printWriteFileFailed(const QString &filename, const QString &errorMessage);
|
void printWriteFileFailed(const QString &filename, const QString &errorMessage);
|
||||||
|
Reference in New Issue
Block a user