xml-freemind.cpp
changeset 662 9abdd5e6c3dc
parent 652 700553af9ca5
child 666 51c69652a9d0
     1.1 --- a/xml-freemind.cpp	Tue Jan 15 13:06:59 2008 +0000
     1.2 +++ b/xml-freemind.cpp	Fri Feb 01 15:28:35 2008 +0000
     1.3 @@ -46,11 +46,11 @@
     1.4  {
     1.5      QColor col;
     1.6  	/* Testing
     1.7 -	cout << "startElement <"<< eName.ascii()
     1.8 +	cout << "startElement <"<< qPrintable(eName)
     1.9  		<<">  state="<<state 
    1.10  		<<"  laststate="<<stateStack.last()
    1.11  		<<"   loadMode="<<loadMode
    1.12 -	//	<<"       line="<<QXmlDefaultHandler::lineNumber().ascii()
    1.13 +	//	<<"       line="<<qPrintable (QXmlDefaultHandler::lineNumber())
    1.14  		<<endl;
    1.15  	*/	
    1.16  	stateStack.append (state);	
    1.17 @@ -202,7 +202,7 @@
    1.18  bool parseFreemindHandler::endElement  ( const QString&, const QString&, const QString &eName)
    1.19  {
    1.20  	/* Testing
    1.21 -	cout << "endElement </" <<eName.ascii()
    1.22 +	cout << "endElement </" <<qPrintable(eName)
    1.23  		<<">  state=" <<state 
    1.24  		<<"  laststate=" <<laststate
    1.25  		<<"  stateStack="<<stateStack.last() 
    1.26 @@ -222,7 +222,7 @@
    1.27  
    1.28  bool parseFreemindHandler::characters   ( const QString& ch)
    1.29  {
    1.30 -	//cout << "characters \""<<ch.ascii()<<"\"  state="<<state <<"  laststate="<<laststate<<endl;
    1.31 +	//cout << "characters \""<<qPrintable(ch)<<"\"  state="<<state <<"  laststate="<<laststate<<endl;
    1.32  
    1.33  	QString ch_org=quotemeta (ch);
    1.34      QString ch_simplified=ch.simplifyWhiteSpace();