From 471bc0a38fce0b2d4ab9784cd61040bb90a63b68 Mon Sep 17 00:00:00 2001 From: Lincoln Ramsay Date: Thu, 3 Nov 2011 10:17:45 +1000 Subject: Don't actually document Grue Sensor things. If we do this, qdoc puts these things into global indexes which is not good. Change-Id: I0d46ce74de1067bbd3a9af25f73f9bc94d919ff3 Sanity-Review: Qt Sanity Bot Reviewed-by: Peter Yard --- examples/sensors/grue/import/main.cpp | 10 +++++----- examples/sensors/grue/lib/gruesensor.cpp | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'examples/sensors') diff --git a/examples/sensors/grue/import/main.cpp b/examples/sensors/grue/import/main.cpp index a3a90202..99085b62 100644 --- a/examples/sensors/grue/import/main.cpp +++ b/examples/sensors/grue/import/main.cpp @@ -70,7 +70,7 @@ QT_END_NAMESPACE Q_EXPORT_PLUGIN2(gruesensorqmlimport, QT_PREPEND_NAMESPACE(GrueSensorQmlImport)); -/*! +/* \qmlclass GrueSensor GrueSensor \inqmlmodule Grue 1 \brief The GrueSensor element reports on your chance of being eaten by a Grue. @@ -83,19 +83,19 @@ Q_EXPORT_PLUGIN2(gruesensorqmlimport, QT_PREPEND_NAMESPACE(GrueSensorQmlImport)) \sa {QtMobility.sensors QML Limitations} */ -/*! +/* \qmlproperty GrueSensorReading Grue1::GrueSensor::reading Holds the most recent Grue sensor reading. Please see QSensor::reading for information about this property. */ -/*! +/* \qmlsignal Grue1::GrueSensor::onReadingChanged() Called when the reading object changes. Please see QSensor::readingChanged() for information about this signal. */ -/*! +/* \qmlclass GrueSensorReading GrueSensorReading \inqmlmodule Grue 1 \inherits QtMobility.sensors1::SensorReading @@ -109,7 +109,7 @@ Q_EXPORT_PLUGIN2(gruesensorqmlimport, QT_PREPEND_NAMESPACE(GrueSensorQmlImport)) This element cannot be directly created. */ -/*! +/* \qmlproperty qreal Grue1::GrueSensorReading::chanceOfBeingEaten Please see GrueSensorReading::chanceOfBeingEaten for information about this property. */ diff --git a/examples/sensors/grue/lib/gruesensor.cpp b/examples/sensors/grue/lib/gruesensor.cpp index cb916209..549eb98b 100644 --- a/examples/sensors/grue/lib/gruesensor.cpp +++ b/examples/sensors/grue/lib/gruesensor.cpp @@ -43,7 +43,7 @@ IMPLEMENT_READING(GrueSensorReading) -/*! +/* \class GrueSensorReading \brief The GrueSensorReading class holds readings from the Grue sensor. @@ -55,7 +55,7 @@ IMPLEMENT_READING(GrueSensorReading) your chances are of being eaten by a Grue. */ -/*! +/* \property GrueSensorReading::chanceOfBeingEaten \brief holds your chance of being eaten. @@ -80,7 +80,7 @@ void GrueSensorReading::setChanceOfBeingEaten(qreal chanceOfBeingEaten) // begin generated code -/*! +/* \class GrueFilter \brief The GrueFilter class is a convenience wrapper around QSensorFilter. @@ -89,7 +89,7 @@ void GrueSensorReading::setChanceOfBeingEaten(qreal chanceOfBeingEaten) instead of QSensorReading. */ -/*! +/* \fn GrueFilter::filter(GrueSensorReading *reading) Called when \a reading changes. Returns false to prevent the reading from propagating. @@ -99,7 +99,7 @@ void GrueSensorReading::setChanceOfBeingEaten(qreal chanceOfBeingEaten) char const * const GrueSensor::type("GrueSensor"); -/*! +/* \class GrueSensor \brief The GrueSensor class is a convenience wrapper around QSensor. @@ -113,19 +113,19 @@ char const * const GrueSensor::type("GrueSensor"); \sa GrueSensorReading */ -/*! +/* \fn GrueSensor::GrueSensor(QObject *parent) Construct the sensor as a child of \a parent. */ -/*! +/* \fn GrueSensor::~GrueSensor() Destroy the sensor. Stops the sensor if it has not already been stopped. */ -/*! +/* \fn GrueSensor::reading() const Returns the reading class for this sensor. -- cgit v1.2.3