For both of "columnNumber()" and "lineNumber()" are pure virtual function. Do I have to implement it myself?
What's the scenario to use it and implement it by myself?
Yes, you do. You need event to sublclass QXmlContentHandler, which is the class that will use it.
Hi, I know QXmlContentHandler will use it.
My puzzle is in order to create an object of QXmlLocator, I have to implement the lineNumber() and columnNumber(), which I expect to get the two numbers from the library function instead of calculating it by myself.
Last edited by useryy2; 2011-09-28 at 07:28.