Qt private includes used in KDE

Matthias Ettrich ettrich at trolltech.com
Tue Feb 11 15:48:14 GMT 2003


On Tuesday 11 February 2003 14:06, David Faure wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tuesday 11 February 2003 13:58, Harri Porten wrote:
> > On Tue, 11 Feb 2003, David Faure wrote:
> > > I think this shows there's a real need for (some of) the stuff in that
> > > file to be part of the public API ?
> > >
> > > Is QUObject the only way to make dynamic calls to slots by name?
> >
> > Where is this described as a feature ? ;)
>
> We used that functionality already in Qt-2 days (to let Konqueror
> discover slots of the BrowserExtension-derived class), without using
> a private header (we simply had to use QMetaData at the time).
>
> When Qt3 came, we had to switch to the only means
> of still doing it: QUObject....
>

I agree with David. Qt 4 will have public API functions to do dynamic calls. 

I don't want to propagate QUObject for this task because a) the concept is 
premature, b) complicated and c) not particulary well suited for signals and 
slots.

Matthias




More information about the kde-core-devel mailing list