00001 #ifndef TAGCOLORMAP_H 00002 #define TAGCOLORMAP_H 00003 #include <map> 00004 #include <string> 00005 #include <qcolor.h> 00006 00007 class TagColorMap 00008 { 00009 public: 00010 TagColorMap(); 00011 00012 QColor getColor(std::string type); 00013 00014 00015 private: 00016 std::map<std::string, QColor> colors; 00017 00018 }; 00019 00020 #endif //TAGCOLORMAP_H