diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:12 -0600 |
commit | 6b45a7b7b2a804ccb2d522eb9ba6423fedb59b8f (patch) | |
tree | a08b27e3f4fde1ed82a5f061a2725998e8012f93 /ksig/siglistviewitem.cpp | |
parent | ca82971624269719d487c6f7980d7237f9420036 (diff) | |
download | tdeaddons-6b45a7b7b2a804ccb2d522eb9ba6423fedb59b8f.tar.gz tdeaddons-6b45a7b7b2a804ccb2d522eb9ba6423fedb59b8f.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit ca82971624269719d487c6f7980d7237f9420036.
Diffstat (limited to 'ksig/siglistviewitem.cpp')
-rw-r--r-- | ksig/siglistviewitem.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ksig/siglistviewitem.cpp b/ksig/siglistviewitem.cpp index 0442c2e..7f6d12f 100644 --- a/ksig/siglistviewitem.cpp +++ b/ksig/siglistviewitem.cpp @@ -56,14 +56,14 @@ void SigListViewItem::refreshText() void SigListViewItem::nodeToText(const TQDomNode &n, TQString &s) { - TQDomNodeList children = n.childNodes(); + TQDomNodeList tqchildren = n.childNodes(); - for(uint i = 0; i < children.count(); i++) { - if(children.item(i).isText()) - s.append(children.item(i).toText().data()); + for(uint i = 0; i < tqchildren.count(); i++) { + if(tqchildren.item(i).isText()) + s.append(tqchildren.item(i).toText().data()); else { - nodeToText(children.item(i), s); - if(children.item(i).isElement() && children.item(i).toElement().tagName() == "p") { + nodeToText(tqchildren.item(i), s); + if(tqchildren.item(i).isElement() && tqchildren.item(i).toElement().tagName() == "p") { s.append("\n"); } } @@ -90,12 +90,12 @@ SigListViewItem::SigListViewItem(TQListView *parent, TQDomDocument document, TQD void SigListViewItem::render() { if(dirty) { - TQDomNodeList children = element.childNodes(); + TQDomNodeList tqchildren = element.childNodes(); while(!element.firstChild().isNull()) element.removeChild(element.firstChild()); - // create new children + // create new tqchildren TQStringList lines = TQStringList::split("\n", elementText, true); for(TQStringList::Iterator it = lines.begin(); it != lines.end(); it++) { |