[PATCH] Subclassing support for Qt4 .ui files

Andreas Pakulat apaku at gmx.de
Sun Jul 23 22:18:17 UTC 2006


the attached patch add's support for subclassing Qt4 forms. It uses the
multiple inheritance approach via a new template. I figured this is the
most easiest way to provide support for Ui:: namespace, ui_ header
naming and the removal of the name and model attributes from the

A nice "improvement" in case of mixed qt3 and qt4 .ui files would be to
read the version of the ui-file. But I think I can leave that for later,
as probably only very few people have such a mixed setup within the same


Do something unusual today.  Pay a bill.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_qt4_subclassing.gz
Type: application/x-gunzip
Size: 1506 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20060724/351f75da/attachment.bin>

More information about the KDevelop-devel mailing list