diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-18 13:20:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-18 13:20:34 +0300 |
commit | 0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch) | |
tree | aebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/gui/models/userstablemodel.h | |
parent | 4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff) | |
download | manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2 manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz manaplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip |
Add missing override keywords.
Diffstat (limited to 'src/gui/models/userstablemodel.h')
-rw-r--r-- | src/gui/models/userstablemodel.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/models/userstablemodel.h b/src/gui/models/userstablemodel.h index 801ef3595..2f6201024 100644 --- a/src/gui/models/userstablemodel.h +++ b/src/gui/models/userstablemodel.h @@ -70,22 +70,22 @@ class UsersTableModel final : public TableModel, freeWidgets(); } - int getRows() const + int getRows() const override final { return static_cast<int>(mPlayers.size()); } - int getColumns() const + int getColumns() const override final { return COLUMNS_NR; } - int getRowHeight() const + int getRowHeight() const override final { return ROW_HEIGHT; } - int getColumnWidth(const int index) const + int getColumnWidth(const int index) const override final { if (index == NAME_COLUMN) return NAME_COLUMN_WIDTH; @@ -234,7 +234,8 @@ class UsersTableModel final : public TableModel, { } - Widget *getElementAt(const int row, const int column) const + Widget *getElementAt(const int row, + const int column) const override final { return mWidgets[WIDGET_AT(row, column)]; } |