diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-09 13:33:52 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-09 13:33:52 +0100 |
commit | 7d1142c7d9faaa1ca2f8e9c246c618292ced0119 (patch) | |
tree | 3035cf7b964cbd71d8c488b4820579d4f9db80e0 /AK/AKString.h | |
parent | 0680fe238353ab403418580349dd302ac2397ec6 (diff) | |
download | serenity-7d1142c7d9faaa1ca2f8e9c246c618292ced0119.zip |
Make it possible to sort a GTableModel by column+order.
This is accomplished by putting a GSortingProxyTableModel between the model
and the view. It's pretty simplistic but it works for this use case. :^)
Diffstat (limited to 'AK/AKString.h')
-rw-r--r-- | AK/AKString.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AK/AKString.h b/AK/AKString.h index 59c81188dd..31b2b4d383 100644 --- a/AK/AKString.h +++ b/AK/AKString.h @@ -76,6 +76,7 @@ public: bool operator==(const String&) const; bool operator!=(const String& other) const { return !(*this == other); } + bool operator<(const String&) const; String isolated_copy() const; |