a new library

Jaroslaw Staniek staniek at kde.org
Wed Dec 19 19:58:00 GMT 2012


On 19 December 2012 20:14, Boudewijn Rempt <boud at valdyas.org> wrote:
> On Wed, 19 Dec 2012, Jaroslaw Staniek wrote:
>
>> I propose to move to QAbstractMessageHandler. I use this pattern in
>> Kexi as well.
>
>
> Well, this is kdelibs stuff -- not our own messageboxes, but in general,
> yes, I think we should actively refactor to make sure
> QAbstractMessageHandler is used.


Summing up what we said on IRC:

- if we want to release a lib or two as Qt-only (e.g. odf,
filters...), we'd benefit from using Qt tools or our own copy (the
latter would also address what frinring has noted)
- but QAbstractMessageHandler comes from qt xmlpatterns, and isn't
particularly used across Qt, and we do not want xmlpatterns dependency
because of QAbstractMessageHandler
- so our own improved copy would be probably best
- there's also KMessage and KMessageHandler in kdelibs somewhat
conveniently integrated with KMessageBox APIs, but:
-- it's in KDElibs so for Qt-only libs we'd need a copy anyway
-- has the flaw that it does not offer the option of a 'reply' on the
message when reply is needed (can be solved, again, in our own
implementation)

On a productive side: I'd volunteer to provide a tool suitable
globally for calligra (starting by moving it out of Kexi).

We need a lib for such code:
- in Qt 4 version depenent on QtCore, maybe on QtGUI (but for things
like QColor, not QWidget).
- in Qt 5 version depenent on QtCore, maybe on QtGUI but not on QtWidgets.

-- 
regards / pozdrawiam, Jaroslaw Staniek
 Kexi & Calligra & KDE | http://calligra.org/kexi | http://kde.org
 Qt Certified Specialist | http://qt-project.org
 http://www.linkedin.com/in/jstaniek



More information about the calligra-devel mailing list