Removal of Plasma::Dialog::position()

Marco Martin notmart at gmail.com
Tue Jan 22 15:49:31 CET 2008


Hi,
for every applet that needs to show a popup/tooltip/pink elephant now  there 
is the function Plasma::Widget::popupPosition(QSize) where size is the size 
of the thing you want to show, it should manage quite well both applets in 
the desktop and in panels in every orientation.

now i've changed the applets in kdebase that needed such a thing (kickoff, 
device notifier and digital clock) 

there is the fuction Plasma::Dialog::position() that did a similar thing, but 
it was needed to replicate it in every possible popup/tooltip/whatever

so now i think it could be killed and this raises the following questions:
is still needed for something that i didn't take into account?
are there some applet i forgot in playground/extragear/everywhere that will 
break? (will search, but if someone was using plasma::dialog please drop a 
line :))

comments? objections?

Cheers,
Marco Martin


More information about the Panel-devel mailing list