All pastes #966779 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-04-01 23:56 UTC
rendered paste body
CODE
    QFile file( "/home/fale/index.xml" );
    kDebug() << file.readAll();
    QByteArray content = file.readAll();
    QDomDocument doc;
    QDomElement root = doc.documentElement();
    QDomDocumentType type = doc.doctype();
    kDebug() << qPrintable(type.name());

DEBUG (only the result of this function)
kbugbuster(14920) KBBBugParser::parseXml: ""
kbugbuster(14920) KBBBugParser::parseXml: