diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-08-08 11:14:20 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-09-14 17:39:11 (GMT) |
commit | aa84c952535a86e797226a2fe3bc5f41248c93c1 (patch) | |
tree | a68a3758b8b5db9369e8c1456cf7fee70768f227 /src/RootCmdMenuItem.hh | |
parent | 0a42e6ca3d3c3badf189afda7051676e344d208d (diff) | |
download | fluxbox-aa84c952535a86e797226a2fe3bc5f41248c93c1.zip fluxbox-aa84c952535a86e797226a2fe3bc5f41248c93c1.tar.bz2 |
Enable connecting to const Signals
The idea is that connecting to a signal doesn't change it's state or the state of the object
owning the signal (even though it needs to add the functor to the list for later reference).
Emitting, on the other hand, is usually done as a result of a state change and therefore remains
non-const.
Additional benefit of this arrangement is that objects can export const references to signals to
allow connecting, while keeping the ability to emit to themselves.
Diffstat (limited to 'src/RootCmdMenuItem.hh')
0 files changed, 0 insertions, 0 deletions