extension to queryClose, which allows bc virtual

David Faure dfaure at klaralvdalens-datakonsult.se
Fri Sep 26 18:59:00 BST 2003


On Friday 26 September 2003 19:47, Joseph Wenninger wrote:
> Hi
> 
> With the kate part there is the problem that, if the part's queryClose
> method detects that the document has been modified it shows a the
> standard file dialog. ==> no encoding selection. With the attached patch
> it is somehow possible to oveerride the standard behaviour so that the
> kate part can display the save dialgo with the encoding chooser. I know
> it is a hack, but it seems to work.
> May I commit that till we can break binary compatibility in 4.0 again ?
> Any better solutions ? 
> Suggestions ? flames? ....

Quite clever (better than a virtual_hook hack).
Apart from the signal name (which could have been sigQueryClose or so,
the _save is strange), I have nothing to say against it.

-- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions




More information about the kde-core-devel mailing list