From aa85254cd16cb870b8d1649ef1dbad09bd8491e8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:19:48 -0600 Subject: Rename additional global TQt functions --- kmymoney2/mymoney/storage/mymoneystoragexml.cpp | 26 ++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kmymoney2/mymoney/storage/mymoneystoragexml.cpp') diff --git a/kmymoney2/mymoney/storage/mymoneystoragexml.cpp b/kmymoney2/mymoney/storage/mymoneystoragexml.cpp index a95668f..063687a 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragexml.cpp +++ b/kmymoney2/mymoney/storage/mymoneystoragexml.cpp @@ -107,31 +107,31 @@ MyMoneyXmlContentHandler::MyMoneyXmlContentHandler(MyMoneyStorageXML* reader) : bool MyMoneyXmlContentHandler::startDocument(void) { - qDebug("startDocument"); + tqDebug("startDocument"); return true; } bool MyMoneyXmlContentHandler::endDocument(void) { - qDebug("endDocument"); + tqDebug("endDocument"); return true; } bool MyMoneyXmlContentHandler::skippedEntity (const TQString & /* name */) { - // qDebug(TQString("Skipped entity '%1'").arg(name)); + // tqDebug(TQString("Skipped entity '%1'").arg(name)); return true; } bool MyMoneyXmlContentHandler::startPrefixMapping (const TQString& /*prefix */, const TQString & /* uri */) { - // qDebug(TQString("start prefix '%1', '%2'").arg(prefix).arg(uri)); + // tqDebug(TQString("start prefix '%1', '%2'").arg(prefix).arg(uri)); return true; } bool MyMoneyXmlContentHandler::endPrefixMapping (const TQString& /* prefix */) { - // qDebug(TQString("end prefix '%1'").arg(prefix)); + // tqDebug(TQString("end prefix '%1'").arg(prefix)); return true; } @@ -160,35 +160,35 @@ bool MyMoneyXmlContentHandler::startElement (const TQString& /* namespaceURI */, m_level = 1; } else if(s == "transactions") { - qDebug("reading transactions"); + tqDebug("reading transactions"); if(atts.count()) { int count = atts.value(TQString("count")).toUInt(); m_reader->signalProgress(0, count, i18n("Loading transactions...")); m_elementCount = 0; } } else if(s == "accounts") { - qDebug("reading accounts"); + tqDebug("reading accounts"); if(atts.count()) { int count = atts.value(TQString("count")).toUInt(); m_reader->signalProgress(0, count, i18n("Loading accounts...")); m_elementCount = 0; } } else if(s == "securities") { - qDebug("reading securities"); + tqDebug("reading securities"); if(atts.count()) { int count = atts.value(TQString("count")).toUInt(); m_reader->signalProgress(0, count, i18n("Loading securities...")); m_elementCount = 0; } } else if(s == "reports") { - qDebug("reading reports"); + tqDebug("reading reports"); if(atts.count()) { int count = atts.value(TQString("count")).toUInt(); m_reader->signalProgress(0, count, i18n("Loading reports...")); m_elementCount = 0; } } else if(s == "prices") { - qDebug("reading prices"); + tqDebug("reading prices"); m_elementCount = 0; } else if(s == "pricepair") { if(atts.count()) { @@ -385,7 +385,7 @@ void MyMoneyStorageXML::readFile(TQIODevice* pDevice, IMyMoneySerialize* storage m_doc = new TQDomDocument; TQ_CHECK_PTR(m_doc); - qDebug("reading file"); + tqDebug("reading file"); // creating the TQXmlInputSource object based on a TQIODevice object // reads all data of the underlying object into memory. I have not // found an object that reads on the fly. I tried to derive one myself, @@ -393,7 +393,7 @@ void MyMoneyStorageXML::readFile(TQIODevice* pDevice, IMyMoneySerialize* storage // blocks of data and not a stream. So I left it the way it is. (ipwizard) TQXmlInputSource xml(pDevice); - qDebug("start parsing file"); + tqDebug("start parsing file"); MyMoneyXmlContentHandler mmxml(this); TQXmlSimpleReader reader; reader.setContentHandler(&mmxml); @@ -431,7 +431,7 @@ void MyMoneyStorageXML::writeFile(TQIODevice* qf, IMyMoneySerialize* storage) } m_storage = storage; - // qDebug("XMLWRITER: Starting file write"); + // tqDebug("XMLWRITER: Starting file write"); m_doc = new TQDomDocument("KMYMONEY-FILE"); TQ_CHECK_PTR(m_doc); TQDomProcessingInstruction instruct = m_doc->createProcessingInstruction("xml", "version=\"1.0\" encoding=\"utf-8\""); -- cgit v1.2.1