diff options
author | Karol Kosek <krkk@serenityos.org> | 2023-02-12 11:13:18 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:45:09 +0000 |
commit | d32b052f22d3b1ffbf009d5de17572f381cd87fa (patch) | |
tree | 1c7d13a32501208d6e1594ac38d51d2b21ce6c11 /Userland/Libraries/LibGUI/AbstractButton.h | |
parent | 61b49daf0acd3b3511521eb8eb494d5c57610b62 (diff) | |
download | serenity-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.h | 4 |
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; } |