summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-09-01 07:58:30 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-09-01 07:58:30 (GMT)
commit632c430a70e2aa50d57c80e35e15391f0b859749 (patch)
treeb7a946058d04f3d743bec6bfc08dd7fc2707c52e /src
parentdbf938ed01a9d38db3a634db8548a56ddb241b38 (diff)
downloadQt-632c430a70e2aa50d57c80e35e15391f0b859749.zip
Qt-632c430a70e2aa50d57c80e35e15391f0b859749.tar.gz
Qt-632c430a70e2aa50d57c80e35e15391f0b859749.tar.bz2
doc: Fixed several qdoc errors.
Also removed four function declarations from QMargins that had no definitions.
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qmargins.cpp8
-rw-r--r--src/corelib/tools/qmargins.h5
2 files changed, 3 insertions, 10 deletions
diff --git a/src/corelib/tools/qmargins.cpp b/src/corelib/tools/qmargins.cpp
index df08da1..747ea5e 100644
--- a/src/corelib/tools/qmargins.cpp
+++ b/src/corelib/tools/qmargins.cpp
@@ -49,7 +49,7 @@ QT_BEGIN_NAMESPACE
\class QMargins
\ingroup painting
- \brief The QMargins
+ \brief The QMargins class defines the four margins of a rectangle.
QMargin defines a set of four margins; left, top, right and bottom,
that describe the size of the borders surrounding a rectangle.
@@ -70,7 +70,7 @@ QT_BEGIN_NAMESPACE
Constructs a margins object with all margins set to 0.
- \sa isValid()
+ \sa isNull()
*/
/*!
@@ -78,7 +78,7 @@ QT_BEGIN_NAMESPACE
Constructs margins with the given \a left, \a top, \a right, \a bottom
- \sa setWidth(), setHeight()
+ \sa setLeft(), setRight(), setTop(), setBottom()
*/
/*!
@@ -86,8 +86,6 @@ QT_BEGIN_NAMESPACE
Returns true if all margins are is 0; otherwise returns
false.
-
- \sa isValid(), isEmpty()
*/
diff --git a/src/corelib/tools/qmargins.h b/src/corelib/tools/qmargins.h
index be918cc..2691c62 100644
--- a/src/corelib/tools/qmargins.h
+++ b/src/corelib/tools/qmargins.h
@@ -68,11 +68,6 @@ public:
void setRight(int right);
void setBottom(int bottom);
- int &rleft();
- int &rtop();
- int &rright();
- int &rbottom();
-
private:
int m_left;
int m_top;