From 75112ed8e227f656f98523b7ffdad5422d9a6f11 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Mon, 19 Dec 2011 11:52:34 -0600
Subject: Remove additional unneeded tq method conversions

---
 ksig/ksig.cpp            |  8 ++++----
 ksig/siglistviewitem.cpp | 16 ++++++++--------
 2 files changed, 12 insertions(+), 12 deletions(-)

(limited to 'ksig')

diff --git a/ksig/ksig.cpp b/ksig/ksig.cpp
index 4d6938b..1cc7ca1 100644
--- a/ksig/ksig.cpp
+++ b/ksig/ksig.cpp
@@ -91,8 +91,8 @@ void KSig::setupLayout()
     sigEdit->setEnabled(false);
     sigEdit->setCheckSpellingEnabled(true);
 
-    statusBar()->insertItem(i18n(" Line: %1 ").tqarg(0), LineNumber, 0, true);
-    statusBar()->insertItem(i18n(" Col: %1 ").tqarg(0), ColumnNumber, 0, true);
+    statusBar()->insertItem(i18n(" Line: %1 ").arg(0), LineNumber, 0, true);
+    statusBar()->insertItem(i18n(" Col: %1 ").arg(0), ColumnNumber, 0, true);
     statusBar()->show();
     
     updateListLock = false;
@@ -261,8 +261,8 @@ void KSig::updateEdit()
 
 void KSig::updateStatus(int line, int column)
 {
-    statusBar()->changeItem(i18n(" Line: %1 ").tqarg(line + 1), LineNumber);
-    statusBar()->changeItem(i18n(" Col: %1 ").tqarg(column + 1), ColumnNumber);
+    statusBar()->changeItem(i18n(" Line: %1 ").arg(line + 1), LineNumber);
+    statusBar()->changeItem(i18n(" Col: %1 ").arg(column + 1), ColumnNumber);
 }
 
 void KSig::quit()
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++) {
-- 
cgit v1.2.1