Commit a4c11996 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Renamed Document::setBackGroundColor to setBackgroundColor

Patch by Jeroen Hoolmans
parent 8b5236f1
......@@ -52,7 +52,6 @@
#include <kis_filter_strategy.h>
#include <kis_guides_config.h>
#include <kis_coordinates_converter.h>
#include <kis_layer_utils.h>
#include <KisMimeDatabase.h>
#include <KoColor.h>
......@@ -208,7 +207,7 @@ QColor Document::backgroundColor()
return color.toQColor();
}
bool Document::setBackGroundColor(const QColor &color)
bool Document::setBackgroundColor(const QColor &color)
{
if (!d->document) return false;
if (!d->document->image()) return false;
......
......@@ -199,13 +199,13 @@ public Q_SLOTS:
QColor backgroundColor();
/**
* @brief setBackGroundColor sets the background color of the document. It will trigger a projection
* @brief setBackgroundColor sets the background color of the document. It will trigger a projection
* update.
*
* @param color A QColor. The color will be converted from sRGB.
* @return bool
*/
bool setBackGroundColor(const QColor &color);
bool setBackgroundColor(const QColor &color);
/**
* @brief documentInfo creates and XML document representing document and author information.
......
......@@ -27,7 +27,7 @@ public Q_SLOTS:
bool setColorProfile(const QString &colorProfile);
bool setColorSpace(const QString &value, const QString &colorDepth, const QString &colorProfile);
QColor backgroundColor();
bool setBackGroundColor(const QColor &color);
bool setBackgroundColor(const QColor &color);
QString documentInfo() const;
void setDocumentInfo(const QString &document);
QString fileName() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment