diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
commit | 6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch) | |
tree | ab69e390f7962b7e7dda1a3a64f035c61c751cf4 /parts/classview/hierarchydlg.cpp | |
parent | aba2788b428dc53243407902e9ccbb20b97a69fd (diff) | |
download | tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip |
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'parts/classview/hierarchydlg.cpp')
-rw-r--r-- | parts/classview/hierarchydlg.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/parts/classview/hierarchydlg.cpp b/parts/classview/hierarchydlg.cpp index 6901926b..c8761861 100644 --- a/parts/classview/hierarchydlg.cpp +++ b/parts/classview/hierarchydlg.cpp @@ -28,7 +28,7 @@ #include <tqapplication.h> #include <tqsplitter.h> -#include "tdevlanguagesupport.h" +#include "kdevlanguagesupport.h" #include "kcomboview.h" #include "classviewpart.h" @@ -105,7 +105,7 @@ void HierarchyDialog::save() { TQFileInfo fi(dlg.selectedURL().pathOrURL()); TQApplication::setOverrideCursor( TQt::waitCursor ); - TDevLanguageSupport *ls = m_part->languageSupport(); + KDevLanguageSupport *ls = m_part->languageSupport(); for (TQMap<TQString, ClassDom>::const_iterator it = classes.begin(); it != classes.end(); ++it) { kdDebug(9003) << "Adding class to graph: " << it.key() << endl; @@ -134,7 +134,7 @@ void HierarchyDialog::refresh() ViewCombosOp::refreshNamespaces(m_part, namespace_combo); processNamespace("", m_part->codeModel()->globalNamespace()); - TDevLanguageSupport *ls = m_part->languageSupport(); + KDevLanguageSupport *ls = m_part->languageSupport(); for (TQMap<TQString, ClassDom>::const_iterator it = classes.begin(); it != classes.end(); ++it) { @@ -154,7 +154,7 @@ void HierarchyDialog::refresh() digraph->process(); } -void HierarchyDialog::setLanguageSupport(TDevLanguageSupport *ls) +void HierarchyDialog::setLanguageSupport(KDevLanguageSupport *ls) { if (ls) connect(ls, TQT_SIGNAL(updatedSourceInfo()), this, TQT_SLOT(refresh())); @@ -169,7 +169,7 @@ void HierarchyDialog::slotClassComboChoice(TQListViewItem * item) if (!ci) return; - TDevLanguageSupport *ls = m_part->languageSupport(); + KDevLanguageSupport *ls = m_part->languageSupport(); TQString className = ls->formatClassName(uclasses[item->text(0)]); digraph->setSelected(className); @@ -188,7 +188,7 @@ void HierarchyDialog::slotClassComboChoice( const TQString& itemText ) if (!ci) return; - TDevLanguageSupport *ls = m_part->languageSupport(); + KDevLanguageSupport *ls = m_part->languageSupport(); TQString className = ls->formatClassName(uclasses[item->text(0)]); digraph->setSelected(className); @@ -205,10 +205,10 @@ void HierarchyDialog::classSelected(const TQString &/*className*/) /* ParsedClass *currentClass = m_part->classStore()->getClassByName(className); member_tree->clear(); if (currentClass) { - TDevLanguageSupport::Features features = m_part->languageSupport()->features(); - if (features & TDevLanguageSupport::Functions) + KDevLanguageSupport::Features features = m_part->languageSupport()->features(); + if (features & KDevLanguageSupport::Functions) member_tree->insertAllClassMethods(currentClass, (PIAccess)-1); - if (features & TDevLanguageSupport::Variables) + if (features & KDevLanguageSupport::Variables) member_tree->insertAllClassAttributes(currentClass, (PIAccess)-1); }*/ } |