itom  3.0.0
classNavigatorItem.h
1 /* ********************************************************************
2  itom software
3  URL: http://www.uni-stuttgart.de/ito
4  Copyright (C) 2016, Institut fuer Technische Optik (ITO),
5  Universitaet Stuttgart, Germany
6 
7  This file is part of itom.
8 
9  itom is free software; you can redistribute it and/or modify it
10  under the terms of the GNU Library General Public Licence as published by
11  the Free Software Foundation; either version 2 of the Licence, or (at
12  your option) any later version.
13 
14  itom is distributed in the hope that it will be useful, but
15  WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
17  General Public Licence for more details.
18 
19  You should have received a copy of the GNU Library General Public License
20  along with itom. If not, see <http://www.gnu.org/licenses/>.
21 *********************************************************************** */
22 
23 #ifndef CLASSNAVIGATORITEM_H
24 #define CLASSNAVIGATORITEM_H
25 
26 #include <qlist.h>
27 #include <qmap.h>
28 #include <qstring.h>
29 #include <qstringlist.h>
30 #include <qicon.h>
31 
32 namespace ito {
33 
34 class ClassNavigatorItem;
35 class t_type;
36 
38 {
39 
40 public:
41  // Enumeration
42  enum t_type {typePyRoot, typePyGlobal, typePyClass, typePyDef, typePyStaticDef, typePyClMethDef};
43 
46 
47  // Methods
48  void setInternalType(t_type t);
49  void setIcon(t_type t);
50 
51  // Variables
52  int m_lineno;
53  QString m_name;
54  QString m_args;
55  QIcon m_icon;
56  QList<const ClassNavigatorItem*> m_member;
57  t_type m_internalType;
58  bool m_priv;
59 
60 };
61 
62 } //end namespace ito
63 
64 #endif
65 
Definition: apiFunctionsGraph.cpp:39
Definition: classNavigatorItem.h:37