KDevelop API Documentation

hierarchydlg.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2001 by Bernd Gehrmann                                  *
00003  *   bernd@kdevelop.org                                                    *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  ***************************************************************************/
00011 
00012 #ifndef _HIERARCHYDLG_H_
00013 #define _HIERARCHYDLG_H_
00014 
00015 #include <qdialog.h>
00016 
00017 #include "codemodel.h"
00018 
00019 class ClassViewPart;
00020 class KDevLanguageSupport;
00021 class DigraphView;
00022 class ClassToolWidget;
00023 class KComboView;
00024 class QListViewItem;
00025 
00026 class HierarchyDialog : public QDialog
00027 {
00028     Q_OBJECT
00029 
00030 public:
00031     HierarchyDialog( ClassViewPart *part );
00032     ~HierarchyDialog();
00033 
00034 private slots:
00035     void setLanguageSupport(KDevLanguageSupport *ls);
00036     void slotClassComboChoice(QListViewItem *item);
00037     void slotNamespaceComboChoice(QListViewItem *item);
00038     void classSelected(const QString &className);
00039 
00040 private:
00041     void refresh();
00042     void processNamespace(QString prefix, NamespaceDom dom);
00043     void processClass(QString prefix, ClassDom dom);
00044 
00045     QMap<QString, ClassDom> classes;
00046     //QMap<class name, fully qualified class name>
00047     //like MyClass - MyNamespace.MyClass
00048     QMap<QString, QString> uclasses;
00049 
00050     KComboView *namespace_combo;
00051     KComboView *class_combo;
00052     DigraphView *digraph;
00053 //    ClassToolWidget *member_tree;
00054     ClassViewPart *m_part;
00055 };
00056 
00057 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:38 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003