summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qsharedpointer.cpp6
-rw-r--r--src/dbus/qdbuserror.cpp10
-rw-r--r--src/gui/kernel/qgesture.cpp7
3 files changed, 19 insertions, 4 deletions
diff --git a/src/corelib/tools/qsharedpointer.cpp b/src/corelib/tools/qsharedpointer.cpp
index 71bf318..fe3d9e0 100644
--- a/src/corelib/tools/qsharedpointer.cpp
+++ b/src/corelib/tools/qsharedpointer.cpp
@@ -342,7 +342,7 @@
/*!
\fn QSharedPointer<X> QSharedPointer::objectCast() const
- Performs a \ref qobject_cast from this pointer's type to \tt X and
+ Performs a \l qobject_cast() from this pointer's type to \tt X and
returns a QSharedPointer that shares the reference. If this
function is used to up-cast, then QSharedPointer will perform a \tt
qobject_cast, which means that if the object being pointed by this
@@ -739,7 +739,7 @@
\relates QSharedPointer
Returns a shared pointer to the pointer held by \a other, using a
- \ref qobject_cast to type \tt X to obtain an internal pointer of the
+ \l qobject_cast() to type \tt X to obtain an internal pointer of the
appropriate type. If the \tt qobject_cast fails, the object
returned will be null.
@@ -756,7 +756,7 @@
\relates QWeakPointer
Returns a shared pointer to the pointer held by \a other, using a
- \ref qobject_cast to type \tt X to obtain an internal pointer of the
+ \l qobject_cast() to type \tt X to obtain an internal pointer of the
appropriate type. If the \tt qobject_cast fails, the object
returned will be null.
diff --git a/src/dbus/qdbuserror.cpp b/src/dbus/qdbuserror.cpp
index b2d21ec..caa2437 100644
--- a/src/dbus/qdbuserror.cpp
+++ b/src/dbus/qdbuserror.cpp
@@ -225,8 +225,16 @@ static inline QDBusError::ErrorType get(const char *name)
\value UnknownInterface The interface is not known
\value InternalError An internal error occurred
(\c com.trolltech.QtDBus.Error.InternalError)
- \value UnknownObject The remote object could not be found.
+ \value InvalidObjectPath The object path provided is invalid.
+
+ \value InvalidService The service requested is invalid.
+
+ \value InvalidMember The member is invalid.
+
+ \value InvalidInterface The interface is invalid.
+
+ \value UnknownObject The remote object could not be found.
*/
/*!
diff --git a/src/gui/kernel/qgesture.cpp b/src/gui/kernel/qgesture.cpp
index 32a219c..d53b419 100644
--- a/src/gui/kernel/qgesture.cpp
+++ b/src/gui/kernel/qgesture.cpp
@@ -187,11 +187,18 @@ bool QGesture::eventFilter(QObject *receiver, QEvent *event)
\brief The current state of the gesture.
*/
+
+/*!
+ Returns the gesture recognition state.
+ */
Qt::GestureState QGesture::state() const
{
return d_func()->state;
}
+/*!
+ Sets this gesture's recognition state to \a state.
+ */
void QGesture::setState(Qt::GestureState state)
{
d_func()->state = state;