summaryrefslogtreecommitdiff
path: root/src/modlistsortproxy.h
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2018-12-30 16:27:43 -0600
committerGitHub <noreply@github.com>2018-12-30 16:27:43 -0600
commitb2ca83366a4794990b39bcc02861ae120d40cb09 (patch)
treea646dbcfb20a1289179508649c7431036e06e85b /src/modlistsortproxy.h
parent4436d376a8d426867f217b03838570a424b09c5f (diff)
parent71091f679dd1625b96e6d88d781a93fe6f14d210 (diff)
Merge pull request #601 from Project579/archive_conflicts_2
Archive conflicts Updating to Lastest Develop
Diffstat (limited to 'src/modlistsortproxy.h')
-rw-r--r--src/modlistsortproxy.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modlistsortproxy.h b/src/modlistsortproxy.h
index b3c01fea..5fe8d9d6 100644
--- a/src/modlistsortproxy.h
+++ b/src/modlistsortproxy.h
@@ -60,6 +60,7 @@ public:
virtual void setSourceModel(QAbstractItemModel *sourceModel) override;
+
/**
* @brief enable all mods visible under the current filter
**/
@@ -94,6 +95,13 @@ public:
return rowCount(parent) > 0;
}
+ /**
+ * @brief sets whether a column is visible
+ * @param column the index of the column
+ * @param visible the visibility of the column
+ */
+ void setColumnVisible(int column, bool visible);
+
public slots:
void updateFilter(const QString &filter);