I didn't write the keyword 'virual' when I used.
2010/12/17 Shan Jiang <[email protected]>
> In QT project on Linux , Is the declaration of a virtual function in a
> subclass available without the keyword of ' virtual ' ?
> e.g.
> class QIODevice {
> .......
> virtual qint64 readData(char *data, qint64 maxlen);
> };
>
> class AudioInfo : public QIODevice
> {
> .....
> protected:
> qint64 readData(char *data, qint64 maxlen);
> };
> The menber function of readData(...) of AudioInfo is *virtual* ?
>
>
> --
> Shan Jiang a.k.a dane @ Bluesky Dev Team XJTU
>
--
郑炎