From 03feb89582fc354acaeb1df65a687361a661486d 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/kdebase@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmenuedit/treeview.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kmenuedit') diff --git a/kmenuedit/treeview.cpp b/kmenuedit/treeview.cpp index c657120ef..693ba568c 100644 --- a/kmenuedit/treeview.cpp +++ b/kmenuedit/treeview.cpp @@ -808,11 +808,11 @@ void TreeView::slotDropped (TQDropEvent * e, TQListViewItem *parent, TQListViewI m_drag = 0; return; } - tmpItem = static_cast(tmpItem->tqparent() ); + tmpItem = static_cast(tmpItem->parent() ); } // Remove MenuFolderInfo - TreeItem *oldParentItem = static_cast(m_dragItem->tqparent()); + TreeItem *oldParentItem = static_cast(m_dragItem->parent()); MenuFolderInfo *oldParentFolderInfo = oldParentItem ? oldParentItem->folderInfo() : m_rootFolder; oldParentFolderInfo->take(folderInfo); @@ -1017,7 +1017,7 @@ void TreeView::newsubmenu() } else { - parentItem = static_cast(item->tqparent()); + parentItem = static_cast(item->parent()); folder = parentItem ? parentItem->directory() : TQString::null; } @@ -1093,7 +1093,7 @@ void TreeView::newitem() } else { - parentItem = static_cast(item->tqparent()); + parentItem = static_cast(item->parent()); folder = parentItem ? parentItem->directory() : TQString::null; } @@ -1139,7 +1139,7 @@ void TreeView::newsep() } else { - parentItem = static_cast(item->tqparent()); + parentItem = static_cast(item->parent()); } // create the TreeItem @@ -1181,7 +1181,7 @@ void TreeView::copy( bool cutting ) if (item == 0) return; if (cutting) - setLayoutDirty((TreeItem*)item->tqparent()); + setLayoutDirty((TreeItem*)item->parent()); // clean up old stuff cleanupClipboard(); @@ -1256,7 +1256,7 @@ void TreeView::paste() } else { - parentItem = static_cast(item->tqparent()); + parentItem = static_cast(item->parent()); folder = parentItem ? parentItem->directory() : TQString::null; } @@ -1384,7 +1384,7 @@ void TreeView::del() void TreeView::del(TreeItem *item, bool deleteInfo) { - TreeItem *parentItem = static_cast(item->tqparent()); + TreeItem *parentItem = static_cast(item->parent()); // is file a .directory or a .desktop file if(item->isDirectory()) { -- cgit v1.2.1