mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Signals: Port more uses of connect_compat
Those were problematic as they call a method of their parent class, but callable_mp does not allow that unless it's public. To solve it, we declare a local class that calls the parent class' method, which now needs to be protected to be accessible in the derived class.
This commit is contained in:
parent
b8f08b42e7
commit
09a6a2d8f8
19 changed files with 79 additions and 41 deletions
|
|
@ -41,12 +41,12 @@ class PropertySelector : public ConfirmationDialog {
|
|||
LineEdit *search_box;
|
||||
Tree *search_options;
|
||||
|
||||
void _update_search();
|
||||
|
||||
void _sbox_input(const Ref<InputEvent> &p_ie);
|
||||
|
||||
void _confirmed();
|
||||
void _text_changed(const String &p_newtext);
|
||||
void _sbox_input(const Ref<InputEvent> &p_ie);
|
||||
void _update_search();
|
||||
void _confirmed();
|
||||
void _item_selected();
|
||||
void _hide_requested();
|
||||
|
||||
EditorHelpBit *help_bit;
|
||||
|
||||
|
|
@ -58,8 +58,6 @@ class PropertySelector : public ConfirmationDialog {
|
|||
Object *instance;
|
||||
bool virtuals_only;
|
||||
|
||||
void _item_selected();
|
||||
|
||||
Vector<Variant::Type> type_filter;
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue