KSystemTray::contextMenu(): why protected ?
brade at kde.org
Sun Jan 26 23:03:21 GMT 2003
On Sunday 26 January 2003 21:53, Alexander Neundorf wrote:
> the KSystemTray documentation says
> "It is designed to be usable "as is", without the need to subclass it."
> Now why is contextMenu() protected ?
> This way it can't have custom entries in the context menu without
> subclassing it.
> How about making it public ?
Yes, please do so. I see no reason for it being protected as well.
Michael Brade; KDE Developer, Student of Computer Science
|-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
KDE 3: The Next Generation in Desktop Experience
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
More information about the kde-core-devel