以下成员源于类 QXmlInputSource are part of the Qt compatibility layer. We advise against using them in new code.
| QXmlInputSource (QFile & file ) | |
| QXmlInputSource (QTextStream & stream ) |
使用 QXmlInputSource (& file ) 代替。
使用 QXmlInputSource ( QIODevice *) constructor instead, with the device used by stream .
另请参阅 QTextStream::device ().