summaryrefslogtreecommitdiffstats
path: root/src/multimedia/qmediatimerange.cpp
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2012-01-16 15:19:20 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-16 07:32:24 +0100
commita6268601c907c56555ae42668e983a447c0da2eb (patch)
tree8e702efd10ec2eae5688d2afa6d660930c89399f /src/multimedia/qmediatimerange.cpp
parentb228ff95d763fc954ffe34b2fdbc73d88ed25758 (diff)
Remove antiquated \since lines in docs.
They aren't useful in the case of QtMultimedia{Kit} Change-Id: If1b0b6625763c85907fb05beb9c440046472ddef Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'src/multimedia/qmediatimerange.cpp')
-rw-r--r--src/multimedia/qmediatimerange.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/multimedia/qmediatimerange.cpp b/src/multimedia/qmediatimerange.cpp
index e873f08b5..22a56fa7b 100644
--- a/src/multimedia/qmediatimerange.cpp
+++ b/src/multimedia/qmediatimerange.cpp
@@ -50,7 +50,6 @@ QT_BEGIN_NAMESPACE
\brief The QMediaTimeInterval class represents a time interval with integer precision.
\inmodule QtMultimedia
\ingroup multimedia
- \since 1.0
An interval is specified by an inclusive start() and end() time. These
must be set in the constructor, as this is an immutable class. The
@@ -87,7 +86,6 @@ QMediaTimeInterval::QMediaTimeInterval()
\fn QMediaTimeInterval::QMediaTimeInterval(qint64 start, qint64 end)
Constructs an interval with the specified \a start and \a end times.
- \since 1.0
*/
QMediaTimeInterval::QMediaTimeInterval(qint64 start, qint64 end)
: s(start)
@@ -100,7 +98,6 @@ QMediaTimeInterval::QMediaTimeInterval(qint64 start, qint64 end)
\fn QMediaTimeInterval::QMediaTimeInterval(const QMediaTimeInterval &other)
Constructs an interval by taking a copy of \a other.
- \since 1.0
*/
QMediaTimeInterval::QMediaTimeInterval(const QMediaTimeInterval &other)
: s(other.s)
@@ -114,7 +111,6 @@ QMediaTimeInterval::QMediaTimeInterval(const QMediaTimeInterval &other)
Returns the start time of the interval.
- \since 1.0
\sa end()
*/
qint64 QMediaTimeInterval::start() const
@@ -127,7 +123,6 @@ qint64 QMediaTimeInterval::start() const
Returns the end time of the interval.
- \since 1.0
\sa start()
*/
qint64 QMediaTimeInterval::end() const
@@ -140,7 +135,6 @@ qint64 QMediaTimeInterval::end() const
Returns true if the time interval contains the specified \a time.
That is, start() <= time <= end().
- \since 1.0
*/
bool QMediaTimeInterval::contains(qint64 time) const
{
@@ -154,7 +148,6 @@ bool QMediaTimeInterval::contains(qint64 time) const
Returns true if this time interval is normal.
A normal time interval has start() <= end().
- \since 1.0
\sa normalized()
*/
bool QMediaTimeInterval::isNormal() const
@@ -169,7 +162,6 @@ bool QMediaTimeInterval::isNormal() const
If the start() time of the interval is greater than the end() time,
then the returned interval has the start and end times swapped.
- \since 1.0
*/
QMediaTimeInterval QMediaTimeInterval::normalized() const
{
@@ -185,7 +177,6 @@ QMediaTimeInterval QMediaTimeInterval::normalized() const
Returns a copy of this time interval, translated by a value of \a offset.
An interval can be moved forward through time with a positive offset, or backward
through time with a negative offset.
- \since 1.0
*/
QMediaTimeInterval QMediaTimeInterval::translated(qint64 offset) const
{
@@ -197,7 +188,6 @@ QMediaTimeInterval QMediaTimeInterval::translated(qint64 offset) const
\relates QMediaTimeRange
Returns true if \a a is exactly equal to \a b.
- \since 1.0
*/
bool operator==(const QMediaTimeInterval &a, const QMediaTimeInterval &b)
{
@@ -209,7 +199,6 @@ bool operator==(const QMediaTimeInterval &a, const QMediaTimeInterval &b)
\relates QMediaTimeRange
Returns true if \a a is not exactly equal to \a b.
- \since 1.0
*/
bool operator!=(const QMediaTimeInterval &a, const QMediaTimeInterval &b)
{
@@ -322,7 +311,6 @@ void QMediaTimeRangePrivate::removeInterval(const QMediaTimeInterval &interval)
\brief The QMediaTimeRange class represents a set of zero or more disjoint
time intervals.
\ingroup multimedia
- \since 1.0
\reentrant
@@ -361,7 +349,6 @@ QMediaTimeRange::QMediaTimeRange()
If the interval is not \l{QMediaTimeInterval::isNormal()}{normal},
the resulting time range will be empty.
- \since 1.0
\sa addInterval()
*/
QMediaTimeRange::QMediaTimeRange(qint64 start, qint64 end)
@@ -378,7 +365,6 @@ QMediaTimeRange::QMediaTimeRange(qint64 start, qint64 end)
If \a interval is not \l{QMediaTimeInterval::isNormal()}{normal},
the resulting time range will be empty.
- \since 1.0
\sa addInterval()
*/
QMediaTimeRange::QMediaTimeRange(const QMediaTimeInterval &interval)
@@ -391,7 +377,6 @@ QMediaTimeRange::QMediaTimeRange(const QMediaTimeInterval &interval)
\fn QMediaTimeRange::QMediaTimeRange(const QMediaTimeRange &range)
Constructs a time range by copying another time \a range.
- \since 1.0
*/
QMediaTimeRange::QMediaTimeRange(const QMediaTimeRange &range)
: d(range.d)
@@ -413,7 +398,6 @@ QMediaTimeRange::~QMediaTimeRange()
\fn QMediaTimeRange::operator=(const QMediaTimeRange &other)
Takes a copy of the \a other time range and returns itself.
- \since 1.0
*/
QMediaTimeRange &QMediaTimeRange::operator=(const QMediaTimeRange &other)
{
@@ -425,7 +409,6 @@ QMediaTimeRange &QMediaTimeRange::operator=(const QMediaTimeRange &other)
\fn QMediaTimeRange::operator=(const QMediaTimeInterval &interval)
Sets the time range to a single continuous interval, \a interval.
- \since 1.0
*/
QMediaTimeRange &QMediaTimeRange::operator=(const QMediaTimeInterval &interval)
{
@@ -440,7 +423,6 @@ QMediaTimeRange &QMediaTimeRange::operator=(const QMediaTimeInterval &interval)
For empty time ranges, this value is equal to zero.
- \since 1.0
\sa latestTime()
*/
qint64 QMediaTimeRange::earliestTime() const
@@ -458,7 +440,6 @@ qint64 QMediaTimeRange::earliestTime() const
For empty time ranges, this value is equal to zero.
- \since 1.0
\sa earliestTime()
*/
qint64 QMediaTimeRange::latestTime() const
@@ -476,7 +457,6 @@ qint64 QMediaTimeRange::latestTime() const
Adds the interval specified by \a start and \a end
to the time range.
- \since 1.0
\sa addInterval()
*/
void QMediaTimeRange::addInterval(qint64 start, qint64 end)
@@ -497,7 +477,6 @@ void QMediaTimeRange::addInterval(qint64 start, qint64 end)
This operation takes \l{linear time}
- \since 1.0
\sa removeInterval()
*/
void QMediaTimeRange::addInterval(const QMediaTimeInterval &interval)
@@ -511,7 +490,6 @@ void QMediaTimeRange::addInterval(const QMediaTimeInterval &interval)
Adds each of the intervals in \a range to this time range.
Equivalent to calling addInterval() for each interval in \a range.
- \since 1.0
*/
void QMediaTimeRange::addTimeRange(const QMediaTimeRange &range)
{
@@ -527,7 +505,6 @@ void QMediaTimeRange::addTimeRange(const QMediaTimeRange &range)
Removes the interval specified by \a start and \a end
from the time range.
- \since 1.0
\sa removeInterval()
*/
void QMediaTimeRange::removeInterval(qint64 start, qint64 end)
@@ -549,7 +526,6 @@ void QMediaTimeRange::removeInterval(qint64 start, qint64 end)
This operation takes \l{linear time}
- \since 1.0
\sa addInterval()
*/
void QMediaTimeRange::removeInterval(const QMediaTimeInterval &interval)
@@ -563,7 +539,6 @@ void QMediaTimeRange::removeInterval(const QMediaTimeInterval &interval)
Removes each of the intervals in \a range from this time range.
Equivalent to calling removeInterval() for each interval in \a range.
- \since 1.0
*/
void QMediaTimeRange::removeTimeRange(const QMediaTimeRange &range)
{
@@ -576,7 +551,6 @@ void QMediaTimeRange::removeTimeRange(const QMediaTimeRange &range)
\fn QMediaTimeRange::operator+=(const QMediaTimeRange &other)
Adds each interval in \a other to the time range and returns the result.
- \since 1.0
*/
QMediaTimeRange& QMediaTimeRange::operator+=(const QMediaTimeRange &other)
{
@@ -588,7 +562,6 @@ QMediaTimeRange& QMediaTimeRange::operator+=(const QMediaTimeRange &other)
\fn QMediaTimeRange::operator+=(const QMediaTimeInterval &interval)
Adds the specified \a interval to the time range and returns the result.
- \since 1.0
*/
QMediaTimeRange& QMediaTimeRange::operator+=(const QMediaTimeInterval &interval)
{
@@ -600,7 +573,6 @@ QMediaTimeRange& QMediaTimeRange::operator+=(const QMediaTimeInterval &interval)
\fn QMediaTimeRange::operator-=(const QMediaTimeRange &other)
Removes each interval in \a other from the time range and returns the result.
- \since 1.0
*/
QMediaTimeRange& QMediaTimeRange::operator-=(const QMediaTimeRange &other)
{
@@ -612,7 +584,6 @@ QMediaTimeRange& QMediaTimeRange::operator-=(const QMediaTimeRange &other)
\fn QMediaTimeRange::operator-=(const QMediaTimeInterval &interval)
Removes the specified \a interval from the time range and returns the result.
- \since 1.0
*/
QMediaTimeRange& QMediaTimeRange::operator-=(const QMediaTimeInterval &interval)
{
@@ -625,7 +596,6 @@ QMediaTimeRange& QMediaTimeRange::operator-=(const QMediaTimeInterval &interval)
Removes all intervals from the time range.
- \since 1.0
\sa removeInterval()
*/
void QMediaTimeRange::clear()
@@ -637,7 +607,6 @@ void QMediaTimeRange::clear()
\fn QMediaTimeRange::intervals() const
Returns the list of intervals covered by this time range.
- \since 1.0
*/
QList<QMediaTimeInterval> QMediaTimeRange::intervals() const
{
@@ -649,7 +618,6 @@ QList<QMediaTimeInterval> QMediaTimeRange::intervals() const
Returns true if there are no intervals within the time range.
- \since 1.0
\sa intervals()
*/
bool QMediaTimeRange::isEmpty() const
@@ -662,7 +630,6 @@ bool QMediaTimeRange::isEmpty() const
Returns true if the time range consists of a continuous interval.
That is, there is one or fewer disjoint intervals within the time range.
- \since 1.0
*/
bool QMediaTimeRange::isContinuous() const
{
@@ -673,7 +640,6 @@ bool QMediaTimeRange::isContinuous() const
\fn QMediaTimeRange::contains(qint64 time) const
Returns true if the specified \a time lies within the time range.
- \since 1.0
*/
bool QMediaTimeRange::contains(qint64 time) const
{
@@ -693,7 +659,6 @@ bool QMediaTimeRange::contains(qint64 time) const
\relates QMediaTimeRange
Returns true if all intervals in \a a are present in \a b.
- \since 1.0
*/
bool operator==(const QMediaTimeRange &a, const QMediaTimeRange &b)
{
@@ -714,7 +679,6 @@ bool operator==(const QMediaTimeRange &a, const QMediaTimeRange &b)
\relates QMediaTimeRange
Returns true if one or more intervals in \a a are not present in \a b.
- \since 1.0
*/
bool operator!=(const QMediaTimeRange &a, const QMediaTimeRange &b)
{
@@ -725,7 +689,6 @@ bool operator!=(const QMediaTimeRange &a, const QMediaTimeRange &b)
\fn operator+(const QMediaTimeRange &r1, const QMediaTimeRange &r2)
Returns a time range containing the union between \a r1 and \a r2.
- \since 1.0
*/
QMediaTimeRange operator+(const QMediaTimeRange &r1, const QMediaTimeRange &r2)
{
@@ -736,7 +699,6 @@ QMediaTimeRange operator+(const QMediaTimeRange &r1, const QMediaTimeRange &r2)
\fn operator-(const QMediaTimeRange &r1, const QMediaTimeRange &r2)
Returns a time range containing \a r2 subtracted from \a r1.
- \since 1.0
*/
QMediaTimeRange operator-(const QMediaTimeRange &r1, const QMediaTimeRange &r2)
{