summaryrefslogtreecommitdiffstats
path: root/parts/classview/hierarchydlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview/hierarchydlg.cpp')
-rw-r--r--parts/classview/hierarchydlg.cpp18
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);
}*/
}