summaryrefslogtreecommitdiffstats
path: root/src/modules/links
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit9ca32ef31a2566af48c06f258722738df92366af (patch)
treec847db3bf1bb88b7863fed0cc60eef6bf641306a /src/modules/links
parent72aaee9802d447ee21340b011856b9b355a58f1a (diff)
downloadkvirc-9ca32ef31a2566af48c06f258722738df92366af.tar.gz
kvirc-9ca32ef31a2566af48c06f258722738df92366af.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/links')
-rw-r--r--src/modules/links/linkswindow.cpp12
-rw-r--r--src/modules/links/linkswindow.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/links/linkswindow.cpp b/src/modules/links/linkswindow.cpp
index 90873c33..e01b3165 100644
--- a/src/modules/links/linkswindow.cpp
+++ b/src/modules/links/linkswindow.cpp
@@ -232,10 +232,10 @@ void KviLinksWindow::endOfLinks()
if(l->host.contains('*'))wildServers++;
it = insertLink(l);
if(!it){
- output(KVI_OUT_SYSTEMERROR,__tr2qs("Broken link: Missing tqparent (%s) for %s (%d hops): %s (used /LINKS <tqmask> ?)"),
- l->tqparent.ptr(),l->host.ptr(),l->hops,l->description.ptr());
+ output(KVI_OUT_SYSTEMERROR,__tr2qs("Broken link: Missing parent (%s) for %s (%d hops): %s (used /LINKS <mask> ?)"),
+ l->parent.ptr(),l->host.ptr(),l->hops,l->description.ptr());
brokenLinks++;
- KviStr tmp(KviStr::Format,__tr2qs("%s: Parent link %s"),l->description.ptr(),l->tqparent.ptr());
+ KviStr tmp(KviStr::Format,__tr2qs("%s: Parent link %s"),l->description.ptr(),l->parent.ptr());
KviStr tmp2(KviStr::Format,"%d",l->hops);
if(root)it = new KviTalListViewItem(m_pListView,root,TQString(l->host.ptr()),TQString(tmp2.ptr()),TQString(tmp.ptr()));
else {
@@ -243,7 +243,7 @@ void KviLinksWindow::endOfLinks()
it = new KviTalListViewItem(m_pListView,TQString(l->host.ptr()),TQString(tmp2.ptr()),TQString(tmp.ptr()));
}
} else {
- it = it->tqparent();
+ it = it->parent();
if(it)
{
int links = it->childCount() + 1;
@@ -307,7 +307,7 @@ void KviLinksWindow::endOfLinks()
KviTalListViewItem * KviLinksWindow::insertLink(KviLink *l)
{
__range_valid(l->hops > 0);
- KviTalListViewItem * i = getItemByHost(l->tqparent.ptr(),0);
+ KviTalListViewItem * i = getItemByHost(l->parent.ptr(),0);
KviTalListViewItem * it = 0;
if(!i)return 0;
else {
@@ -405,7 +405,7 @@ void KviLinksWindow::processData(KviIrcMessage *msg)
KviLink * l = new KviLink;
l->host = msg->safeParam(1);
- l->tqparent = msg->safeParam(2);
+ l->parent = msg->safeParam(2);
const char * tr = msg->safeTrailing();
diff --git a/src/modules/links/linkswindow.h b/src/modules/links/linkswindow.h
index d21a6045..d0af9ebb 100644
--- a/src/modules/links/linkswindow.h
+++ b/src/modules/links/linkswindow.h
@@ -39,7 +39,7 @@ class KviThemedLabel;
typedef struct _KviLink
{
KviStr host;
- KviStr tqparent;
+ KviStr parent;
int hops;
KviStr description;
} KviLink;