Maemo: Make deploy mount port user-settable.

This commit is contained in:
qt-info@nokia.com
2010-08-12 10:31:52 +02:00
committed by ck
parent db5a61d3cf
commit 724ecfcafb
7 changed files with 89 additions and 21 deletions

View File

@@ -81,6 +81,10 @@ public:
const MaemoDeployable &deployable) const;
void setDeployed(const QString &host, const MaemoDeployable &deployable);
MaemoDeployables *deployables() const { return m_deployables; }
#ifdef DEPLOY_VIA_MOUNT
int mountPort() const { return m_mountPort; }
void setMountPort(int port) { m_mountPort = port; }
#endif
signals:
void done();
@@ -146,6 +150,7 @@ private:
MaemoRemoteMounter *m_mounter;
QTimer *m_cleanupTimer;
bool m_canStart;
int m_mountPort;
#else
QSharedPointer<Core::SftpChannel> m_uploader;
typedef QPair<MaemoDeployable, QString> DeployInfo;