[PATCH] KFileDialog overwrite confirmation
Rafael Fernández López
ereslibre at kde.org
Tue Jul 15 01:43:09 BST 2008
Thiago Macieira <thiago at kde.org> wrote:
> I made that part of techbase less evident because we prefer to use the
> meta-method mechanism whenever possible (in QObject-derived classes).
I really think this is a really good chance for maintaining code. I
mean, if we create an enum where all new "fake virtual methods" have
been added, is just a matter of reviewing each enums of that kind to
see what needs to be added as virtual for a next "big" KDE version.
It is less evident with meta-method mechanism because everything is a
As I said on a previous posting, instead of an "int id" for the method
id, we could add an enum that would live in the base class, so it is
only a matter of checking those base classes when for example, working
on the transition from KDE 5 to KDE 6.
We lose parameter type checking at compiling time, but well... nothing
Rafael Fernández López.
More information about the kde-core-devel