On segunda-feira, 16 de abril de 2012 01.33.31, Stephen Kelly wrote: > > The only applications that should do that are the workspace fixture ones: > > kwin and plasma. > > Yes, those are the ones that were brought up, together with the > KWindowSystem class. Apart from those I don't think KDE uses X11, but even > KWindowSystem might be partially obsoleted by QPA (there is a task to > figure that out, but no one has taken it up yet).
Managing windows is a task only for the workspace applications. Putting those
classes in a generic library is a mistake.
> QX11Info is used in many places (including some widgets), and perhaps some
> places where it shouldn't be used, but it's still a porting burden even to
> figure out how to port the stuff (It's not clear to me how to, and the
> changes file doesn't even note that the class is removed).
>
> kf5{frameworks}$ grep -roh "QX11Info::[^\)]*)" * | sort | uniq
> QX11Info::appDpiX( int )
> QX11Info::appDpiY( int )
> QX11Info::appRootWindow()
> QX11Info::appRootWindow( screen_P )
> QX11Info::appScreen()
> QX11Info::appTime()
> QX11Info::appUserTime()
> QX11Info::display()
> QX11Info::screen()
> QX11Info::setAppDpiX(0, 96)
> QX11Info::setAppDpiY(0, 96)
> QX11Info::setAppTime(time)
> QX11Info::setAppTime(timestamp)
> QX11Info::setAppUserTime(time)
> QX11Info::setAppUserTime(timestamp)
Porting required for some of them, others need refactoring.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
