From 87db6e5db59bc0956011a088e4f3e17d58095859 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- src/notes.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/notes.cpp') 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; } } -- cgit v1.2.1