This& addTimeRange( const int begin, const int end, const int step = 1 )
	{
		addTimeRange( TimeRange(begin, end, step) );
		return *this;
	}
Exemple #2
0
/*!
    \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)
{
    addTimeRange(other);
    return *this;
}
	This& setTimeRange( const int begin, const int end, const int step = 1 )
	{
		_timeRanges.clear();
		addTimeRange( begin, end, step );
		return *this;
	}