diff options
Diffstat (limited to 'gio/src/actionmap.hg')
-rw-r--r-- | gio/src/actionmap.hg | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gio/src/actionmap.hg b/gio/src/actionmap.hg index 22241f12..e3bcdf0c 100644 --- a/gio/src/actionmap.hg +++ b/gio/src/actionmap.hg @@ -59,7 +59,7 @@ public: * For instance, * void on_slot_activated(const Glib::VariantBase& parameter); */ - using ActivateWithParameterSlot = sigc::slot<void, const Glib::VariantBase&>; + using ActivateWithParameterSlot = sigc::slot<void(const Glib::VariantBase&)>; //This is an equivalent for g_action_map_add_action_entries(). /** A convenience method for creating a SimpleAction instance @@ -88,7 +88,7 @@ public: * For instance, * void on_slot_activated(); */ - using ActivateSlot = sigc::slot<void>; + using ActivateSlot = sigc::slot<void()>; /** A convenience method for creating a SimpleAction instance * and adding it to the ActionMap. @@ -136,7 +136,7 @@ public: * For instance, * void on_slot_activated(const Glib::VariantBase& parameter); */ - using ActivateWithStringParameterSlot = sigc::slot<void, const Glib::ustring&>; + using ActivateWithStringParameterSlot = sigc::slot<void(const Glib::ustring&)>; //TODO: Docs: Add hints about how to specify the various possible states in the GtkBuilder XML. /** A convenience method for creating a string-based radio SimpleAction instance @@ -165,8 +165,8 @@ public: * For instance, * void on_slot_activated(const Glib::VariantBase& parameter); */ - using ActivateWithIntParameterSlot = sigc::slot<void, int>; - + using ActivateWithIntParameterSlot = sigc::slot<void(int)>; + //TODO: Docs: Add hints about how to specify the various possible states in the GtkBuilder XML. /** A convenience method for creating an integer-based radio SimpleAction instance * and adding it to the ActionMap. |