qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] Connecting slots to virtual objects

Subject: Re: [Qt-interest] Connecting slots to virtual objects
From: Dirk Neumann
Date: Fri, 2 Jul 2010 13:08:40 +0200
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@xxxxxxxxxxxxxxxx
Web: www.dn-informatik.de
Strnr: 203/252/10479
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>