forked from qt-creator/qt-creator
Maemo: Add support for checking available TCP ports on device.
Reviewed-by: kh1
This commit is contained in:
@@ -51,6 +51,7 @@ namespace Qt4ProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
class MaemoDeviceConfig;
|
||||
class MaemoUsedPortsGatherer;
|
||||
|
||||
/**
|
||||
* A dialog that runs a test of a device configuration.
|
||||
@@ -67,12 +68,15 @@ private slots:
|
||||
void processSshOutput(const QByteArray &output);
|
||||
void handleConnectionError();
|
||||
void handleTestProcessFinished(int exitStatus);
|
||||
void handlePortListReady();
|
||||
void handlePortListFailure(const QString &errMsg);
|
||||
|
||||
private:
|
||||
void startConfigTest();
|
||||
QString parseTestOutput();
|
||||
void handleGeneralTestResult(int exitStatus);
|
||||
void handleMadDeveloperTestResult(int exitStatus);
|
||||
void finish();
|
||||
|
||||
Ui_MaemoConfigTestDialog *m_ui;
|
||||
QPushButton *m_closeButton;
|
||||
@@ -81,6 +85,7 @@ private:
|
||||
QSharedPointer<Core::SshRemoteProcessRunner> m_testProcessRunner;
|
||||
QString m_deviceTestOutput;
|
||||
bool m_qtVersionOk;
|
||||
MaemoUsedPortsGatherer *const m_portsGatherer;
|
||||
|
||||
enum DeviceTest { GeneralTest, MadDeveloperTest };
|
||||
DeviceTest m_currentTest;
|
||||
|
||||
Reference in New Issue
Block a user