Const qualifiers for entities, there needed
This commit is contained in:
parent
cff62f91be
commit
ee4b01713f
11 changed files with 27 additions and 27 deletions
|
|
@ -8,15 +8,15 @@ cargo_entity::cargo_entity(const QString &title, unsigned int volume) : _title(t
|
|||
}
|
||||
}
|
||||
|
||||
entity_id cargo_entity::id() {
|
||||
entity_id cargo_entity::id() const {
|
||||
return this->_id;
|
||||
}
|
||||
|
||||
QString cargo_entity::title() {
|
||||
QString cargo_entity::title() const {
|
||||
return this->_title;
|
||||
}
|
||||
|
||||
unsigned int cargo_entity::volume() {
|
||||
unsigned int cargo_entity::volume() const {
|
||||
return this->_volume;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue