summaryrefslogtreecommitdiffstats
path: root/src/notes.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/notes.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/notes.cpp')
-rw-r--r--src/notes.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/notes.cpp b/src/notes.cpp
index 2cbb170..6bf96ab 100644
--- a/src/notes.cpp
+++ b/src/notes.cpp
@@ -101,16 +101,16 @@ TNotesCollection::~TNotesCollection()
void TNotesCollection::addNote(TQListViewItem* item)
{
insert(item, new TNote(item, this));
- TQListViewItem* tqparent = item->tqparent();
- if (tqparent) find(tqparent)->updateView();
+ TQListViewItem* parent = item->parent();
+ if (parent) find(parent)->updateView();
modified = true;
}
void TNotesCollection::addNote(TQListViewItem* item, const TQString& s)
{
insert(item, new TNote(item, this, s));
- TQListViewItem* tqparent = item->tqparent();
- if (tqparent) find(tqparent)->updateView();
+ TQListViewItem* parent = item->parent();
+ if (parent) find(parent)->updateView();
modified = true;
}
@@ -119,12 +119,12 @@ void TNotesCollection::removeNote(TQListViewItem* item)
TNote* note = find(item);
if (!note) qWarning("Internal error while removing note\n");
else {
- TQListViewItem* tqparent = item->tqparent();
+ TQListViewItem* parent = item->parent();
for (TQListViewItemIterator it(item); it.current() &&
(it.current() == item || it.current()->depth() > item->depth()); ++it)
find(it.current())->destroy();
delete item;
- if (tqparent) find(tqparent)->updateView();
+ if (parent) find(parent)->updateView();
modified = true;
}
}