@@ -298,11 +298,7 @@ define([SIGNAL_N],[dnl
298
298
* Be careful if you directly pass one signal into the connect()
299
299
* method of another: a shallow copy of the signal is made and
300
300
* the signal's slots are not disconnected until both the signal
301
- * and its clone are destroyed, which is probably not what you want!
302
- *
303
- * An STL-style list interface for the signal's list of slots
304
- * can be retrieved with slots(). This interface supports
305
- * iteration, insertion and removal of slots.
301
+ * and its clone are destroyed, which is probably not what you want.
306
302
*
307
303
* The following template arguments are used:
308
304
* - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl
@@ -402,19 +398,25 @@ _DEPRECATE_IFDEF_END
402
398
bound_const_mem_functor$1 <LIST(result_type, signal$1 , LOOP(type_trait_take_t<T_arg%1>, $1 ))> make_slot() const
403
399
{ return bound_const_mem_functor$1 <LIST(result_type, signal$1 , LOOP(type_trait_take_t<T_arg%1>, $1 ))>(*this, &signal$1 ::emit); }
404
400
401
+ _DEPRECATE_IFDEF_START
405
402
/** Creates an STL-style interface for the signal's list of slots.
406
403
* This interface supports iteration, insertion and removal of slots.
407
404
* @return An STL-style interface for the signal's list of slots.
405
+ *
406
+ * @deprecated This is apparently not useful, but please let us know if you need it.
408
407
*/
409
408
slot_list_type slots()
410
409
{ return slot_list_type(impl()); }
411
410
412
411
/** Creates an STL-style interface for the signal's list of slots.
413
412
* This interface supports iteration, insertion and removal of slots.
414
413
* @return An STL-style interface for the signal's list of slots.
414
+ *
415
+ * @deprecated This is apparently not useful, but please let us know if you need it.
415
416
*/
416
417
const slot_list_type slots() const
417
418
{ return slot_list_type(const_cast<signal$1 *>(this)->impl()); }
419
+ _DEPRECATE_IFDEF_END
418
420
419
421
signal$1 () {}
420
422
@@ -454,10 +456,6 @@ ifelse($1, $2,[dnl
454
456
* the signal's slots are not disconnected until both the signal
455
457
* and its clone are destroyed, which is probably not what you want!
456
458
*
457
- * An STL-style list interface for the signal's list of slots
458
- * can be retrieved with slots(). This interface supports
459
- * iteration, insertion and removal of slots.
460
- *
461
459
* The template arguments determine the function signature of
462
460
* the emit() function:
463
461
* - @e T_return The desired return type of the emit() function.dnl
@@ -847,8 +845,7 @@ struct slot_const_iterator
847
845
/** STL-style list interface for sigc::signal# .
848
846
* slot_list can be used to iterate over the list of slots that
849
847
* is managed by a signal. Slots can be added or removed from
850
- * the list while existing iterators stay valid. A slot_list
851
- * object can be retrieved from the signal's slots() function.
848
+ * the list while existing iterators stay valid.
852
849
*
853
850
* @ingroup signal
854
851
*/
0 commit comments