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 /kmenuedit | |
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 'kmenuedit')
-rw-r--r-- | kmenuedit/treeview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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<TreeItem*>(tmpItem->tqparent() ); + tmpItem = static_cast<TreeItem*>(tmpItem->parent() ); } // Remove MenuFolderInfo - TreeItem *oldParentItem = static_cast<TreeItem*>(m_dragItem->tqparent()); + TreeItem *oldParentItem = static_cast<TreeItem*>(m_dragItem->parent()); MenuFolderInfo *oldParentFolderInfo = oldParentItem ? oldParentItem->folderInfo() : m_rootFolder; oldParentFolderInfo->take(folderInfo); @@ -1017,7 +1017,7 @@ void TreeView::newsubmenu() } else { - parentItem = static_cast<TreeItem*>(item->tqparent()); + parentItem = static_cast<TreeItem*>(item->parent()); folder = parentItem ? parentItem->directory() : TQString::null; } @@ -1093,7 +1093,7 @@ void TreeView::newitem() } else { - parentItem = static_cast<TreeItem*>(item->tqparent()); + parentItem = static_cast<TreeItem*>(item->parent()); folder = parentItem ? parentItem->directory() : TQString::null; } @@ -1139,7 +1139,7 @@ void TreeView::newsep() } else { - parentItem = static_cast<TreeItem*>(item->tqparent()); + parentItem = static_cast<TreeItem*>(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<TreeItem*>(item->tqparent()); + parentItem = static_cast<TreeItem*>(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<TreeItem*>(item->tqparent()); + TreeItem *parentItem = static_cast<TreeItem*>(item->parent()); // is file a .directory or a .desktop file if(item->isDirectory()) { |