On Monday 26 July 2010, Aaron J. Seigo wrote: > anyways .. in init(), you have access to the Corona. and the Corona offers > screenGeometry(int screen), which allows for app/platform specific > implementations of what that means. for Plasma Desktop, that is implemented > using Kephal. > > so you could instead just use corona()->screenGeometry() in init(). :)
or even corona()->availableScreenRegion() if you want to know even what area panels cover (for now the screengeometry could be fine tough)... Cheers, Marco Martin _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel