Plasma::PopupApplet improvements

Ivan Cukic ivan.cukic at kde.org
Tue Oct 5 17:17:50 CEST 2010


On Tuesday, 5. October 2010. 15.37.31 Chani wrote:
> On October 5, 2010 15:28:14 Ivan Cukic wrote:
> > Hi all,
> > 
> > There are a few things I wanted to ask your for opinions before
> > implementing them:
> > 
> > 1. bool isIconified() const
> > Introducing this method that would return whether the applet is shown full,
> > or just as an icon.
> 
> so.. would this still return true if it's an icon with the popup currently 
> open?

It doesn't matter whether it is popped. There is already a method for that.

> > 2. void setPopupText(const QString & text) and QString popupText() const
> > This one I'm unsure about whether it is really needed - it would show an
> > icon beside the text when the applet is in the iconified state.

Well, we currently have setPopupIcon(...) 


-- 
I don't necessarily agree with everything I say.
  -- Marshall McLuhan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101005/c0bffd5f/attachment.sig 


More information about the Plasma-devel mailing list