diff options
Diffstat (limited to 'kmymoney2/mymoney')
-rw-r--r-- | kmymoney2/mymoney/mymoneystatement.cpp | 2 | ||||
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneystoragexml.cpp | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/mymoney/mymoneystatement.cpp b/kmymoney2/mymoney/mymoneystatement.cpp index 2f8ea0e..80b2c48 100644 --- a/kmymoney2/mymoney/mymoneystatement.cpp +++ b/kmymoney2/mymoney/mymoneystatement.cpp @@ -250,7 +250,7 @@ void MyMoneyStatement::writeXMLFile( const MyMoneyStatement& _s, const TQString& } TQDomDocument* doc = new TQDomDocument("KMYMONEY-STATEMENT"); - Q_CHECK_PTR(doc); + TQ_CHECK_PTR(doc); //writeStatementtoXMLDoc(_s,doc); TQDomProcessingInstruction instruct = doc->createProcessingInstruction(TQString("xml"), TQString("version=\"1.0\" encoding=\"utf-8\"")); diff --git a/kmymoney2/mymoney/storage/mymoneystoragexml.cpp b/kmymoney2/mymoney/storage/mymoneystoragexml.cpp index da3ca93..a95668f 100644 --- a/kmymoney2/mymoney/storage/mymoneystoragexml.cpp +++ b/kmymoney2/mymoney/storage/mymoneystoragexml.cpp @@ -375,15 +375,15 @@ MyMoneyStorageXML::~MyMoneyStorageXML() // Function to read in the file, send to XML parser. void MyMoneyStorageXML::readFile(TQIODevice* pDevice, IMyMoneySerialize* storage) { - Q_CHECK_PTR(storage); - Q_CHECK_PTR(pDevice); + TQ_CHECK_PTR(storage); + TQ_CHECK_PTR(pDevice); if(!storage) return; m_storage = storage; m_doc = new TQDomDocument; - Q_CHECK_PTR(m_doc); + TQ_CHECK_PTR(m_doc); qDebug("reading file"); // creating the TQXmlInputSource object based on a TQIODevice object @@ -423,8 +423,8 @@ void MyMoneyStorageXML::readFile(TQIODevice* pDevice, IMyMoneySerialize* storage void MyMoneyStorageXML::writeFile(TQIODevice* qf, IMyMoneySerialize* storage) { - Q_CHECK_PTR(qf); - Q_CHECK_PTR(storage); + TQ_CHECK_PTR(qf); + TQ_CHECK_PTR(storage); if(!storage) { return; @@ -433,7 +433,7 @@ void MyMoneyStorageXML::writeFile(TQIODevice* qf, IMyMoneySerialize* storage) // qDebug("XMLWRITER: Starting file write"); m_doc = new TQDomDocument("KMYMONEY-FILE"); - Q_CHECK_PTR(m_doc); + TQ_CHECK_PTR(m_doc); TQDomProcessingInstruction instruct = m_doc->createProcessingInstruction("xml", "version=\"1.0\" encoding=\"utf-8\""); m_doc->appendChild(instruct); |