mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +00:00
LibGUI: Remove deprecated text and set_text functions in AbstractButton
This moves the functions to lambda when registering a property. External code can now only communicate using the new String API.
This commit is contained in:
parent
e39adc4772
commit
14951b92ca
8 changed files with 8 additions and 30 deletions
|
@ -21,8 +21,6 @@ public:
|
|||
|
||||
Function<void(bool)> on_checked;
|
||||
|
||||
virtual void set_text_deprecated(DeprecatedString);
|
||||
DeprecatedString text_deprecated() const { return m_text.to_deprecated_string(); }
|
||||
virtual void set_text(String);
|
||||
String const& text() const { return m_text; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue