diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 03feb89582fc354acaeb1df65a687361a661486d (patch) | |
tree | 03a4187dca202e597505821cf81e2ec419b6e2ff /konqueror/keditbookmarks/listview.cpp | |
parent | 9a3f0aacd44fb866833ebcb852df3cd31475cb33 (diff) | |
download | tdebase-03feb89582fc354acaeb1df65a687361a661486d.tar.gz tdebase-03feb89582fc354acaeb1df65a687361a661486d.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/keditbookmarks/listview.cpp')
-rw-r--r-- | konqueror/keditbookmarks/listview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/konqueror/keditbookmarks/listview.cpp b/konqueror/keditbookmarks/listview.cpp index 7f2d785ae..62702a1c3 100644 --- a/konqueror/keditbookmarks/listview.cpp +++ b/konqueror/keditbookmarks/listview.cpp @@ -376,7 +376,7 @@ KEBListViewItem* ListView::getItemAtAddress(const TQString &address) const { void ListView::setOpen(bool open) { for (TQListViewItemIterator it(m_listView); it.current() != 0; ++it) - if (it.current()->tqparent()) + if (it.current()->parent()) it.current()->setOpen(open); } @@ -456,7 +456,7 @@ void ListView::updateListView() { KEBListViewItem * item = static_cast<KEBListViewItem*>(m_listView->currentItem()); if(item->isEmptyFolderPadder()) - s_current_address = static_cast<KEBListViewItem*>(item->tqparent())->bookmark().address(); + s_current_address = static_cast<KEBListViewItem*>(item->parent())->bookmark().address(); else s_current_address = item->bookmark().address(); } @@ -804,7 +804,7 @@ TQDragObject *KEBListView::dragObject() { bool KEBListViewItem::parentSelected(TQListViewItem * item) { TQListViewItem *root = item->listView()->firstChild(); - for( TQListViewItem *parent = item->tqparent(); parent ; parent = parent->tqparent()) + for( TQListViewItem *parent = item->parent(); parent ; parent = parent->parent()) if (parent->isSelected() && parent != root) return true; return false; @@ -814,7 +814,7 @@ void KEBListViewItem::setSelected(bool s) { if( isEmptyFolderPadder()) { - tqparent()->setSelected(true); + parent()->setSelected(true); return; } @@ -904,7 +904,7 @@ KEBListViewItem::KEBListViewItem(TQListView *parent, TQListViewItem *after, cons // DESIGN - move this into kbookmark or into a helper void KEBListViewItem::setOpen(bool open) { - if (!tqparent()) + if (!parent()) return; m_bookmark.internalElement().setAttribute("folded", open ? "no" : "yes"); TQListViewItem::setOpen(open); |