diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:08:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:08:40 -0600 |
commit | 6253301bb0416ee072c359c595d7558b1ce65b4d (patch) | |
tree | cfea0626f0d0ed1985d4fbabe028ed0bb721a37b /kmymoney2/mymoney/storage | |
parent | f5f2600959081159bf4ba430f73fb9f0019c2b42 (diff) | |
download | kmymoney-6253301bb0416ee072c359c595d7558b1ce65b4d.tar.gz kmymoney-6253301bb0416ee072c359c595d7558b1ce65b4d.zip |
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'kmymoney2/mymoney/storage')
-rw-r--r-- | kmymoney2/mymoney/storage/mymoneystoragexml.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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); |