diff options
Diffstat (limited to 'src/modules/aliaseditor')
-rw-r--r-- | src/modules/aliaseditor/aliaseditor.cpp | 8 | ||||
-rw-r--r-- | src/modules/aliaseditor/aliaseditor.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/aliaseditor/aliaseditor.cpp b/src/modules/aliaseditor/aliaseditor.cpp index 74d37529..a8c8c6fe 100644 --- a/src/modules/aliaseditor/aliaseditor.cpp +++ b/src/modules/aliaseditor/aliaseditor.cpp @@ -310,7 +310,7 @@ TQString KviAliasEditor::buildFullItemName(KviAliasEditorListViewItem * it) { if(!it) return TQString(); TQString szName = it->name(); - KviAliasNamespaceListViewItem * nit = it->tqparentNamespaceItem(); + KviAliasNamespaceListViewItem * nit = it->parentNamespaceItem(); while(nit) { TQString tmp = nit->name(); @@ -319,7 +319,7 @@ TQString KviAliasEditor::buildFullItemName(KviAliasEditorListViewItem * it) szName.prepend("::"); szName.prepend(tmp); } - nit = nit->tqparentNamespaceItem(); + nit = nit->parentNamespaceItem(); } return szName; } @@ -1024,7 +1024,7 @@ void KviAliasEditor::newAlias() { if(!itemExists(m_pLastClickedItem,m_pListView->firstChild()))return; // dead ? if(m_pLastClickedItem->isAlias()) - m_pLastClickedItem = m_pLastClickedItem->tqparentNamespaceItem(); + m_pLastClickedItem = m_pLastClickedItem->parentNamespaceItem(); } TQString szNewName = askForAliasName(__tr2qs("Add Alias"),__tr2qs("Please enter the name for the new alias"),"myfunction"); @@ -1048,7 +1048,7 @@ void KviAliasEditor::newNamespace() { if(!itemExists(m_pLastClickedItem,m_pListView->firstChild()))return; // dead ? if(m_pLastClickedItem->isAlias()) - m_pLastClickedItem = m_pLastClickedItem->tqparentNamespaceItem(); + m_pLastClickedItem = m_pLastClickedItem->parentNamespaceItem(); } diff --git a/src/modules/aliaseditor/aliaseditor.h b/src/modules/aliaseditor/aliaseditor.h index 570fe943..927963ba 100644 --- a/src/modules/aliaseditor/aliaseditor.h +++ b/src/modules/aliaseditor/aliaseditor.h @@ -60,7 +60,7 @@ public: bool isAlias(){ return m_eType == Alias; }; bool isNamespace(){ return m_eType == Namespace; }; void setParentNamespaceItem(KviAliasNamespaceListViewItem* it){ m_pParentNamespaceItem=it; }; - KviAliasNamespaceListViewItem * tqparentNamespaceItem(){ return m_pParentNamespaceItem; }; + KviAliasNamespaceListViewItem * parentNamespaceItem(){ return m_pParentNamespaceItem; }; virtual TQString key(int column,bool bAsc) const; }; |