summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-05-20 12:45:16 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-05-20 12:45:16 (GMT)
commit7b49dee3036603a99e8367f715d6ebde933ab6ba (patch)
tree1c0d56f5e487e76c5470aeb9b62f2b033f25836d /src/gui/image
parentc6f8b600cb1635bef425b3d2232213fb41ea96bd (diff)
parentfc6e0155cc3fa9beb3b48704a1effe87a74c2779 (diff)
downloadQt-7b49dee3036603a99e8367f715d6ebde933ab6ba.zip
Qt-7b49dee3036603a99e8367f715d6ebde933ab6ba.tar.gz
Qt-7b49dee3036603a99e8367f715d6ebde933ab6ba.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qicon.cpp2
-rw-r--r--src/gui/image/qimage.cpp2
-rw-r--r--src/gui/image/qpixmap.cpp2
-rw-r--r--src/gui/image/qpixmapcache_p.h4
4 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/image/qicon.cpp b/src/gui/image/qicon.cpp
index b2b8c13..471062f 100644
--- a/src/gui/image/qicon.cpp
+++ b/src/gui/image/qicon.cpp
@@ -924,7 +924,7 @@ QList<QSize> QIcon::availableSizes(Mode mode, State state) const
\relates QIcon
\since 4.2
- Writes the given \a icon to the the given \a stream as a PNG
+ Writes the given \a icon to the given \a stream as a PNG
image. If the icon contains more than one image, all images will
be written to the stream. Note that writing the stream to a file
will not produce a valid image file.
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp
index 14e8b8f..25c68bc 100644
--- a/src/gui/image/qimage.cpp
+++ b/src/gui/image/qimage.cpp
@@ -5000,7 +5000,7 @@ QPoint QImage::offset() const
/*!
\fn void QImage::setOffset(const QPoint& offset)
- Sets the the number of pixels by which the image is intended to be
+ Sets the number of pixels by which the image is intended to be
offset by when positioning relative to other images, to \a offset.
\sa offset(), {QImage#Image Information}{Image Information}
diff --git a/src/gui/image/qpixmap.cpp b/src/gui/image/qpixmap.cpp
index 5568c0d..3ca685c 100644
--- a/src/gui/image/qpixmap.cpp
+++ b/src/gui/image/qpixmap.cpp
@@ -1282,7 +1282,7 @@ bool QPixmap::convertFromImage(const QImage &image, ColorMode mode)
/*!
\relates QPixmap
- Writes the given \a pixmap to the the given \a stream as a PNG
+ Writes the given \a pixmap to the given \a stream as a PNG
image. Note that writing the stream to a file will not produce a
valid image file.
diff --git a/src/gui/image/qpixmapcache_p.h b/src/gui/image/qpixmapcache_p.h
index 66b30d2..5aa6eaf 100644
--- a/src/gui/image/qpixmapcache_p.h
+++ b/src/gui/image/qpixmapcache_p.h
@@ -58,6 +58,8 @@
#include <private/qpixmap_raster_p.h>
#include "qcache.h"
+QT_BEGIN_NAMESPACE
+
class QPixmapCache::KeyData
{
public:
@@ -89,4 +91,6 @@ public:
}
};
+QT_END_NAMESPACE
+
#endif // QPIXMAPCACHE_P_H