List Info

Thread: Subclassing support for Qt4 .ui files




Subclassing support for Qt4 .ui files
user name
2006-07-23 22:18:17
Hi,

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
constructor.

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
project...

Andreas

-- 
Do something unusual today.  Pay a bill.
_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )