[Kde-games-devel] KZoomMainWindow and adjustSize() tale :)
Dmitry Suzdalev
dimsuz at gmail.com
Tue Aug 1 21:42:18 CEST 2006
On Tuesday 01 August 2006 22:24, Albert Astals Cid wrote:
> class Zoomable
> {
> public:
> virtual void zoomChanged() = 0;
> }
>
> AFAIK that should work.
It seems that you didn't reached this place in my prev mail:
> > If I made ZoomableWidget to not inherit from QWidget (to remove this
> > double-inheriting), than code in KZoomMainWindow becomes a rude hack
> > filled with casts here and there :).
Casts is needed because KZoomMainWindow needs access to QObject part of
Zoomable (to do connect()).
Well, I need to think a bit more of this :).
Maybe restructure some code...
Dmitry.
More information about the kde-games-devel
mailing list