Efl.Ui.Autorepeat: add 'autorepeat' prefix to methods.
authorAmitesh Singh <amitesh.sh@samsung.com>
Wed, 17 May 2017 01:28:49 +0000 (10:28 +0900)
committerAmitesh Singh <amitesh.sh@samsung.com>
Wed, 17 May 2017 01:31:25 +0000 (10:31 +0900)
Thanks to Dave for pointing out this.

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
src/lib/efl/interfaces/efl_ui_autorepeat.eo
src/lib/elementary/elc_combobox.c
src/lib/elementary/elc_fileselector_button.c
src/lib/elementary/elc_hoversel.c
src/lib/elementary/elm_button.c
src/lib/elementary/elm_button.eo
src/lib/elementary/elm_combobox.eo
src/lib/elementary/elm_fileselector_button.eo
src/lib/elementary/elm_hoversel.eo

index 3116bab..5bcf451 100644 (file)
@@ -1,7 +1,8 @@
 interface Efl.Ui.Autorepeat {
    [[Efl UI autorepeat interface]]
+      eo_prefix: efl_ui;
    methods {
-      @property initial_timeout {
+      @property autorepeat_initial_timeout {
          [[The initial timeout before the autorepeat event is generated
 
            Sets the timeout, in seconds, since the button is pressed until the
@@ -9,25 +10,25 @@ interface Efl.Ui.Autorepeat {
            won't be any delay and the event will be fired the moment the button is
            pressed.
 
-           See also @.enabled.set, @.gap_timeout.set.
+           See also @.autorepeat_enabled.set, @.autorepeat_gap_timeout.set.
          ]]
          values {
             t: double; [[Timeout in seconds]]
          }
       }
-      @property gap_timeout {
+      @property autorepeat_gap_timeout {
          [[The interval between each generated autorepeat event
 
            After the first $repeated event is fired, all subsequent ones will
            follow after a delay of $t seconds for each.
 
-           See also @.initial_timeout.set.
+           See also @.autorepeat_initial_timeout.set.
          ]]
          values {
             t: double; [[Interval in seconds]]
          }
       }
-      @property enabled {
+      @property autorepeat_enabled {
          [[Turn on/off the autorepeat event generated when the button is kept pressed
 
            When off, no autorepeat is performed and buttons emit a normal $clicked
@@ -35,14 +36,14 @@ interface Efl.Ui.Autorepeat {
 
            When on, keeping a button pressed will continuously emit a $repeated
            signal until the button is released. The time it takes until it starts
-           emitting the signal is given by @.initial_timeout.set, and the
-           time between each new emission by @.gap_timeout.set.
+           emitting the signal is given by @.autorepeat_initial_timeout.set, and the
+           time between each new emission by @.autorepeat_gap_timeout.set.
          ]]
          values {
             on: bool; [[A bool to turn on/off the event]]
          }
       }
-      @property supported {
+      @property autorepeat_supported {
          [[Whether the button supports autorepeat.]]
          get {
          }
index 0ef2b5e..fa35008 100644 (file)
@@ -323,8 +323,8 @@ _elm_combobox_efl_gfx_visible_set(Eo *obj, Elm_Combobox_Data *sd, Eina_Bool vis)
 }
 
 EOLIAN static Eina_Bool
-_elm_combobox_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED,
-                                              Elm_Combobox_Data *sd EINA_UNUSED)
+_elm_combobox_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED,
+                                                         Elm_Combobox_Data *sd EINA_UNUSED)
 {
    return EINA_FALSE;
 }
index 2e57f2e..d098c94 100644 (file)
@@ -251,7 +251,7 @@ _elm_fileselector_button_efl_canvas_group_group_del(Eo *obj, Elm_Fileselector_Bu
 }
 
 EOLIAN static Eina_Bool
-_elm_fileselector_button_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd EINA_UNUSED)
+_elm_fileselector_button_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd EINA_UNUSED)
 {
    return EINA_FALSE;
 }
index 87f7859..5606dee 100644 (file)
@@ -675,7 +675,7 @@ _elm_hoversel_elm_widget_widget_parent_set(Eo *obj, Elm_Hoversel_Data *_pd EINA_
 }
 
 EOLIAN static Eina_Bool
-_elm_hoversel_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd EINA_UNUSED)
+_elm_hoversel_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd EINA_UNUSED)
 {
    return EINA_FALSE;
 }
index a56a0b7..f8858fc 100644 (file)
@@ -343,7 +343,7 @@ _elm_button_efl_object_constructor(Eo *obj, Elm_Button_Data *_pd EINA_UNUSED)
 }
 
 EOLIAN static void
-_elm_button_efl_ui_autorepeat_enabled_set(Eo *obj EINA_UNUSED, Elm_Button_Data *sd, Eina_Bool on)
+_elm_button_efl_ui_autorepeat_autorepeat_enabled_set(Eo *obj EINA_UNUSED, Elm_Button_Data *sd, Eina_Bool on)
 {
    ELM_SAFE_FREE(sd->timer, ecore_timer_del);
    sd->autorepeat = on;
@@ -362,19 +362,19 @@ _internal_elm_button_autorepeat_supported_get(const Evas_Object *obj)
 }
 
 EOLIAN static Eina_Bool
-_elm_button_efl_ui_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Button_Data *_pd EINA_UNUSED)
+_elm_button_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Button_Data *_pd EINA_UNUSED)
 {
    return EINA_TRUE;
 }
 
 EOLIAN static Eina_Bool
