[Qt-interest] multiple inheritance problem

Srdjan Todorovic todorovic.s at googlemail.com
Thu Jul 2 15:55:44 CEST 2009


Hi

On 02/07/2009, "Alexander Carôt" <alexander_carot at gmx.net> wrote:
> Hi all,
>
> I have a "standard" problem but don't know how to solve it:
>
> I have a class, which has to inherit from QWidget and QThread:

Why is a circular buffer (an abstract data type) a widget?

Also why is it a thread?

I could understand a thread *using* a circular buffer, but a thread
would not *be* a circular buffer. Unless I am missing something...

(anyone care to devise a method of "drawing" UML using ascii art? ;)  )

Srdjan




More information about the Qt-interest-old mailing list