My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
tagreader.h File Reference

Go to the source code of this file.

Functions

void parseTagFile (Entry *root, const char *fullPathName)
 

Function Documentation

void parseTagFile ( Entry root,
const char *  fullPathName 
)

Definition at line 1527 of file tagreader.cpp.

References TagFileParser::addIncludes(), TagFileParser::buildLists(), and TagFileParser::setFileName().

Referenced by readTagFile().

{
QFileInfo fi(fullName);
if (!fi.exists()) return;
TagFileParser handler( fullName ); // tagName
handler.setFileName(fullName);
TagFileErrorHandler errorHandler;
QFile xmlFile( fullName );
QXmlInputSource source( xmlFile );
QXmlSimpleReader reader;
reader.setContentHandler( &handler );
reader.setErrorHandler( &errorHandler );
reader.parse( source );
handler.buildLists(root);
handler.addIncludes();
//handler.dump();
}