summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qpixelformat.cpp4
-rw-r--r--src/gui/kernel/qpixelformat.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qpixelformat.cpp b/src/gui/kernel/qpixelformat.cpp
index 436694915f..1e3345ee7a 100644
--- a/src/gui/kernel/qpixelformat.cpp
+++ b/src/gui/kernel/qpixelformat.cpp
@@ -85,7 +85,7 @@ QT_BEGIN_NAMESPACE
\value Indexed The color model uses a color palette.
- \value GrayScale The color model is GrayScale.
+ \value Grayscale The color model is Grayscale.
\value CMYK The color model is CMYK.
@@ -302,7 +302,7 @@ Q_STATIC_ASSERT(sizeof(QPixelFormatGrayScale) == sizeof(QPixelFormat));
\fn QPixelFormatGrayScale::QPixelFormatGrayScale(uchar channelSize,
TypeInterpretation typeInterpretation = UnsignedInteger)
- Constructor for creating a GrayScale format. Monochrome formats can be
+ Constructor for creating a Grayscale format. Monochrome formats can be
described by passing 1 to \a channelSize. Its also possible to define very
accurate greyscale formats using doubles to describe each pixel by passing 8
as \a channelSize and FloatingPoint as \a typeInterpretation.
diff --git a/src/gui/kernel/qpixelformat.h b/src/gui/kernel/qpixelformat.h
index b020a53e6d..0e5df679f8 100644
--- a/src/gui/kernel/qpixelformat.h
+++ b/src/gui/kernel/qpixelformat.h
@@ -53,7 +53,7 @@ public:
RGB,
BGR,
Indexed,
- GrayScale,
+ Grayscale,
CMYK,
HSL,
HSV,
@@ -360,7 +360,7 @@ QPixelFormatRgb::QPixelFormatRgb(uchar red,
Q_DECL_CONSTEXPR
QPixelFormatGrayScale::QPixelFormatGrayScale(uchar channelSize,
TypeInterpretation typeInt) Q_DECL_NOTHROW
- : QPixelFormat(GrayScale,
+ : QPixelFormat(Grayscale,
channelSize,
0,
0,