mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibCore+Userland: Add DEPRECATED infix to REGISTER_STRING_PROPERTY macro
This commit is contained in:
parent
f31a9e9374
commit
ee5838084d
12 changed files with 21 additions and 21 deletions
|
@ -31,7 +31,7 @@ Label::Label(DeprecatedString text)
|
|||
|
||||
set_foreground_role(Gfx::ColorRole::WindowText);
|
||||
|
||||
REGISTER_STRING_PROPERTY("text", text, set_text);
|
||||
REGISTER_DEPRECATED_STRING_PROPERTY("text", text, set_text);
|
||||
REGISTER_BOOL_PROPERTY("autosize", is_autosize, set_autosize);
|
||||
REGISTER_WRITE_ONLY_STRING_PROPERTY("icon", set_icon_from_path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue