[Kde-bindings] QPaintDevice bitBlt() missing from SMOKE runtime
Alexander Kellett
lypanov at kde.org
Mon Aug 25 19:30:28 UTC 2003
On Mon, Aug 25, 2003 at 05:57:41PM +0100, Germain Garand wrote:
> Ah, I've been thinking along the same lines since I saw Alexander's nice work.
> I think the most sensible solution would be to stick all global scope
> functions into the _same_ pseudo-class, from where we could export them at
> will.
aye, makes a lot of sense.
> Maybe it would need a specific naming convention to avoid the confusion with
> documented Qt classes (right now, QFriendOperators shows up in introspection
> tools as an ordinary class and is potentially confusing for users)
yeah agreed, though it should still be possible to access introspect
these methods. an easier way or the user is probably a new option.
> What about Qglobal ?
> Qt::global::bitBlt() looks fine to me as a fully qualified call.
>
> And it could accomodate also q([A-Z])([a-z]+) functions, for instance as
> "Qt::global::" . lc($1) . $2 ?
aah. yeah. would be nicer.
> Oh I see... Alexander wanted to silent the -Wnon-virtual-dtor warning, so he
> added "virtual" to the smoke dtors.
> This is wrong, because it enforces a virtual dtor on classes like QRect,
> QPoint, QFont, et al.
oh, eek. please revert if you wish to else i'll
do so soon. any idea what the correct fix is?
i really don't get this stuff in c++ at all... :)
Alex
More information about the Kde-bindings
mailing list