parent
5138714ef2
commit
18135af9e2
|
@ -323,7 +323,7 @@ public:
|
|||
void append (GenListColumnConstructor *construction, GenListItem *parent, Elm_Genlist_Item_Flags flags, GenListColumnSelector *selection);
|
||||
|
||||
// TODO: which type is event_info here instead of void*?
|
||||
sigc::signal <void, const Evasxx::Object&, void*> signalSelect;
|
||||
sigc::signal <void, GenListColumnSelector&, const Evasxx::Object&, void*> signalSelect;
|
||||
|
||||
private:
|
||||
GenList (); // forbid standard constructor
|
||||
|
@ -333,7 +333,7 @@ private:
|
|||
|
||||
static void gl_sel (void *data, Evas_Object *obj, void *event_info);
|
||||
|
||||
void glSelected (Evasxx::Object &eo, void *event_info);
|
||||
void glSelected (GenListColumnSelector &selection, const Evasxx::Object &eo, void *event_info);
|
||||
|
||||
GenListDataModel *mModel;
|
||||
|
||||
|
|
|
@ -135,12 +135,12 @@ void GenList::gl_sel (void *data, Evas_Object *obj, void *event_info)
|
|||
assert (gl);
|
||||
Evasxx::Object *eo = Evasxx::Object::objectLink (obj);
|
||||
assert (eo);
|
||||
gl->glSelected (*eo, event_info);
|
||||
gl->glSelected (*selection, *eo, event_info);
|
||||
}
|
||||
|
||||
void GenList::glSelected (Evasxx::Object &eo, void *event_info)
|
||||
void GenList::glSelected (GenListColumnSelector &selection, const Evasxx::Object &eo, void *event_info)
|
||||
{
|
||||
signalSelect.emit (eo, event_info);
|
||||
signalSelect.emit (selection, eo, event_info);
|
||||
}
|
||||
|
||||
/* operations to add items */
|
||||
|
|
Loading…
Reference in New Issue