diff options
Diffstat (limited to 'parts/classview/classtreebase.cpp')
-rw-r--r-- | parts/classview/classtreebase.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/parts/classview/classtreebase.cpp b/parts/classview/classtreebase.cpp index 9e052418..66e23173 100644 --- a/parts/classview/classtreebase.cpp +++ b/parts/classview/classtreebase.cpp @@ -22,10 +22,10 @@ #include <tdelocale.h> #include <kiconloader.h> -#include "kdevcore.h" -#include "kdevlanguagesupport.h" -#include "kdevmainwindow.h" -#include "kdevpartcontroller.h" +#include "tdevcore.h" +#include "tdevlanguagesupport.h" +#include "tdevmainwindow.h" +#include "tdevpartcontroller.h" #include "classstore.h" #include "classviewpart.h" @@ -36,10 +36,10 @@ TDEPopupMenu *ClassTreeItem::createPopup() if (!m_item || m_item->itemType() == PIT_SCOPE) return 0; - KDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features(); + TDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features(); TDEPopupMenu *popup = new TDEPopupMenu(); - if (features & KDevLanguageSupport::Declarations) + if (features & TDevLanguageSupport::Declarations) popup->insertItem( i18n("Go to Declaration"), classTree(), TQT_SLOT(slotGotoDeclaration()) ); if (m_item->itemType() == PIT_METHOD) popup->insertItem( i18n("Go to Definition"), classTree(), TQT_SLOT(slotGotoImplementation()) ); @@ -49,8 +49,8 @@ TDEPopupMenu *ClassTreeItem::createPopup() case PIT_CLASS: { title = i18n("Class"); - bool hasAddMethod = features & KDevLanguageSupport::AddMethod; - bool hasAddAttribute = features & KDevLanguageSupport::AddAttribute; + bool hasAddMethod = features & TDevLanguageSupport::AddMethod; + bool hasAddAttribute = features & TDevLanguageSupport::AddAttribute; if (hasAddMethod) popup->insertItem( i18n("Add Method..."), classTree(), TQT_SLOT(slotAddMethod())); if (hasAddAttribute) @@ -168,7 +168,7 @@ void ClassTreeScopeItem::setOpen(bool o) ClassTreeItem *lastItem = 0; // Ok, this is a hack... - KDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features(); + TDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features(); // Add namespaces TQValueList<ParsedScopeContainer*> scopeList = pScope->getSortedScopeList(); @@ -176,7 +176,7 @@ void ClassTreeScopeItem::setOpen(bool o) for (it = scopeList.begin(); it != scopeList.end(); ++it) lastItem = new ClassTreeScopeItem(this, lastItem, *it); - if (features & KDevLanguageSupport::Classes) { + if (features & TDevLanguageSupport::Classes) { // Add classes TQValueList<ParsedClass*> classList = pScope->getSortedClassList(); TQValueList<ParsedClass*>::ConstIterator it; @@ -184,7 +184,7 @@ void ClassTreeScopeItem::setOpen(bool o) lastItem = new ClassTreeClassItem(this, lastItem, *it); } - if (features & KDevLanguageSupport::Structs) { + if (features & TDevLanguageSupport::Structs) { // Add structs TQValueList<ParsedClass*> structList = pScope->getSortedStructList(); TQValueList<ParsedClass*>::ConstIterator it; @@ -192,7 +192,7 @@ void ClassTreeScopeItem::setOpen(bool o) lastItem = new ClassTreeClassItem(this, lastItem, *it, true); } - if (features & KDevLanguageSupport::Functions) { + if (features & TDevLanguageSupport::Functions) { // Add functions TQValueList<ParsedMethod*> methodList = pScope->getSortedMethodList(); TQValueList<ParsedMethod*>::ConstIterator it; @@ -200,7 +200,7 @@ void ClassTreeScopeItem::setOpen(bool o) lastItem = new ClassTreeMethodItem(this, lastItem, *it); } - if (features & KDevLanguageSupport::Variables) { + if (features & TDevLanguageSupport::Variables) { // Add attributes TQValueList<ParsedAttribute*> attrList = pScope->getSortedAttributeList(); TQValueList<ParsedAttribute*>::ConstIterator it; |