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

List:       kde-panel-devel
Subject:    Re: [Panel-devel] Finishing up the Layout Stuff
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2007-06-21 4:00:45
Message-ID: 200706202200.46168.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 20 June 2007, Matias Valdenegro T. wrote:
> d-Pointer : QGraphicsItem *item; (The item to manage and it's children)
> protected:
> 	void setItem(QGraphicsItem *item);
>
> So, on your widget, you inherit LayoutItem and QGraphicsItem (Directly or
> indirectly) and call setItem(this), so i have a pointer to the item.

sounds sane; i wonder if you can pass "this" in on the initialization list to 
a superclass like that, so we could have LayoutItem(QGraphicsItem* 
thisItem) .. don't know if that would work in practice or not..

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel


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

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