diff options
author | ck <qt-info@nokia.com> | 2010-06-21 11:25:06 +0200 |
---|---|---|
committer | ck <qt-info@nokia.com> | 2010-06-21 11:28:42 +0200 |
commit | a793217c07a2e14cee0633e1b5454c0d0d130a05 (patch) | |
tree | 20f524a017caec26d8b823b5ef24ec16fcfdcc01 /src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.h | |
parent | 13bb14dd3cc7f468ce8f63f576fb886d94c04c36 (diff) | |
download | qt-creator-a793217c07a2e14cee0633e1b5454c0d0d130a05.tar.gz |
Maemo: Prepare unpackaged deployment.
Reviewed-by: kh1
Diffstat (limited to 'src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.h')
-rw-r--r-- | src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.h | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.h b/src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.h index 2b7c9e45b7..e76a859338 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.h +++ b/src/plugins/qt4projectmanager/qt-maemo/maemorunconfiguration.h @@ -69,12 +69,9 @@ public: Qt4Target *qt4Target() const; Qt4BuildConfiguration *activeQt4BuildConfiguration() const; - bool currentlyNeedsDeployment(const QString &host) const; - void wasDeployed(const QString &host); - - bool hasDebuggingHelpers() const; - bool debuggingHelpersNeedDeployment(const QString &host) const; - void debuggingHelpersDeployed(const QString &host); + bool currentlyNeedsDeployment(const QString &host, + const QString &file) const; + void setDeployed(const QString &host, const QString &file); const MaemoPackageCreationStep *packageStep() const; @@ -112,13 +109,8 @@ private: void init(); const QString cmd(const QString &cmdName) const; const MaemoToolChain *toolchain() const; - bool fileNeedsDeployment(const QString &path, const QDateTime &lastDeployed) const; - void addDeployTimesToMap(const QString &key, - const QMap<QString, QDateTime> &deployTimes, - QVariantMap &map) const; - void getDeployTimesFromMap(const QString &key, - QMap<QString, QDateTime> &deployTimes, - const QVariantMap &map); + void addDeployTimesToMap(QVariantMap &map) const; + void getDeployTimesFromMap(const QVariantMap &map); QString m_proFilePath; mutable QString m_gdbPath; @@ -126,9 +118,8 @@ private: MaemoDeviceConfig m_devConfig; QStringList m_arguments; - // These map host names to deploy times. - QMap<QString, QDateTime> m_lastDeployed; - QMap<QString, QDateTime> m_debuggingHelpersLastDeployed; + typedef QPair<QString, QString> DeployablePerHost; + QMap<DeployablePerHost, QDateTime> m_lastDeployed; }; } // namespace Internal |