Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, March 2007
Curiosity: QAbstractFileEngine virtual methods


Message 1 in thread

Hi, 
just out of curiosity a question. 
Lately I have been pointed to the QAbstractFileEngine class. When I read the 
docs I noticed several times the statement:

"This virtual function must be reimplemented by all subclasses."

So if all subclasses must reimplement this function, why not make it 
pure virtual? The only reason I see not to do so would be to be able to 
instantiate a QAbstractFileEngine object, but this cannot be the reason, 
can it? Are there any circumstances, where this would make sense?

Guido



--
 [ signature omitted ]