-_elm_button_efl_ui_autorepeat_enabled_get(Eo *obj, Elm_Button_Data *sd)
+_elm_button_efl_ui_autorepeat_autorepeat_enabled_get(Eo *obj, Elm_Button_Data *sd)
 {
    return (_AR_CAPABLE(obj) & sd->autorepeat);
 }
 
 EOLIAN static void
-_elm_button_efl_ui_autorepeat_initial_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
+_elm_button_efl_ui_autorepeat_autorepeat_initial_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
 {
    if (!_AR_CAPABLE(obj))
      {
@@ -388,7 +388,7 @@ _elm_button_efl_ui_autorepeat_initial_timeout_set(Eo *obj, Elm_Button_Data *sd,
 }
 
 EOLIAN static double
-_elm_button_efl_ui_autorepeat_initial_timeout_get(Eo *obj, Elm_Button_Data *sd)
+_elm_button_efl_ui_autorepeat_autorepeat_initial_timeout_get(Eo *obj, Elm_Button_Data *sd)
 {
    if (!_AR_CAPABLE(obj))
       return 0.0;
@@ -397,7 +397,7 @@ _elm_button_efl_ui_autorepeat_initial_timeout_get(Eo *obj, Elm_Button_Data *sd)
 }
 
 EOLIAN static void
-_elm_button_efl_ui_autorepeat_gap_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
+_elm_button_efl_ui_autorepeat_autorepeat_gap_timeout_set(Eo *obj, Elm_Button_Data *sd, double t)
 {
    if (!_AR_CAPABLE(obj))
      {
@@ -412,7 +412,7 @@ _elm_button_efl_ui_autorepeat_gap_timeout_set(Eo *obj, Elm_Button_Data *sd, doub
 }
 
 EOLIAN static double
-_elm_button_efl_ui_autorepeat_gap_timeout_get(Eo *obj EINA_UNUSED, Elm_Button_Data *sd)
+_elm_button_efl_ui_autorepeat_autorepeat_gap_timeout_get(Eo *obj EINA_UNUSED, Elm_Button_Data *sd)
 {
    return sd->ar_gap_timeout;
 }
index bc28878..85962f1 100644 (file)
@@ -14,10 +14,10 @@ class Elm.Button (Elm.Layout, Efl.Ui.Clickable, Efl.Ui.Autorepeat, Efl.Text,
       class.constructor;
       Efl.Object.constructor;
       Efl.Canvas.Group.group_add;
-      Efl.Ui.Autorepeat.initial_timeout { set; get; }
-      Efl.Ui.Autorepeat.gap_timeout { set; get; }
-      Efl.Ui.Autorepeat.enabled { set; get; }
-      Efl.Ui.Autorepeat.supported { get;}
+      Efl.Ui.Autorepeat.autorepeat_initial_timeout { set; get; }
+      Efl.Ui.Autorepeat.autorepeat_gap_timeout { set; get; }
+      Efl.Ui.Autorepeat.autorepeat_enabled { set; get; }
+      Efl.Ui.Autorepeat.autorepeat_supported { get;}
       Elm.Widget.activate;
       Elm.Widget.focus_next_manager_is;
       Elm.Widget.focus_direction_manager_is;
index d801ce8..fa89ecc 100644 (file)
@@ -45,7 +45,7 @@ class Elm.Combobox (Elm.Button, Efl.Ui.Selectable,
       Elm.Widget.theme_apply;
       Elm.Widget.translate;
       Elm.Widget.widget_event;
-      Efl.Ui.Autorepeat.supported { get; }
+      Efl.Ui.Autorepeat.autorepeat_supported { get; }
       Elm.Genlist.filter { set; }
       Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
    }
index 31840ff..f452214 100644 (file)
@@ -7,7 +7,7 @@ class Elm.Fileselector_Button (Elm.Button, Elm.Interface.Fileselector)
       Efl.Canvas.Group.group_add;
       Efl.Canvas.Group.group_del;
       Elm.Widget.theme_apply;
-      Efl.Ui.Autorepeat.supported { get; }
+      Efl.Ui.Autorepeat.autorepeat_supported { get; }
       Elm.Interface.Fileselector.selected_models { get; }
       Elm.Interface.Fileselector.expandable { get; set; }
       Elm.Interface.Fileselector.thumbnail_size { get; set; }
index 30816d5..52ecfcb 100644 (file)
@@ -101,7 +101,7 @@ class Elm.Hoversel (Elm.Button, Efl.Ui.Selectable,
       Elm.Widget.theme_apply;
       Elm.Widget.translate;
       Elm.Widget.widget_event;
-      Efl.Ui.Autorepeat.supported { get; }
+      Efl.Ui.Autorepeat.autorepeat_supported { get; }
       Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
    }
    events {