summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-05-25 11:57:30 +0200
committerMartin Smith <msmith@trolltech.com>2009-05-25 11:57:30 +0200
commite5615b9cf4c981bb8d0fec48eacd6c11c124a3b0 (patch)
treeacb80ef416f487a326034df2253fa68a67e642e7 /src/gui/painting
parent58f0112b11e42ece4c7fa3456ae46e8c86fa0bd6 (diff)
qdoc: Added some missing qdoc comments.
Task-number: 252491
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qcolor.cpp8
-rw-r--r--src/gui/painting/qcolormap_mac.cpp6
-rw-r--r--src/gui/painting/qcolormap_x11.cpp4
3 files changed, 8 insertions, 10 deletions
diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp
index 1723a197ed..c50004ec49 100644
--- a/src/gui/painting/qcolor.cpp
+++ b/src/gui/painting/qcolor.cpp
@@ -2241,4 +2241,12 @@ QDataStream &operator>>(QDataStream &stream, QColor &color)
\sa QColor::rgb(), QColor::rgba()
*/
+/*! \fn void QColormap::initialize()
+ \internal
+*/
+
+/*! \fn void QColormap::cleanup()
+ \internal
+*/
+
QT_END_NAMESPACE
diff --git a/src/gui/painting/qcolormap_mac.cpp b/src/gui/painting/qcolormap_mac.cpp
index afe03787ad..96da90f7ab 100644
--- a/src/gui/painting/qcolormap_mac.cpp
+++ b/src/gui/painting/qcolormap_mac.cpp
@@ -55,17 +55,11 @@ public:
};
static QColormap *qt_mac_global_map = 0;
-/*!
- Creates the class's internal colormap.
- */
void QColormap::initialize()
{
qt_mac_global_map = new QColormap;
}
-/*!
- Deletes the class's internal colormap.
- */
void QColormap::cleanup()
{
delete qt_mac_global_map;
diff --git a/src/gui/painting/qcolormap_x11.cpp b/src/gui/painting/qcolormap_x11.cpp
index ccf6955100..c9186b18ef 100644
--- a/src/gui/painting/qcolormap_x11.cpp
+++ b/src/gui/painting/qcolormap_x11.cpp
@@ -337,8 +337,6 @@ static void init_direct(QColormapPrivate *d, bool ownColormap)
static QColormap **cmaps = 0;
-/*! \internal
-*/
void QColormap::initialize()
{
Display *display = QX11Info::display();
@@ -578,8 +576,6 @@ void QColormap::initialize()
}
}
-/*! \internal
-*/
void QColormap::cleanup()
{
Display *display = QX11Info::display();