Sophie

Sophie

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

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" />
<!-- qvideorenderercontrol.cpp -->
  <title>Qt Mobility 1.2: QVideoRendererControl 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>QVideoRendererControl</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="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#macros">Macros</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QVideoRendererControl Class Reference</h1>
<!-- $$$QVideoRendererControl-brief -->
<p>The QVideoRendererControl class provides a control for rendering to a video surface. <a href="#details">More...</a></p>
<!-- @@@QVideoRendererControl -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QVideoRendererControl&gt;</span></pre><p><b>Inherits: </b><a href="qmediacontrol.html">QMediaControl</a>.</p>
<p>This class was introduced in Qt Mobility 1.0.</p>
<ul>
<li><a href="qvideorenderercontrol-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="qvideorenderercontrol.html#dtor.QVideoRendererControl">~QVideoRendererControl</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qvideorenderercontrol.html#setSurface">setSurface</a></b> ( QAbstractVideoSurface * <i>surface</i> ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QAbstractVideoSurface * </td><td class="memItemRight bottomAlign"><b><a href="qvideorenderercontrol.html#surface">surface</a></b> () const = 0</td></tr>
</table>
<ul>
<li class="fn">29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="protected-functions"></a>
<h2>Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qvideorenderercontrol.html#QVideoRendererControl">QVideoRendererControl</a></b> ( QObject * <i>parent</i> = 0 )</td></tr>
</table>
<ul>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
</ul>
<a name="macros"></a>
<h2>Macros</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qvideorenderercontrol.html#QVideoRendererControl_iid">QVideoRendererControl_iid</a></b></td></tr>
</table>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QVideoRendererControl-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QVideoRendererControl class provides a control for rendering to a video surface.</p>
<p>Using the <a href="qvideorenderercontrol.html#surface">surface</a>() property of QVideoRendererControl a <a href="qabstractvideosurface.html">QAbstractVideoSurface</a> may be set as the video render target of a <a href="qmediaservice.html">QMediaService</a>.</p>
<pre class="cpp"> <span class="type">QVideoRendererControl</span> <span class="operator">*</span>rendererControl <span class="operator">=</span> mediaService<span class="operator">-</span><span class="operator">&gt;</span>requestControl<span class="operator">&lt;</span><span class="type">QVideoRendererControl</span> <span class="operator">*</span><span class="operator">&gt;</span>();
 rendererControl<span class="operator">-</span><span class="operator">&gt;</span>setSurface(myVideoSurface);</pre>
<p>QVideoRendererControl is one of a number of possible video output controls.</p>
<p>The interface name of QVideoRendererControl is <tt>com.nokia.Qt.QVideoRendererControl/1.0</tt> as defined in <a href="qvideorenderercontrol.html#QVideoRendererControl_iid">QVideoRendererControl_iid</a>.</p>
</div>
<p><b>See also </b><a href="qmediaservice.html#requestControl">QMediaService::requestControl</a>() and <a href="qvideowidget.html">QVideoWidget</a>.</p>
<!-- @@@QVideoRendererControl -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QVideoRendererControl[overload1]$$$QVideoRendererControlQObject* -->
<h3 class="fn"><a name="QVideoRendererControl"></a>QVideoRendererControl::<span class="name">QVideoRendererControl</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a></span> * <i>parent</i> = 0 )<tt> [protected]</tt></h3>
<p>Constructs a new video renderer media end point with the given <i>parent</i>.</p>
<!-- @@@QVideoRendererControl -->
<!-- $$$~QVideoRendererControl[overload1]$$$~QVideoRendererControl -->
<h3 class="fn"><a name="dtor.QVideoRendererControl"></a>QVideoRendererControl::<span class="name">~QVideoRendererControl</span> ()</h3>
<p>Destroys a video renderer media end point.</p>
<!-- @@@~QVideoRendererControl -->
<!-- $$$setSurface[overload1]$$$setSurfaceQAbstractVideoSurface* -->
<h3 class="fn"><a name="setSurface"></a><span class="type">void</span> QVideoRendererControl::<span class="name">setSurface</span> ( <span class="type"><a href="qabstractvideosurface.html">QAbstractVideoSurface</a></span> * <i>surface</i> )<tt> [pure virtual]</tt></h3>
<p>Sets the <i>surface</i> a video producer renders to.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qvideorenderercontrol.html#surface">surface</a>().</p>
<!-- @@@setSurface -->
<!-- $$$surface[overload1]$$$surface -->
<h3 class="fn"><a name="surface"></a><span class="type"><a href="qabstractvideosurface.html">QAbstractVideoSurface</a></span> * QVideoRendererControl::<span class="name">surface</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the surface a video producer renders to.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qvideorenderercontrol.html#setSurface">setSurface</a>().</p>
<!-- @@@surface -->
</div>
<div class="macros">
<h2>Macro Documentation</h2>
<!-- $$$QVideoRendererControl_iid[overload1]$$$QVideoRendererControl_iid -->
<h3 class="fn"><a name="QVideoRendererControl_iid"></a><span class="name">QVideoRendererControl_iid</span></h3>
<p><tt>com.nokia.Qt.QVideoRendererControl/1.0</tt></p>
<p>Defines the interface name of the <a href="qvideorenderercontrol.html">QVideoRendererControl</a> class.</p>
<!-- @@@QVideoRendererControl_iid -->
</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>