[Qt-interest] Connecting slots to virtual objects

Dirk Neumann dirk.neumann at dn-informatik.de
Fri Jul 2 13:08:40 CEST 2010


Sorry, there were 2 typos:

> 
> class B{
> ...
> protected:
>   virtual A* myA()=0;
> ...
> };
> 
> class B1 : public B{
> ...
>  A1* _a;
> protected:
>  A myA(){return _a;}
   ^ has to be A*
> ...
> };
> 
> class B2: public B{
> ...
>   A2* _a;
> protected:
>  A myA(){return _a;}
   ^ has to be A*
> ...
> };
> 

These two typos repesent not the described problem.

Cheers,

Dirk.

-- 
Dirk Neumann - Informatik
Dipl.-Inf. Dirk Neumann
Plauenscher Ring 26
D-01187 Dresden
Mob.: 0163/8191896
E-Mail: dirk.neumann at dn-informatik.de
Web: www.dn-informatik.de
Strnr: 203/252/10479



More information about the Qt-interest-old mailing list