summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-20 16:13:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-20 16:13:56 +0300
commitb2c6603542af1d5c34a3e252d9454ddf0b21fcc5 (patch)
treeb9863b6532d6d92bd8c8ab29866e87b7e6fe4c24 /src/gui/widgets/guitable.h
parent32b055d5738256c4a3e653a3e7b41d86739a3b74 (diff)
downloadplus-b2c6603542af1d5c34a3e252d9454ddf0b21fcc5.tar.gz
plus-b2c6603542af1d5c34a3e252d9454ddf0b21fcc5.tar.bz2
plus-b2c6603542af1d5c34a3e252d9454ddf0b21fcc5.tar.xz
plus-b2c6603542af1d5c34a3e252d9454ddf0b21fcc5.zip
Add missing checks or attribute to other files.
Diffstat (limited to 'src/gui/widgets/guitable.h')
-rw-r--r--src/gui/widgets/guitable.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h
index 1743f06c6..51905b441 100644
--- a/src/gui/widgets/guitable.h
+++ b/src/gui/widgets/guitable.h
@@ -61,11 +61,6 @@ class GuiTable final : public Widget,
~GuiTable();
/**
- * Retrieves the active table model
- */
- const TableModel *getModel() const A_WARN_UNUSED;
-
- /**
* Sets the table model
*
* Note that actions issued by widgets returned from the model will
@@ -75,6 +70,11 @@ class GuiTable final : public Widget,
*/
void setModel(TableModel *const m);
+ /**
+ * Retrieves the active table model
+ */
+ const TableModel *getModel() const A_WARN_UNUSED RETURNS_NONNULL;
+
void setSelected(const int row, const int column);
int getSelectedRow() const A_WARN_UNUSED;