AstDisplayInfo.h

Go to the documentation of this file.
00001 #ifndef ASTDISPLAYINFO_H
00002 #define ASTDISPLAYINFO_H
00003 
00004 
00005 #include <QIcon>
00006 
00010 namespace AstDisplayInfo
00011 {
00012 
00014         enum NodeType
00015         {
00016             ROOT,
00017             INCLUDE_ROOT,
00018             SRC_FILE,
00019             INCLUDE_FILE,
00020             NAMESPACE,
00021             CLASS,
00022             FUNCTION,
00023             LOOP,
00024             UNKNOWN
00025         };
00026 
00028         NodeType getType(SgNode*);
00029 
00035         QString getShortNodeNameDesc(SgNode*);
00036 
00039         QString getShortNodeTypeDesc(SgNode*);
00040 
00042         QIcon nodeIcon(SgNode *);
00044         QIcon includedFilesIcon();
00046         QIcon includeFileIcon();
00048         QIcon sourceFileIcon();
00049 };
00050 
00051 #endif

Generated on Tue Sep 15 14:48:47 2009 for RoseQtWidgets by  doxygen 1.4.7