[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Qt private includes used in KDE
From:       Matthias Ettrich <ettrich () trolltech ! com>
Date:       2003-02-11 15:48:14
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic