summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/AbstractButton.h
diff options
context:
space:
mode:
authorKarol Kosek <krkk@serenityos.org>2023-02-12 11:13:18 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:45:09 +0000
commitd32b052f22d3b1ffbf009d5de17572f381cd87fa (patch)
tree1c7d13a32501208d6e1594ac38d51d2b21ce6c11 /Userland/Libraries/LibGUI/AbstractButton.h
parent61b49daf0acd3b3511521eb8eb494d5c57610b62 (diff)
downloadserenity-d32b052f22d3b1ffbf009d5de17572f381cd87fa.zip
LibGUI+Userland: Add `_deprecated` suffix to AbstractButton::{set_,}text
Diffstat (limited to 'Userland/Libraries/LibGUI/AbstractButton.h')
-rw-r--r--Userland/Libraries/LibGUI/AbstractButton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/AbstractButton.h b/Userland/Libraries/LibGUI/AbstractButton.h
index 890d5f7c62..c24ab8a83b 100644
--- a/Userland/Libraries/LibGUI/AbstractButton.h
+++ b/Userland/Libraries/LibGUI/AbstractButton.h
@@ -20,8 +20,8 @@ public:
Function<void(bool)> on_checked;
- virtual void set_text(DeprecatedString);
- DeprecatedString const& text() const { return m_text; }
+ virtual void set_text_deprecated(DeprecatedString);
+ DeprecatedString const& text_deprecated() const { return m_text; }
bool is_exclusive() const { return m_exclusive; }
void set_exclusive(bool b) { m_exclusive = b; }