[OpenWalnut-Dev] [OWci] r6877: [FIX] Move member attributes to protected to enable support for subclassing.

Alexander Wiebel wiebel_openwalnut at dergrosse.de
Thu Feb 20 19:16:40 CET 2014


Right. Thanks.

Alex

On 02/20/2014 04:05 PM, Sebastian Eichelbaum wrote:
> Yes. It is a hundred lines above. The commit just moved the errorLog + private a little bit down so that m_widget and m_preselection are now located in the protected block.
> 
> Sebastian
> 
> On Thu, 20 Feb 2014, Alexander Wiebel wrote:
> 
>> I do not see any "protected" keyword in this change.
>>
>> Alex
>>
>> On 02/20/2014 02:29 PM, Christof Pieloth wrote:
>>> *Branch default*
>>> [FIX] Move member attributes to protected to enable support for subclassing.
>>>
>>> changeset 6877:997ff0a8cf42 in /srv/hg/ow (Thu Jan 30 11:34:18 2014 +0100):
>>>
>>> http://www.openwalnut.org/projects/openwalnut/repository/revisions/6877
>>>
>>> diffstat:
>>>
>>>  src/core/ui/WCustomWidgetEventHandler.h |  16 ++++++++--------
>>>  1 files changed, 8 insertions(+), 8 deletions(-)
>>>
>>> diffs (33 lines):
>>>
>>> diff -r 2cc22cc4a290 -r 997ff0a8cf42 src/core/ui/WCustomWidgetEventHandler.h
>>> --- a/src/core/ui/WCustomWidgetEventHandler.h	Wed Feb 19 12:48:47 2014 +0100
>>> +++ b/src/core/ui/WCustomWidgetEventHandler.h	Thu Jan 30 11:34:18 2014 +0100
>>> @@ -432,14 +432,6 @@
>>>       */
>>>      TriggerSignalType        m_sigUser;
>>>  
>>> -private:
>>> -    /**
>>> -     * Logger instance for comfortable error logging. Simply use logError() << "my error".
>>> -     *
>>> -     * \return the logger stream.
>>> -     */
>>> -    wlog::WStreamedLogger errorLog() const;
>>> -
>>>      /**
>>>       * Reference to the WCustomWidget for which event handling should performed.
>>>       */
>>> @@ -449,6 +441,14 @@
>>>       * Binary mask describing which events should be used for notification or subscription.
>>>       */
>>>      unsigned int m_preselection;
>>> +
>>> +private:
>>> +    /**
>>> +     * Logger instance for comfortable error logging. Simply use logError() << "my error".
>>> +     *
>>> +     * \return the logger stream.
>>> +     */
>>> +    wlog::WStreamedLogger errorLog() const;
>>>  };
>>>  
>>>  #endif  // WCUSTOMWIDGETEVENTHANDLER_H
>>> _______________________________________________
>>> All-openwalnut-commits mailing list
>>> All-openwalnut-commits at lists.informatik.uni-leipzig.de
>>> http://lists.informatik.uni-leipzig.de/mailman/listinfo/all-openwalnut-commits
>>>
>>
>> _______________________________________________
>> OpenWalnut-Dev mailing list
>> OpenWalnut-Dev at lists.informatik.uni-leipzig.de
>> http://lists.informatik.uni-leipzig.de/mailman/listinfo/openwalnut-dev
>>
>> Archive: http://lists.informatik.uni-leipzig.de/pipermail/openwalnut-dev/
>>
> 



More information about the OpenWalnut-Dev mailing list