mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
UI
rename the value changed signal to ui_changed
This commit is contained in:
+2
-2
@@ -17,14 +17,14 @@ UI_checkbox::UI_checkbox(const json &j, QObject *parent) : UI_item(UI_CHECKBOX_T
|
||||
void UI_checkbox::click()
|
||||
{
|
||||
m_checked = !m_checked;
|
||||
emit value_changed();
|
||||
emit ui_changed();
|
||||
emit on_change(m_checked);
|
||||
}
|
||||
|
||||
void UI_checkbox::set_state(bool state)
|
||||
{
|
||||
m_checked = state;
|
||||
emit value_changed();
|
||||
emit ui_changed();
|
||||
emit on_change(m_checked);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user