Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QMediaTimeRangePrivate Class Reference
+ Inheritance diagram for QMediaTimeRangePrivate:
+ Collaboration diagram for QMediaTimeRangePrivate:

Public Member Functions

 QMediaTimeRangePrivate ()=default
 
 QMediaTimeRangePrivate (const QMediaTimeRange::Interval &interval)
 
void addInterval (const QMediaTimeRange::Interval &interval)
 
void removeInterval (const QMediaTimeRange::Interval &interval)
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Public Attributes

QList< QMediaTimeRange::Intervalintervals
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 105 of file qmediatimerange.cpp.

Constructor & Destructor Documentation

◆ QMediaTimeRangePrivate() [1/2]

QMediaTimeRangePrivate::QMediaTimeRangePrivate ( )
default

◆ QMediaTimeRangePrivate() [2/2]

QMediaTimeRangePrivate::QMediaTimeRangePrivate ( const QMediaTimeRange::Interval & interval)

Definition at line 119 of file qmediatimerange.cpp.

References intervals, and QMediaTimeRange::Interval::isNormal().

+ Here is the call graph for this function:

Member Function Documentation

◆ addInterval()

void QMediaTimeRangePrivate::addInterval ( const QMediaTimeRange::Interval & interval)

Definition at line 125 of file qmediatimerange.cpp.

References QList< T >::append(), i, QList< T >::insert(), intervals, QMediaTimeRange::Interval::isNormal(), qMax(), QList< T >::removeAt(), and QList< T >::size().

Referenced by QMediaTimeRange::addInterval(), QMediaTimeRange::addInterval(), QMediaTimeRange::addTimeRange(), and removeInterval().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeInterval()

void QMediaTimeRangePrivate::removeInterval ( const QMediaTimeRange::Interval & interval)

Definition at line 157 of file qmediatimerange.cpp.

References addInterval(), QList< T >::at(), i, intervals, QMediaTimeRange::Interval::isNormal(), QList< T >::removeAt(), and QList< T >::size().

Referenced by QMediaTimeRange::removeInterval(), QMediaTimeRange::removeInterval(), and QMediaTimeRange::removeTimeRange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ intervals


The documentation for this class was generated from the following file: