From feaf6d62da1685a34fbc8c201f31da681f04e2a7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/translators/tellicoxmlexporter.cpp | 38 +++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'src/translators/tellicoxmlexporter.cpp') diff --git a/src/translators/tellicoxmlexporter.cpp b/src/translators/tellicoxmlexporter.cpp index 397366b..011d991 100644 --- a/src/translators/tellicoxmlexporter.cpp +++ b/src/translators/tellicoxmlexporter.cpp @@ -114,7 +114,7 @@ TQString TellicoXMLExporter::exportXMLString() const { return exportXML().toString(); } -void TellicoXMLExporter::exportCollectionXML(TQDomDocument& dom_, TQDomElement& tqparent_, bool format_) const { +void TellicoXMLExporter::exportCollectionXML(TQDomDocument& dom_, TQDomElement& parent_, bool format_) const { Data::CollPtr coll = collection(); if(!coll) { kdWarning() << "TellicoXMLExporter::exportCollectionXML() - no collection pointer!" << endl; @@ -173,7 +173,7 @@ void TellicoXMLExporter::exportCollectionXML(TQDomDocument& dom_, TQDomElement& exportGroupXML(dom_, collElem); } - tqparent_.appendChild(collElem); + parent_.appendChild(collElem); // the borrowers and filters are in the tellico object, not the collection if(options() & Export::ExportComplete) { @@ -183,7 +183,7 @@ void TellicoXMLExporter::exportCollectionXML(TQDomDocument& dom_, TQDomElement& exportBorrowerXML(dom_, bElem, bIt); } if(bElem.hasChildNodes()) { - tqparent_.appendChild(bElem); + parent_.appendChild(bElem); } TQDomElement fElem = dom_.createElement(TQString::tqfromLatin1("filters")); @@ -192,12 +192,12 @@ void TellicoXMLExporter::exportCollectionXML(TQDomDocument& dom_, TQDomElement& exportFilterXML(dom_, fElem, fIt); } if(fElem.hasChildNodes()) { - tqparent_.appendChild(fElem); + parent_.appendChild(fElem); } } } -void TellicoXMLExporter::exportFieldXML(TQDomDocument& dom_, TQDomElement& tqparent_, Data::FieldPtr field_) const { +void TellicoXMLExporter::exportFieldXML(TQDomDocument& dom_, TQDomElement& parent_, Data::FieldPtr field_) const { TQDomElement elem = dom_.createElement(TQString::tqfromLatin1("field")); elem.setAttribute(TQString::tqfromLatin1("name"), field_->name()); @@ -227,10 +227,10 @@ void TellicoXMLExporter::exportFieldXML(TQDomDocument& dom_, TQDomElement& tqpar elem.appendChild(e); } - tqparent_.appendChild(elem); + parent_.appendChild(elem); } -void TellicoXMLExporter::exportEntryXML(TQDomDocument& dom_, TQDomElement& tqparent_, Data::EntryPtr entry_, bool format_) const { +void TellicoXMLExporter::exportEntryXML(TQDomDocument& dom_, TQDomElement& parent_, Data::EntryPtr entry_, bool format_) const { TQDomElement entryElem = dom_.createElement(TQString::tqfromLatin1("entry")); entryElem.setAttribute(TQString::tqfromLatin1("id"), entry_->id()); @@ -333,10 +333,10 @@ void TellicoXMLExporter::exportEntryXML(TQDomDocument& dom_, TQDomElement& tqpar } } // end field loop - tqparent_.appendChild(entryElem); + parent_.appendChild(entryElem); } -void TellicoXMLExporter::exportImageXML(TQDomDocument& dom_, TQDomElement& tqparent_, const TQString& id_) const { +void TellicoXMLExporter::exportImageXML(TQDomDocument& dom_, TQDomElement& parent_, const TQString& id_) const { if(id_.isEmpty()) { myDebug() << "TellicoXMLExporter::exportImageXML() - empty image!" << endl; return; @@ -374,10 +374,10 @@ void TellicoXMLExporter::exportImageXML(TQDomDocument& dom_, TQDomElement& tqpar imgElem.setAttribute(TQString::tqfromLatin1("link"), TQString::tqfromLatin1("true")); } } - tqparent_.appendChild(imgElem); + parent_.appendChild(imgElem); } -void TellicoXMLExporter::exportGroupXML(TQDomDocument& dom_, TQDomElement& tqparent_) const { +void TellicoXMLExporter::exportGroupXML(TQDomDocument& dom_, TQDomElement& parent_) const { Data::EntryVec vec = entries(); // need a copy for ::tqcontains(); bool exportAll = collection()->entries().count() == vec.count(); // iterate over each group, which are the first tqchildren @@ -398,12 +398,12 @@ void TellicoXMLExporter::exportGroupXML(TQDomDocument& dom_, TQDomElement& tqpar groupElem.appendChild(entryRefElem); } if(groupElem.hasChildNodes()) { - tqparent_.appendChild(groupElem); + parent_.appendChild(groupElem); } } } -void TellicoXMLExporter::exportFilterXML(TQDomDocument& dom_, TQDomElement& tqparent_, FilterPtr filter_) const { +void TellicoXMLExporter::exportFilterXML(TQDomDocument& dom_, TQDomElement& parent_, FilterPtr filter_) const { TQDomElement filterElem = dom_.createElement(TQString::tqfromLatin1("filter")); filterElem.setAttribute(TQString::tqfromLatin1("name"), filter_->name()); @@ -439,17 +439,17 @@ void TellicoXMLExporter::exportFilterXML(TQDomDocument& dom_, TQDomElement& tqpa filterElem.appendChild(ruleElem); } - tqparent_.appendChild(filterElem); + parent_.appendChild(filterElem); } -void TellicoXMLExporter::exportBorrowerXML(TQDomDocument& dom_, TQDomElement& tqparent_, +void TellicoXMLExporter::exportBorrowerXML(TQDomDocument& dom_, TQDomElement& parent_, Data::BorrowerPtr borrower_) const { if(borrower_->isEmpty()) { return; } TQDomElement bElem = dom_.createElement(TQString::tqfromLatin1("borrower")); - tqparent_.appendChild(bElem); + parent_.appendChild(bElem); bElem.setAttribute(TQString::tqfromLatin1("name"), borrower_->name()); bElem.setAttribute(TQString::tqfromLatin1("uid"), borrower_->uid()); @@ -471,12 +471,12 @@ void TellicoXMLExporter::exportBorrowerXML(TQDomDocument& dom_, TQDomElement& tq } } -TQWidget* TellicoXMLExporter::widget(TQWidget* tqparent_, const char* name_/*=0*/) { - if(m_widget && TQT_BASE_OBJECT(m_widget->tqparent()) == TQT_BASE_OBJECT(tqparent_)) { +TQWidget* TellicoXMLExporter::widget(TQWidget* parent_, const char* name_/*=0*/) { + if(m_widget && TQT_BASE_OBJECT(m_widget->tqparent()) == TQT_BASE_OBJECT(parent_)) { return m_widget; } - m_widget = new TQWidget(tqparent_, name_); + m_widget = new TQWidget(parent_, name_); TQVBoxLayout* l = new TQVBoxLayout(m_widget); TQGroupBox* box = new TQGroupBox(1, Qt::Horizontal, i18n("Tellico XML Options"), m_widget); -- cgit v1.2.1