Source-highlight Qt Library
srchiliteqt::QtColorMap Class Reference

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

#include <QtColorMap.h>

Inheritance diagram for srchiliteqt::QtColorMap:
Collaboration diagram for srchiliteqt::QtColorMap:

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: