PDA

View Full Version : QFile &QFile::operator= is private



Fallen_
15th March 2011, 15:06
Hi, im trying to do it like this:

m_file = File(fileName);
basically "File" inherits QFile but it fails, any idea wut to do?

wysota
15th March 2011, 15:08
File *m_file;
//...
m_file = new File(fileName);