Sophie

Sophie

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

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" />
<!-- qvideodevicecontrol.cpp -->
  <title>Qt Mobility 1.2: QVideoDeviceControl 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>QVideoDeviceControl</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="#public-slots">Public Slots</a></li>
<li class="level1"><a href="#signals">Signals</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">QVideoDeviceControl Class Reference</h1>
<!-- $$$QVideoDeviceControl-brief -->
<p>The QVideoDeviceControl class provides an video device selector media control. <a href="#details">More...</a></p>
<!-- @@@QVideoDeviceControl -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QVideoDeviceControl&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="qvideodevicecontrol-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"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#dtor.QVideoDeviceControl">~QVideoDeviceControl</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#defaultDevice">defaultDevice</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#deviceCount">deviceCount</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QString </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#deviceDescription">deviceDescription</a></b> ( int <i>index</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QIcon </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#deviceIcon">deviceIcon</a></b> ( int <i>index</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QString </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#deviceName">deviceName</a></b> ( int <i>index</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#selectedDevice">selectedDevice</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="public-slots"></a>
<h2>Public Slots</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#setSelectedDevice">setSelectedDevice</a></b> ( int <i>index</i> ) = 0</td></tr>
</table>
<ul>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#devicesChanged">devicesChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#selectedDeviceChanged">selectedDeviceChanged</a></b> ( int <i>index</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qvideodevicecontrol.html#selectedDeviceChanged-2">selectedDeviceChanged</a></b> ( const QString &amp; <i>name</i> )</td></tr>
</table>
<ul>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">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="qvideodevicecontrol.html#QVideoDeviceControl">QVideoDeviceControl</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="qvideodevicecontrol.html#QVideoDeviceControl_iid">QVideoDeviceControl_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 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>
<!-- $$$QVideoDeviceControl-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QVideoDeviceControl class provides an video device selector media control.</p>
<p>The QVideoDeviceControl class provides descriptions of the video devices available on a system and allows one to be selected as the endpoint of a media service.</p>
<p>The interface name of QVideoDeviceControl is <tt>com.nokia.Qt.VideoDeviceControl</tt> as defined in <a href="qvideodevicecontrol.html#QVideoDeviceControl_iid">QVideoDeviceControl_iid</a>.</p>
</div>
<!-- @@@QVideoDeviceControl -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QVideoDeviceControl[overload1]$$$QVideoDeviceControlQObject* -->
<h3 class="fn"><a name="QVideoDeviceControl"></a>QVideoDeviceControl::<span class="name">QVideoDeviceControl</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 video device control with the given <i>parent</i>.</p>
<!-- @@@QVideoDeviceControl -->
<!-- $$$~QVideoDeviceControl[overload1]$$$~QVideoDeviceControl -->
<h3 class="fn"><a name="dtor.QVideoDeviceControl"></a>QVideoDeviceControl::<span class="name">~QVideoDeviceControl</span> ()<tt> [virtual]</tt></h3>
<p>Destroys a video device control.</p>
<!-- @@@~QVideoDeviceControl -->
<!-- $$$defaultDevice[overload1]$$$defaultDevice -->
<h3 class="fn"><a name="defaultDevice"></a><span class="type">int</span> QVideoDeviceControl::<span class="name">defaultDevice</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the index of the default video device.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@defaultDevice -->
<!-- $$$deviceCount[overload1]$$$deviceCount -->
<h3 class="fn"><a name="deviceCount"></a><span class="type">int</span> QVideoDeviceControl::<span class="name">deviceCount</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the number of available video devices;</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@deviceCount -->
<!-- $$$deviceDescription[overload1]$$$deviceDescriptionint -->
<h3 class="fn"><a name="deviceDescription"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QVideoDeviceControl::<span class="name">deviceDescription</span> ( <span class="type">int</span> <i>index</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns a description of the video device at <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@deviceDescription -->
<!-- $$$deviceIcon[overload1]$$$deviceIconint -->
<h3 class="fn"><a name="deviceIcon"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qicon.html">QIcon</a></span> QVideoDeviceControl::<span class="name">deviceIcon</span> ( <span class="type">int</span> <i>index</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns an icon for the video device at <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@deviceIcon -->
<!-- $$$deviceName[overload1]$$$deviceNameint -->
<h3 class="fn"><a name="deviceName"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QVideoDeviceControl::<span class="name">deviceName</span> ( <span class="type">int</span> <i>index</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns the name of the video device at <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@deviceName -->
<!-- $$$devicesChanged[overload1]$$$devicesChanged -->
<h3 class="fn"><a name="devicesChanged"></a><span class="type">void</span> QVideoDeviceControl::<span class="name">devicesChanged</span> ()<tt> [signal]</tt></h3>
<p>Signals that the list of available video devices has changed.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@devicesChanged -->
<!-- $$$selectedDevice[overload1]$$$selectedDevice -->
<h3 class="fn"><a name="selectedDevice"></a><span class="type">int</span> QVideoDeviceControl::<span class="name">selectedDevice</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the index of the selected video device.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qvideodevicecontrol.html#setSelectedDevice">setSelectedDevice</a>().</p>
<!-- @@@selectedDevice -->
<!-- $$$selectedDeviceChanged[overload1]$$$selectedDeviceChangedint -->
<h3 class="fn"><a name="selectedDeviceChanged"></a><span class="type">void</span> QVideoDeviceControl::<span class="name">selectedDeviceChanged</span> ( <span class="type">int</span> <i>index</i> )<tt> [signal]</tt></h3>
<p>Signals that the selected video device <i>index</i> has changed.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@selectedDeviceChanged -->
<!-- $$$selectedDeviceChanged$$$selectedDeviceChangedconstQString& -->
<h3 class="fn"><a name="selectedDeviceChanged-2"></a><span class="type">void</span> QVideoDeviceControl::<span class="name">selectedDeviceChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>name</i> )<tt> [signal]</tt></h3>
<p>Signals that the selected video device <i>name</i> has changed.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@selectedDeviceChanged -->
<!-- $$$setSelectedDevice[overload1]$$$setSelectedDeviceint -->
<h3 class="fn"><a name="setSelectedDevice"></a><span class="type">void</span> QVideoDeviceControl::<span class="name">setSelectedDevice</span> ( <span class="type">int</span> <i>index</i> )<tt> [pure virtual slot]</tt></h3>
<p>Sets the selected video device <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qvideodevicecontrol.html#selectedDevice">selectedDevice</a>().</p>
<!-- @@@setSelectedDevice -->
</div>
<div class="macros">
<h2>Macro Documentation</h2>
<!-- $$$QVideoDeviceControl_iid[overload1]$$$QVideoDeviceControl_iid -->
<h3 class="fn"><a name="QVideoDeviceControl_iid"></a><span class="name">QVideoDeviceControl_iid</span></h3>
<p><tt>com.nokia.Qt.VideoDeviceControl</tt></p>
<p>Defines the interface name of the <a href="qvideodevicecontrol.html">QVideoDeviceControl</a> class.</p>
<!-- @@@QVideoDeviceControl_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>