summaryrefslogtreecommitdiffstats
path: root/src/knowittree.cpp
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
commit87db6e5db59bc0956011a088e4f3e17d58095859 (patch)
tree7c3d3be38154a6b5561a5abf4d569e1039d0e94e /src/knowittree.cpp
parent99be31af9886eab5fd5bdab6e1e7887ea71945d2 (diff)
downloadknowit-87db6e5db59bc0956011a088e4f3e17d58095859.tar.gz
knowit-87db6e5db59bc0956011a088e4f3e17d58095859.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knowit@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knowittree.cpp')
-rw-r--r--src/knowittree.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/knowittree.cpp b/src/knowittree.cpp
index 055b1b9..b3ac8ef 100644
--- a/src/knowittree.cpp
+++ b/src/knowittree.cpp
@@ -22,8 +22,8 @@
#include <tqwhatsthis.h>
#include "knowittree.h"
-KnowitTree::KnowitTree(TQWidget* tqparent, const char* name)
- : KListView(tqparent, name)
+KnowitTree::KnowitTree(TQWidget* parent, const char* name)
+ : KListView(parent, name)
{
setMinimumSize(150, 150);
addColumn(i18n("Notes"));
@@ -44,16 +44,16 @@ KnowitTree::KnowitTree(TQWidget* tqparent, const char* name)
void KnowitTree::takeNode(TQListViewItem* item)
{
- if (item->tqparent())
- item->tqparent()->takeItem(item);
+ if (item->parent())
+ item->parent()->takeItem(item);
else
takeItem(item);
}
-void KnowitTree::insertNode(TQListViewItem* tqparent, TQListViewItem* item, TQListViewItem* after)
+void KnowitTree::insertNode(TQListViewItem* parent, TQListViewItem* item, TQListViewItem* after)
{
- if (tqparent)
- tqparent->insertItem(item);
+ if (parent)
+ parent->insertItem(item);
else
insertItem(item);
if (after)
@@ -133,7 +133,7 @@ void KnowitTree::slotItemEnd()
void KnowitTree::slotItemLeft()
{
if (currentItem())
- setCurrentItem(currentItem()->tqparent());
+ setCurrentItem(currentItem()->parent());
}
void KnowitTree::slotItemRight()