srchiliteqt::QtColorMap Class Reference

Map for source-highlight colors into qt colors (actually, into the format RRGGBB). More...

#include <QtColorMap.h>

Inherits std::map< std::string, std::string >.

Collaboration diagram for srchiliteqt::QtColorMap:
Collaboration graph
[legend]

List of all members.

Public Member Functions

std::string getColor (const std::string &color)
 Returns the color associated to the passed string (if the string is already of the shape "#RRGGBB", then it returns the string "#RRGGBB" itself, without the quotes).

Detailed Description

Map for source-highlight colors into qt colors (actually, into the format RRGGBB).


Member Function Documentation

std::string srchiliteqt::QtColorMap::getColor ( const std::string &  color  ) 

Returns the color associated to the passed string (if the string is already of the shape "#RRGGBB", then it returns the string "#RRGGBB" itself, without the quotes).

Parameters:
color 
Returns:
the color associated to the passed string

The documentation for this class was generated from the following files:

Generated on Sat Mar 6 11:23:00 2010 for Source-highlight Qt Library by  doxygen 1.6.1