summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qmlmanager.h')
-rw-r--r--qt-mobile/qmlmanager.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/qt-mobile/qmlmanager.h b/qt-mobile/qmlmanager.h
index f06ff0868..b53af4d04 100644
--- a/qt-mobile/qmlmanager.h
+++ b/qt-mobile/qmlmanager.h
@@ -50,7 +50,7 @@ public:
void setLoadFromCloud(bool done);
QString startPageText() const;
- void setStartPageText(QString text);
+ void setStartPageText(const QString& text);
QString logText() const;
void setLogText(const QString &logText);
@@ -70,8 +70,11 @@ public slots:
void loadDivesWithValidCredentials();
void loadDiveProgress(int percent);
void provideAuth(QNetworkReply *reply, QAuthenticator *auth);
- QString commitChanges(QString diveId, QString date, QString location, QString gps, QString duration, QString depth,
- QString airtemp, QString watertemp, QString suit, QString buddy, QString diveMaster, QString notes);
+ QString commitChanges(QString diveId,QString date, QString location,
+ QString gps, QString duration, QString depth,
+ QString airtemp, QString watertemp, QString suit,
+ QString buddy, QString diveMaster, QString notes);
+
void saveChanges();
QString addDive();
void applyGpsData();
@@ -80,12 +83,12 @@ public slots:
void populateGpsData();
void clearGpsData();
void finishSetup();
- void showMap(QString location);
- QString getNumber(QString diveId);
- QString getDate(QString diveId);
+ void showMap(const QString& location);
+ QString getNumber(const QString& diveId);
+ QString getDate(const QString& diveId);
QString getCurrentPosition();
- QString getCylinder(QString diveId);
- QString getWeights(QString diveId);
+ QString getCylinder(const QString& diveId);
+ QString getWeights(const QString& diveId);
void deleteGpsFix(quint64 when);
void refreshDiveList();