kinterprocesswindowing, drop it or not?
Aurélien Gâteau
agateau at kde.org
Thu Sep 12 14:18:12 UTC 2013
Hi,
I started working on the KInterProcessWindowing (kiw) framework, which is
expected to go into tier2 because it depends on KWindowSystem (tier1).
kiw is made of two set of files:
kmessagebox_kiw.*: KMessageBox functions to show message boxes on top of
foreign windows. Depends on KWindowSystem.
usertimestamp.*: Two functions which used to be in KApplication.
kmessagebox_kiw.* depends on KWindowSystem because it uses one function:
KWindowSystem::setMainWindow(), which I proposed a fix for [1]. That got me
thinking: Since KWindowSystem::setMainWindow() will now (assuming my request
is merged) be effectively 4 lines of pure Qt code, would it be better to just
duplicate those 4 lines and move kmessagebox_kiw.* to kwidgetsaddons? This
would make it easier to reduce the massive code duplication between
kwidgetsaddons/src/kmessagebox.* and kmessagebox_kiw.*.
Furthermore, if usertimestamp.* were moved to KWindowSystem, then the whole
kiw framework could be dropped.
What do you think?
Aurélien
[1]: http://git.reviewboard.kde.org/r/112685/
More information about the Kde-frameworks-devel
mailing list