26  return mColors.value( role );
 
 
   31  mColors[role] = 
color;
 
 
void setColor(ColorRole role, const QColor &color)
Sets the color to use in the editor for the specified role.
 
QColor color(ColorRole role) const
Returns the color to use in the editor for the specified role.
 
QgsCodeEditorColorScheme(const QString &id=QString(), const QString &name=QString())
Constructor for QgsCodeEditorColorScheme.
 
void setColors(const QMap< ColorRole, QColor > &colors)
Sets all colors for the scheme.