Browse Source

QGCMapEngineData: Add missing const in member functions

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
QGC4.4
Patrick José Pereira 4 years ago committed by Don Gagne
parent
commit
8d5a70bf15
  1. 16
      src/QtLocationPlugin/QGCMapEngineData.h

16
src/QtLocationPlugin/QGCMapEngineData.h

@ -89,7 +89,7 @@ public:
, _hash(hash) , _hash(hash)
{ {
} }
qulonglong set () { return _set; } qulonglong set () const{ return _set; }
QString hash () { return _hash; } QString hash () { return _hash; }
QByteArray img () { return _img; } QByteArray img () { return _img; }
QString format () { return _format;} QString format () { return _format;}
@ -264,8 +264,8 @@ public:
, _count(count) , _count(count)
{} {}
qulonglong setID() { return _setID; } qulonglong setID() const{ return _setID; }
int count() { return _count; } int count() const{ return _count; }
void setTileListFetched(QList<QGCTile*> tiles) void setTileListFetched(QList<QGCTile*> tiles)
{ {
@ -293,7 +293,7 @@ public:
{} {}
QString hash () { return _hash; } QString hash () { return _hash; }
qulonglong setID () { return _setID; } qulonglong setID () const{ return _setID; }
QGCTile::TyleState state () { return _state; } QGCTile::TyleState state () { return _state; }
private: private:
@ -312,7 +312,7 @@ public:
, _setID(setID) , _setID(setID)
{} {}
qulonglong setID() { return _setID; } qulonglong setID() const{ return _setID; }
void setTileSetDeleted() void setTileSetDeleted()
{ {
@ -337,7 +337,7 @@ public:
, _newName(newName) , _newName(newName)
{} {}
qulonglong setID () { return _setID; } qulonglong setID () const{ return _setID; }
QString newName () { return _newName; } QString newName () { return _newName; }
private: private:
@ -355,7 +355,7 @@ public:
, _amount(amount) , _amount(amount)
{} {}
quint64 amount() { return _amount; } quint64 amount() const{ return _amount; }
void setPruned() void setPruned()
{ {
@ -441,7 +441,7 @@ public:
} }
QString path () { return _path; } QString path () { return _path; }
bool replace () { return _replace; } bool replace () const{ return _replace; }
void setImportCompleted() void setImportCompleted()
{ {

Loading…
Cancel
Save