summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Model.h
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2023-05-14 19:02:08 +0200
committerAndreas Kling <kling@serenityos.org>2023-05-15 06:42:10 +0200
commit945f05ed76b23e8b201ce0a758d5318723440d36 (patch)
tree288f5a88e2f5583cb06bf1033ed411877c1e1c4c /Userland/Libraries/LibGUI/Model.h
parent741f07dedf92bf2b64774784585684acb16f642b (diff)
downloadserenity-945f05ed76b23e8b201ce0a758d5318723440d36.zip
Userland: Port `Model::column_name()` to String
Diffstat (limited to 'Userland/Libraries/LibGUI/Model.h')
-rw-r--r--Userland/Libraries/LibGUI/Model.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/Model.h b/Userland/Libraries/LibGUI/Model.h
index a767f584bf..51d3acaba1 100644
--- a/Userland/Libraries/LibGUI/Model.h
+++ b/Userland/Libraries/LibGUI/Model.h
@@ -9,11 +9,11 @@
#pragma once
#include <AK/Badge.h>
-#include <AK/DeprecatedString.h>
#include <AK/Function.h>
#include <AK/HashMap.h>
#include <AK/HashTable.h>
#include <AK/RefCounted.h>
+#include <AK/String.h>
#include <AK/WeakPtr.h>
#include <LibCore/MimeData.h>
#include <LibGUI/Forward.h>
@@ -66,7 +66,7 @@ public:
virtual int row_count(ModelIndex const& = ModelIndex()) const = 0;
virtual int column_count(ModelIndex const& = ModelIndex()) const = 0;
- virtual DeprecatedString column_name(int) const { return {}; }
+ virtual String column_name(int) const { return {}; }
virtual Variant data(ModelIndex const&, ModelRole = ModelRole::Display) const = 0;
virtual TriState data_matches(ModelIndex const&, Variant const&) const { return TriState::Unknown; }
virtual void invalidate();