summaryrefslogtreecommitdiffstats
path: root/parts/snippet/snippet_widget.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
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /parts/snippet/snippet_widget.cpp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/snippet/snippet_widget.cpp')
-rw-r--r--parts/snippet/snippet_widget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/snippet/snippet_widget.cpp b/parts/snippet/snippet_widget.cpp
index e460cb67..9bcfa55c 100644
--- a/parts/snippet/snippet_widget.cpp
+++ b/parts/snippet/snippet_widget.cpp
@@ -85,7 +85,7 @@ SnippetWidget::~SnippetWidget()
writeConfig();
delete _cfg;
- /* We need to delete the child items before the tqparent items
+ /* We need to delete the child items before the parent items
otherwise KDevelop would crash on exiting */
SnippetItem * item;
while (_list.count() > 0) {
@@ -111,7 +111,7 @@ void SnippetWidget::slotAdd()
which the selected item is a child of*/
SnippetGroup * group = dynamic_cast<SnippetGroup*>(selectedItem());
if (!group)
- group = dynamic_cast<SnippetGroup*>(selectedItem()->tqparent());
+ group = dynamic_cast<SnippetGroup*>(selectedItem()->parent());
/*fill the combobox with the names of all SnippetGroup entries*/
for (SnippetItem *it=_list.first(); it; it=_list.next()) {
@@ -218,10 +218,10 @@ void SnippetWidget::slotEdit()
pSnippet->setName( dlg.snippetName->text() );
pSnippet->setText( dlg.snippetText->text() );
- /* if the user changed the tqparent we need to move the snippet */
+ /* if the user changed the parent we need to move the snippet */
if ( SnippetItem::findGroupById(pSnippet->getParent(), _list)->getName() != dlg.cbGroup->currentText() ) {
SnippetGroup * newGroup = dynamic_cast<SnippetGroup*>(SnippetItem::findItemByName(dlg.cbGroup->currentText(), _list));
- pSnippet->tqparent()->takeItem(pSnippet);
+ pSnippet->parent()->takeItem(pSnippet);
newGroup->insertItem(pSnippet);
pSnippet->resetParent();
}
@@ -917,7 +917,7 @@ void SnippetWidget::slotDropped(TQDropEvent *e, TQListViewItem *)
SnippetGroup *group = dynamic_cast<SnippetGroup *>(item2);
if (!group)
- group = dynamic_cast<SnippetGroup *>(item2->tqparent());
+ group = dynamic_cast<SnippetGroup *>(item2->parent());
TQCString dropped;
TQByteArray data = e->tqencodedData("text/plain");