summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Forward.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-16 10:44:10 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-16 16:44:09 +0200
commite1ed71ef9e50909f29dc4aa984e8544c7f7077c4 (patch)
tree70661e54eb0e786b5152618433ee43bca1623721 /Libraries/LibGUI/Forward.h
parent370624bc376824c0c9d0966df62e0e1438aca08f (diff)
downloadserenity-e1ed71ef9e50909f29dc4aa984e8544c7f7077c4.zip
LibGUI: Make model sorting imperative and move order to AbstractView
Instead of SortingProxyModel having a column+order, we move that state to AbstractView. When you click on a column header, the view tells the model to resort the relevant column with the new order. This is implemented in SortingProxyModel by simply walking all the reified source/proxy mappings and resorting their row indexes.
Diffstat (limited to 'Libraries/LibGUI/Forward.h')
-rw-r--r--Libraries/LibGUI/Forward.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibGUI/Forward.h b/Libraries/LibGUI/Forward.h
index ac597af912..209760d0e1 100644
--- a/Libraries/LibGUI/Forward.h
+++ b/Libraries/LibGUI/Forward.h
@@ -92,4 +92,6 @@ class Widget;
class Window;
class WindowServerConnection;
+enum class SortOrder;
+
}