[Qt-interest] = 0 ?

Wm. G. Urquhart wgu at wurquhart.co.uk
Tue Feb 23 13:30:24 CET 2010


Lucas Pereira Caixeta wrote:
> 
> Hi all,
> 
> In my interface i have this method: virtual String getName () = 0;   
> 
> why this method have  "=0" in the end?
> so that it serves?

Because it is a pure virtual function that you need to implement.

HTH

-- 
William



More information about the Qt-interest-old mailing list