summaryrefslogtreecommitdiffstats
path: root/ksig/siglistviewitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:52:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:52:34 -0600
commit75112ed8e227f656f98523b7ffdad5422d9a6f11 (patch)
tree23041ac1bbe364dcc39dbbd0e86ff6930494e036 /ksig/siglistviewitem.cpp
parentb88830e9111dc4375bc1461c3f7b3e7b3e73f733 (diff)
downloadtdeaddons-75112ed8e227f656f98523b7ffdad5422d9a6f11.tar.gz
tdeaddons-75112ed8e227f656f98523b7ffdad5422d9a6f11.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'ksig/siglistviewitem.cpp')
-rw-r--r--ksig/siglistviewitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksig/siglistviewitem.cpp b/ksig/siglistviewitem.cpp
index 7f6d12f..0442c2e 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 tqchildren = n.childNodes();
+ TQDomNodeList children = n.childNodes();
- for(uint i = 0; i < tqchildren.count(); i++) {
- if(tqchildren.item(i).isText())
- s.append(tqchildren.item(i).toText().data());
+ for(uint i = 0; i < children.count(); i++) {
+ if(children.item(i).isText())
+ s.append(children.item(i).toText().data());
else {
- nodeToText(tqchildren.item(i), s);
- if(tqchildren.item(i).isElement() && tqchildren.item(i).toElement().tagName() == "p") {
+ nodeToText(children.item(i), s);
+ if(children.item(i).isElement() && children.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 tqchildren = element.childNodes();
+ TQDomNodeList children = element.childNodes();
while(!element.firstChild().isNull())
element.removeChild(element.firstChild());
- // create new tqchildren
+ // create new children
TQStringList lines = TQStringList::split("\n", elementText, true);
for(TQStringList::Iterator it = lines.begin(); it != lines.end(); it++) {