aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.cpp
diff options
context:
space:
mode:
authorGravatar Grace Karanja <gracie.karanja89@gmail.com>2015-07-10 11:51:44 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-10 06:04:18 -0700
commitebcf3e67c5d2ab59fb69cec2a0fc0c52c0ebd563 (patch)
tree90cc2b142d1802da6014a54ba9c74ec9e288d681 /qt-models/divelistmodel.cpp
parentc4fda447fd9d26f9d4dc9400648ebcbc6c2c9ad7 (diff)
downloadsubsurface-ebcf3e67c5d2ab59fb69cec2a0fc0c52c0ebd563.tar.gz
QML UI: whitespace fix
Fix some whitespace issues in the QMLManager and DiveListModel classes. Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-models/divelistmodel.cpp')
-rw-r--r--qt-models/divelistmodel.cpp26
1 files changed, 22 insertions, 4 deletions
diff --git a/qt-models/divelistmodel.cpp b/qt-models/divelistmodel.cpp
index dfc175ab1..0fb1cbbf9 100644
--- a/qt-models/divelistmodel.cpp
+++ b/qt-models/divelistmodel.cpp
@@ -40,6 +40,7 @@ void MobileDive::setDate(const QString &date)
{
m_date = date;
}
+
QString MobileDive::location() const
{
return m_location;
@@ -49,6 +50,7 @@ void MobileDive::setLocation(const QString &location)
{
m_location = location;
}
+
QString MobileDive::sac() const
{
return m_sac;
@@ -58,6 +60,7 @@ void MobileDive::setSac(const QString &sac)
{
m_sac = sac;
}
+
QString MobileDive::gas() const
{
return m_gas;
@@ -67,6 +70,7 @@ void MobileDive::setGas(const QString &gas)
{
m_gas = gas;
}
+
QString MobileDive::cylinder() const
{
return m_cylinder;
@@ -76,6 +80,7 @@ void MobileDive::setCylinder(const QString &cylinder)
{
m_cylinder = cylinder;
}
+
QString MobileDive::suit() const
{
return m_suit;
@@ -85,6 +90,7 @@ void MobileDive::setSuit(const QString &suit)
{
m_suit = suit;
}
+
QString MobileDive::weight() const
{
return m_weight;
@@ -94,6 +100,7 @@ void MobileDive::setWeight(const QString &weight)
{
m_weight = weight;
}
+
QString MobileDive::airtemp() const
{
return m_airtemp;
@@ -103,6 +110,7 @@ void MobileDive::setAirTemp(const QString &airtemp)
{
m_airtemp = airtemp;
}
+
QString MobileDive::duration() const
{
return m_duration;
@@ -112,6 +120,7 @@ void MobileDive::setDuration(const QString &duration)
{
m_duration = duration;
}
+
QString MobileDive::depth() const
{
return m_depth;
@@ -121,6 +130,7 @@ void MobileDive::setDepth(const QString &depth)
{
m_depth = depth;
}
+
QString MobileDive::rating() const
{
return m_rating;
@@ -130,6 +140,7 @@ void MobileDive::setRating(const QString &rating)
{
m_rating = rating;
}
+
dive *MobileDive::thisDive() const
{
return m_thisDive;
@@ -139,6 +150,7 @@ void MobileDive::setThisDive(dive *thisDive)
{
m_thisDive = thisDive;
}
+
QString MobileDive::diveNumber() const
{
return m_diveNumber;
@@ -148,6 +160,7 @@ void MobileDive::setDiveNumber(const QString &diveNumber)
{
m_diveNumber = diveNumber;
}
+
QString MobileDive::notes() const
{
return m_notes;
@@ -157,6 +170,7 @@ void MobileDive::setNotes(const QString &notes)
{
m_notes = notes;
}
+
QString MobileDive::trip() const
{
return m_trip;
@@ -166,24 +180,27 @@ void MobileDive::setTrip(const QString &trip)
{
m_trip = trip;
}
+
QString MobileDive::buddy() const
{
- return m_buddy;
+ return m_buddy;
}
void MobileDive::setBuddy(const QString &buddy)
{
- m_buddy = buddy;
+ m_buddy = buddy;
}
+
QString MobileDive::divemaster() const
{
- return m_divemaster;
+ return m_divemaster;
}
void MobileDive::setDivemaster(const QString &divemaster)
{
- m_divemaster = divemaster;
+ m_divemaster = divemaster;
}
+
QString MobileDive::watertemp() const
{
return m_watertemp;
@@ -205,6 +222,7 @@ void MobileDive::setupDiveTempDetails()
+
DiveListModel *DiveListModel::m_instance = NULL;
DiveListModel::DiveListModel(QObject *parent) : QAbstractListModel(parent)