KSystemTray::contextMenu(): why protected ?

Michael Brade brade at kde.org
Sun Jan 26 23:03:21 GMT 2003


Hi,

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'
  °--web: http://www.kde.org/people/michaelb.html

KDE 3: The Next Generation in Desktop Experience
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030127/d47c71fe/attachment.sig>


More information about the kde-core-devel mailing list