Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 1096

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qmediatimerange.cpp -->
  <title>Qt Mobility 1.2: QMediaTimeRange Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtmultimediakit.html">QtMultimediaKit</a></li>
<li>QMediaTimeRange</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#related-non-members">Related Non-Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QMediaTimeRange Class Reference</h1>
<!-- $$$QMediaTimeRange-brief -->
<p>The QMediaTimeRange class represents a set of zero or more disjoint time intervals. <a href="#details">More...</a></p>
<!-- @@@QMediaTimeRange -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QMediaTimeRange&gt;</span></pre><p><b>Note:</b> All functions in this class are <a href="http://qt.nokia.com/doc/4.7/threads-reentrancy.html">reentrant</a>.</p>
<p>This class was introduced in Qt Mobility 1.0.</p>
<ul>
<li><a href="qmediatimerange-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#QMediaTimeRange">QMediaTimeRange</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#QMediaTimeRange-2">QMediaTimeRange</a></b> ( qint64 <i>start</i>, qint64 <i>end</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#QMediaTimeRange-3">QMediaTimeRange</a></b> ( const QMediaTimeInterval &amp; <i>interval</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#QMediaTimeRange-4">QMediaTimeRange</a></b> ( const QMediaTimeRange &amp; <i>range</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#dtor.QMediaTimeRange">~QMediaTimeRange</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#addInterval">addInterval</a></b> ( const QMediaTimeInterval &amp; <i>interval</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#addInterval-2">addInterval</a></b> ( qint64 <i>start</i>, qint64 <i>end</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#addTimeRange">addTimeRange</a></b> ( const QMediaTimeRange &amp; <i>range</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#clear">clear</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#contains">contains</a></b> ( qint64 <i>time</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qint64 </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#earliestTime">earliestTime</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QMediaTimeInterval&gt; </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#intervals">intervals</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#isContinuous">isContinuous</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#isEmpty">isEmpty</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qint64 </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#latestTime">latestTime</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#removeInterval">removeInterval</a></b> ( const QMediaTimeInterval &amp; <i>interval</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#removeInterval-2">removeInterval</a></b> ( qint64 <i>start</i>, qint64 <i>end</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#removeTimeRange">removeTimeRange</a></b> ( const QMediaTimeRange &amp; <i>range</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaTimeRange &amp; </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator-2b-eq">operator+=</a></b> ( const QMediaTimeRange &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaTimeRange &amp; </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator-2b-eq-2">operator+=</a></b> ( const QMediaTimeInterval &amp; <i>interval</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaTimeRange &amp; </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator--eq">operator-=</a></b> ( const QMediaTimeRange &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaTimeRange &amp; </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator--eq-2">operator-=</a></b> ( const QMediaTimeInterval &amp; <i>interval</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaTimeRange &amp; </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator-eq">operator=</a></b> ( const QMediaTimeRange &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMediaTimeRange &amp; </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator-eq-2">operator=</a></b> ( const QMediaTimeInterval &amp; <i>interval</i> )</td></tr>
</table>
<a name="related-non-members"></a>
<h2>Related Non-Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator-not-eq-36">operator!=</a></b> ( const QMediaTimeRange &amp; <i>a</i>, const QMediaTimeRange &amp; <i>b</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator-not-eq-35">operator!=</a></b> ( const QMediaTimeInterval &amp; <i>a</i>, const QMediaTimeInterval &amp; <i>b</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator-eq-eq-41">operator==</a></b> ( const QMediaTimeInterval &amp; <i>a</i>, const QMediaTimeInterval &amp; <i>b</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmediatimerange.html#operator-eq-eq-42">operator==</a></b> ( const QMediaTimeRange &amp; <i>a</i>, const QMediaTimeRange &amp; <i>b</i> )</td></tr>
</table>
<a name="details"></a>
<!-- $$$QMediaTimeRange-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QMediaTimeRange class represents a set of zero or more disjoint time intervals.</p>
<p>The <a href="qmediatimerange.html#earliestTime">earliestTime</a>(), <a href="qmediatimerange.html#latestTime">latestTime</a>(), <a href="qmediatimerange.html#intervals">intervals</a>() and <a href="qmediatimerange.html#isEmpty">isEmpty</a>() methods are used to get information about the current time range.</p>
<p>The <a href="qmediatimerange.html#addInterval">addInterval</a>(), <a href="qmediatimerange.html#removeInterval">removeInterval</a>() and <a href="qmediatimerange.html#clear">clear</a>() methods are used to modify the current time range.</p>
<p>When adding or removing intervals from the time range, existing intervals within the range may be expanded, trimmed, deleted, merged or split to ensure that all intervals within the time range remain distinct and disjoint. As a consequence, all intervals added or removed from a time range must be <a href="qmediatimeinterval.html#isNormal">normal</a>.</p>
</div>
<p><b>See also </b><a href="qmediatimeinterval.html">QMediaTimeInterval</a>.</p>
<!-- @@@QMediaTimeRange -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QMediaTimeRange[overload1]$$$QMediaTimeRange -->
<h3 class="fn"><a name="QMediaTimeRange"></a>QMediaTimeRange::<span class="name">QMediaTimeRange</span> ()</h3>
<p>Constructs an empty time range.</p>
<!-- @@@QMediaTimeRange -->
<!-- $$$QMediaTimeRange$$$QMediaTimeRangeqint64qint64 -->
<h3 class="fn"><a name="QMediaTimeRange-2"></a>QMediaTimeRange::<span class="name">QMediaTimeRange</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qint64-typedef">qint64</a></span> <i>start</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qint64-typedef">qint64</a></span> <i>end</i> )</h3>
<p>Constructs a time range that contains an initial interval from <i>start</i> to <i>end</i> inclusive.</p>
<p>If the interval is not <a href="qmediatimeinterval.html#isNormal">normal</a>, the resulting time range will be empty.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#addInterval">addInterval</a>().</p>
<!-- @@@QMediaTimeRange -->
<!-- $$$QMediaTimeRange$$$QMediaTimeRangeconstQMediaTimeInterval& -->
<h3 class="fn"><a name="QMediaTimeRange-3"></a>QMediaTimeRange::<span class="name">QMediaTimeRange</span> ( const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>interval</i> )</h3>
<p>Constructs a time range that contains an intitial interval, <i>interval</i>.</p>
<p>If <i>interval</i> is not <a href="qmediatimeinterval.html#isNormal">normal</a>, the resulting time range will be empty.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#addInterval">addInterval</a>().</p>
<!-- @@@QMediaTimeRange -->
<!-- $$$QMediaTimeRange$$$QMediaTimeRangeconstQMediaTimeRange& -->
<h3 class="fn"><a name="QMediaTimeRange-4"></a>QMediaTimeRange::<span class="name">QMediaTimeRange</span> ( const <span class="type">QMediaTimeRange</span> &amp; <i>range</i> )</h3>
<p>Constructs a time range by copying another time <i>range</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QMediaTimeRange -->
<!-- $$$~QMediaTimeRange[overload1]$$$~QMediaTimeRange -->
<h3 class="fn"><a name="dtor.QMediaTimeRange"></a>QMediaTimeRange::<span class="name">~QMediaTimeRange</span> ()</h3>
<p>Destructor.</p>
<!-- @@@~QMediaTimeRange -->
<!-- $$$addInterval[overload1]$$$addIntervalconstQMediaTimeInterval& -->
<h3 class="fn"><a name="addInterval"></a><span class="type">void</span> QMediaTimeRange::<span class="name">addInterval</span> ( const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>interval</i> )</h3>
<p>Adds the specified <i>interval</i> to the time range.</p>
<p>Adding intervals which are not <a href="qmediatimeinterval.html#isNormal">normal</a> is invalid, and will be ignored.</p>
<p>If the specified interval is adjacent to, or overlaps existing intervals within the time range, these intervals will be merged.</p>
<p>This operation takes <a href="http://qt.nokia.com/doc/4.7/containers.html">linear time</a></p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#removeInterval">removeInterval</a>().</p>
<!-- @@@addInterval -->
<!-- $$$addInterval$$$addIntervalqint64qint64 -->
<h3 class="fn"><a name="addInterval-2"></a><span class="type">void</span> QMediaTimeRange::<span class="name">addInterval</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qint64-typedef">qint64</a></span> <i>start</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qint64-typedef">qint64</a></span> <i>end</i> )</h3>
<p>This is an overloaded function.</p>
<p>Adds the interval specified by <i>start</i> and <i>end</i> to the time range.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#addInterval">addInterval</a>().</p>
<!-- @@@addInterval -->
<!-- $$$addTimeRange[overload1]$$$addTimeRangeconstQMediaTimeRange& -->
<h3 class="fn"><a name="addTimeRange"></a><span class="type">void</span> QMediaTimeRange::<span class="name">addTimeRange</span> ( const <span class="type">QMediaTimeRange</span> &amp; <i>range</i> )</h3>
<p>Adds each of the intervals in <i>range</i> to this time range.</p>
<p>Equivalent to calling <a href="qmediatimerange.html#addInterval">addInterval</a>() for each interval in <i>range</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@addTimeRange -->
<!-- $$$clear[overload1]$$$clear -->
<h3 class="fn"><a name="clear"></a><span class="type">void</span> QMediaTimeRange::<span class="name">clear</span> ()</h3>
<p>Removes all intervals from the time range.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#removeInterval">removeInterval</a>().</p>
<!-- @@@clear -->
<!-- $$$contains[overload1]$$$containsqint64 -->
<h3 class="fn"><a name="contains"></a><span class="type">bool</span> QMediaTimeRange::<span class="name">contains</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qint64-typedef">qint64</a></span> <i>time</i> ) const</h3>
<p>Returns true if the specified <i>time</i> lies within the time range.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@contains -->
<!-- $$$earliestTime[overload1]$$$earliestTime -->
<h3 class="fn"><a name="earliestTime"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qint64-typedef">qint64</a></span> QMediaTimeRange::<span class="name">earliestTime</span> () const</h3>
<p>Returns the earliest time within the time range.</p>
<p>For empty time ranges, this value is equal to zero.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#latestTime">latestTime</a>().</p>
<!-- @@@earliestTime -->
<!-- $$$intervals[overload1]$$$intervals -->
<h3 class="fn"><a name="intervals"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span>&gt; QMediaTimeRange::<span class="name">intervals</span> () const</h3>
<p>Returns the list of intervals covered by this time range.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@intervals -->
<!-- $$$isContinuous[overload1]$$$isContinuous -->
<h3 class="fn"><a name="isContinuous"></a><span class="type">bool</span> QMediaTimeRange::<span class="name">isContinuous</span> () const</h3>
<p>Returns true if the time range consists of a continuous interval. That is, there is one or fewer disjoint intervals within the time range.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@isContinuous -->
<!-- $$$isEmpty[overload1]$$$isEmpty -->
<h3 class="fn"><a name="isEmpty"></a><span class="type">bool</span> QMediaTimeRange::<span class="name">isEmpty</span> () const</h3>
<p>Returns true if there are no intervals within the time range.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#intervals">intervals</a>().</p>
<!-- @@@isEmpty -->
<!-- $$$latestTime[overload1]$$$latestTime -->
<h3 class="fn"><a name="latestTime"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qint64-typedef">qint64</a></span> QMediaTimeRange::<span class="name">latestTime</span> () const</h3>
<p>Returns the latest time within the time range.</p>
<p>For empty time ranges, this value is equal to zero.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#earliestTime">earliestTime</a>().</p>
<!-- @@@latestTime -->
<!-- $$$removeInterval[overload1]$$$removeIntervalconstQMediaTimeInterval& -->
<h3 class="fn"><a name="removeInterval"></a><span class="type">void</span> QMediaTimeRange::<span class="name">removeInterval</span> ( const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>interval</i> )</h3>
<p>Removes the specified <i>interval</i> from the time range.</p>
<p>Removing intervals which are not <a href="qmediatimeinterval.html#isNormal">normal</a> is invalid, and will be ignored.</p>
<p>Intervals within the time range will be trimmed, split or deleted such that no intervals within the time range include any part of the target interval.</p>
<p>This operation takes <a href="http://qt.nokia.com/doc/4.7/containers.html">linear time</a></p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#addInterval">addInterval</a>().</p>
<!-- @@@removeInterval -->
<!-- $$$removeInterval$$$removeIntervalqint64qint64 -->
<h3 class="fn"><a name="removeInterval-2"></a><span class="type">void</span> QMediaTimeRange::<span class="name">removeInterval</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qint64-typedef">qint64</a></span> <i>start</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qint64-typedef">qint64</a></span> <i>end</i> )</h3>
<p>This is an overloaded function.</p>
<p>Removes the interval specified by <i>start</i> and <i>end</i> from the time range.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmediatimerange.html#removeInterval">removeInterval</a>().</p>
<!-- @@@removeInterval -->
<!-- $$$removeTimeRange[overload1]$$$removeTimeRangeconstQMediaTimeRange& -->
<h3 class="fn"><a name="removeTimeRange"></a><span class="type">void</span> QMediaTimeRange::<span class="name">removeTimeRange</span> ( const <span class="type">QMediaTimeRange</span> &amp; <i>range</i> )</h3>
<p>Removes each of the intervals in <i>range</i> from this time range.</p>
<p>Equivalent to calling <a href="qmediatimerange.html#removeInterval">removeInterval</a>() for each interval in <i>range</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@removeTimeRange -->
<!-- $$$operator+=[overload1]$$$operator+=constQMediaTimeRange& -->
<h3 class="fn"><a name="operator-2b-eq"></a><span class="type">QMediaTimeRange</span> &amp; QMediaTimeRange::<span class="name">operator+=</span> ( const <span class="type">QMediaTimeRange</span> &amp; <i>other</i> )</h3>
<p>Adds each interval in <i>other</i> to the time range and returns the result.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator+= -->
<!-- $$$operator+=$$$operator+=constQMediaTimeInterval& -->
<h3 class="fn"><a name="operator-2b-eq-2"></a><span class="type">QMediaTimeRange</span> &amp; QMediaTimeRange::<span class="name">operator+=</span> ( const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>interval</i> )</h3>
<p>Adds the specified <i>interval</i> to the time range and returns the result.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator+= -->
<!-- $$$operator-=[overload1]$$$operator-=constQMediaTimeRange& -->
<h3 class="fn"><a name="operator--eq"></a><span class="type">QMediaTimeRange</span> &amp; QMediaTimeRange::<span class="name">operator-=</span> ( const <span class="type">QMediaTimeRange</span> &amp; <i>other</i> )</h3>
<p>Removes each interval in <i>other</i> from the time range and returns the result.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator-= -->
<!-- $$$operator-=$$$operator-=constQMediaTimeInterval& -->
<h3 class="fn"><a name="operator--eq-2"></a><span class="type">QMediaTimeRange</span> &amp; QMediaTimeRange::<span class="name">operator-=</span> ( const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>interval</i> )</h3>
<p>Removes the specified <i>interval</i> from the time range and returns the result.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator-= -->
<!-- $$$operator=[overload1]$$$operator=constQMediaTimeRange& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QMediaTimeRange</span> &amp; QMediaTimeRange::<span class="name">operator=</span> ( const <span class="type">QMediaTimeRange</span> &amp; <i>other</i> )</h3>
<p>Takes a copy of the <i>other</i> time range and returns itself.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator= -->
<!-- $$$operator=$$$operator=constQMediaTimeInterval& -->
<h3 class="fn"><a name="operator-eq-2"></a><span class="type">QMediaTimeRange</span> &amp; QMediaTimeRange::<span class="name">operator=</span> ( const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>interval</i> )</h3>
<p>Sets the time range to a single continuous interval, <i>interval</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator= -->
</div>
<div class="relnonmem">
<h2>Related Non-Members</h2>
<!-- $$$operator!=$$$operator!=constQMediaTimeRange&constQMediaTimeRange& -->
<h3 class="fn"><a name="operator-not-eq-36"></a><span class="type">bool</span> <span class="name">operator!=</span> ( const <span class="type">QMediaTimeRange</span> &amp; <i>a</i>, const <span class="type">QMediaTimeRange</span> &amp; <i>b</i> )</h3>
<p>Returns true if one or more intervals in <i>a</i> are not present in <i>b</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator!= -->
<!-- $$$operator!=$$$operator!=constQMediaTimeInterval&constQMediaTimeInterval& -->
<h3 class="fn"><a name="operator-not-eq-35"></a><span class="type">bool</span> <span class="name">operator!=</span> ( const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>a</i>, const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>b</i> )</h3>
<p>Returns true if <i>a</i> is not exactly equal to <i>b</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator!= -->
<!-- $$$operator==$$$operator==constQMediaTimeInterval&constQMediaTimeInterval& -->
<h3 class="fn"><a name="operator-eq-eq-41"></a><span class="type">bool</span> <span class="name">operator==</span> ( const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>a</i>, const <span class="type"><a href="qmediatimeinterval.html">QMediaTimeInterval</a></span> &amp; <i>b</i> )</h3>
<p>Returns true if <i>a</i> is exactly equal to <i>b</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator== -->
<!-- $$$operator==$$$operator==constQMediaTimeRange&constQMediaTimeRange& -->
<h3 class="fn"><a name="operator-eq-eq-42"></a><span class="type">bool</span> <span class="name">operator==</span> ( const <span class="type">QMediaTimeRange</span> &amp; <i>a</i>, const <span class="type">QMediaTimeRange</span> &amp; <i>b</i> )</h3>
<p>Returns true if all intervals in <i>a</i> are present in <i>b</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@operator== -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
    Free Documentation License version 1.3</a>
    as published by the Free Software Foundation.</p>
</div>
</body>
</html>