Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > f89abdeb016114b348a5c554d8214329 > files > 441

kdelibs-apidocs-3.5.4-30.el5.centos.x86_64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>interfaces: KMediaPlayer::Player Class Reference (interfaces)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>

  <div id="nav_header_title" align="left">KDE API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_right" style="text-align: left;">
/ <a href="../..">API Reference</a>
 / <a href=".">interfaces</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <a name="content"></a>


<!-- Generated by Doxygen 1.4.7 -->
<div class="nav">
<a class="el" href="namespaceKMediaPlayer.html">KMediaPlayer</a>::<a class="el" href="classKMediaPlayer_1_1Player.html">Player</a></div>
<h1>KMediaPlayer::Player Class Reference</h1><!-- doxytag: class="KMediaPlayer::Player" --><!-- doxytag: inherits="KParts::ReadOnlyPart,KMediaPlayer::PlayerDCOPObject" --><code>#include &lt;<a class="el" href="player_8h-source.html">player.h</a>&gt;</code>
<p>
<p>Inheritance diagram for KMediaPlayer::Player:
<p><center><img src="classKMediaPlayer_1_1Player.png" usemap="#KMediaPlayer::Player_map" border="0" alt=""></center>
<map name="KMediaPlayer::Player_map">
<area doxygen="kparts.tag:../../kparts/html/" href="../../kparts/html/classKParts_1_1ReadOnlyPart.html" alt="KParts::ReadOnlyPart" shape="rect" coords="109,168,317,192">
<area href="classKMediaPlayer_1_1PlayerDCOPObject.html" alt="KMediaPlayer::PlayerDCOPObject" shape="rect" coords="327,168,535,192">
<area doxygen="kparts.tag:../../kparts/html/" href="../../kparts/html/classKParts_1_1Part.html" alt="KParts::Part" shape="rect" coords="109,112,317,136">
<area doxygen="dcop.tag:../../dcop/html/" href="../../dcop/html/classDCOPObject.html" alt="DCOPObject" shape="rect" coords="327,112,535,136">
<area doxygen="qt.tag:" href="qobject.html" alt="QObject" shape="rect" coords="0,56,208,80">
<area doxygen="kparts.tag:../../kparts/html/" href="../../kparts/html/classKParts_1_1PartBase.html" alt="KParts::PartBase" shape="rect" coords="218,56,426,80">
<area doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKXMLGUIClient.html" alt="KXMLGUIClient" shape="rect" coords="218,0,426,24">
</map>
<a href="classKMediaPlayer_1_1Player-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classKMediaPlayer_1_1Player.html">Player</a> is the center of the <a class="el" href="namespaceKMediaPlayer.html">KMediaPlayer</a> interface. 
<p>
It provides all of the necessary media player operations, and optionally provides the GUI to control them.<p>
There are two servicetypes for <a class="el" href="classKMediaPlayer_1_1Player.html">Player</a>: KMediaPlayer/Player and KMediaPlayer/Engine. KMediaPlayer/Player provides a widget (accessable through view as well as XML GUI KActions. KMediaPlayer/Engine omits the user interface facets, for those who wish to provide their own interface. 
<p>

<p>
Definition at line <a class="el" href="player_8h-source.html#l00046">46</a> of file <a class="el" href="player_8h-source.html">player.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7d985efbb350f6730eb78cbe48606c0bfd">Empty</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7d83c95508d150ddab61e31c2539a7a98b">Stop</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7de9f74baa2d0a3c7841e11fa364a5123b">Pause</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7db08373fd53779335502e2efabe1717aa">Play</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7d">State</a> { <a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7d985efbb350f6730eb78cbe48606c0bfd">Empty</a>, 
<a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7d83c95508d150ddab61e31c2539a7a98b">Stop</a>, 
<a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7de9f74baa2d0a3c7841e11fa364a5123b">Pause</a>, 
<a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7db08373fd53779335502e2efabe1717aa">Play</a>
 }</td></tr>

<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#8ab9532c795d0f6aa49a66288bd07934">pause</a> (void)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#9fc1aca273d727955010f23de9bdfdde">play</a> (void)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#b02366a3538583aad497503eefde24d7">stop</a> (void)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#af7b5608b9fa02f2d41bcfcf61b43d31">seek</a> (unsigned long msec)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#bb5eb84d247ff2e81ef52830b0e35870">setLooping</a> (bool)</td></tr>

<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#0ea8083d38c80a6d3cf627b579f520a5">loopingChanged</a> (bool)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#b05daed5b4f6324cf11a91d3cb7bfa51">stateChanged</a> (int)</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#d03237ccf47c2c0628ab9c2f82252ec2">Player</a> (<a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *<a class="elRef" doxygen="qt.tag:" href="qobject.html#parent">parent</a>, const char *<a class="elRef" doxygen="qt.tag:" href="qobject.html#name">name</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#fe173f62fd70c90ba7ec73ce1eedd244">Player</a> (<a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> *parentWidget, const char *widgetName, <a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *<a class="elRef" doxygen="qt.tag:" href="qobject.html#parent">parent</a>, const char *<a class="elRef" doxygen="qt.tag:" href="qobject.html#name">name</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="da26aff4233c9236c41da8b407b3bdb0"></a><!-- doxytag: member="KMediaPlayer::Player::~Player" ref="da26aff4233c9236c41da8b407b3bdb0" args="(void)" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#da26aff4233c9236c41da8b407b3bdb0">~Player</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classKMediaPlayer_1_1View.html">View</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#cf419f5a346a7ed75a26ff58538937dc">view</a> (void)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#74af063ca70e1d80fe086758947f8b5a">isSeekable</a> (void) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#242a39ab4f251746daa5b88f44b4ee98">position</a> (void) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#c3a19cc9c0351c729daec97bdd40f155">hasLength</a> (void) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#f5fb2595521ca01b8c8dc955257bc4b0">length</a> (void) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#aa31f94ab5b2f834b6ed30af4b737fd5">isLooping</a> (void) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#2ee643ff5e4780beffc9227a382c620f">state</a> (void) const </td></tr>

<tr><td colspan="2"><br><h2>Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKMediaPlayer_1_1Player.html#5ce5053793d71987fa584f029ba1418d">setState</a> (int)</td></tr>

</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="8c2150474b4a1a3cd423b738319a2a7d"></a><!-- doxytag: member="KMediaPlayer::Player::State" ref="8c2150474b4a1a3cd423b738319a2a7d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKMediaPlayer_1_1Player.html#8c2150474b4a1a3cd423b738319a2a7d">KMediaPlayer::Player::State</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The possible states of the <a class="el" href="classKMediaPlayer_1_1Player.html">Player</a>. 
<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="8c2150474b4a1a3cd423b738319a2a7d985efbb350f6730eb78cbe48606c0bfd"></a><!-- doxytag: member="Empty" ref="8c2150474b4a1a3cd423b738319a2a7d985efbb350f6730eb78cbe48606c0bfd" args="" -->Empty</em>&nbsp;</td><td>
No track is loaded. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="8c2150474b4a1a3cd423b738319a2a7d83c95508d150ddab61e31c2539a7a98b"></a><!-- doxytag: member="Stop" ref="8c2150474b4a1a3cd423b738319a2a7d83c95508d150ddab61e31c2539a7a98b" args="" -->Stop</em>&nbsp;</td><td>
Not playing. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="8c2150474b4a1a3cd423b738319a2a7de9f74baa2d0a3c7841e11fa364a5123b"></a><!-- doxytag: member="Pause" ref="8c2150474b4a1a3cd423b738319a2a7de9f74baa2d0a3c7841e11fa364a5123b" args="" -->Pause</em>&nbsp;</td><td>
Playing is temporarily suspended. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="8c2150474b4a1a3cd423b738319a2a7db08373fd53779335502e2efabe1717aa"></a><!-- doxytag: member="Play" ref="8c2150474b4a1a3cd423b738319a2a7db08373fd53779335502e2efabe1717aa" args="" -->Play</em>&nbsp;</td><td>
The media is currently being output. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="player_8h-source.html#l00111">111</a> of file <a class="el" href="player_8h-source.html">player.h</a>.
</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="d03237ccf47c2c0628ab9c2f82252ec2"></a><!-- doxytag: member="KMediaPlayer::Player::Player" ref="d03237ccf47c2c0628ab9c2f82252ec2" args="(QObject *parent, const char *name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KMediaPlayer::Player::Player           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *&nbsp;</td>
          <td class="paramname"> <em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This constructor is what to use when no GUI is required, as in the case of a KMediaPlayer/Engine. 
<p>

<p>
Definition at line <a class="el" href="player_8cpp-source.html#l00039">39</a> of file <a class="el" href="player_8cpp-source.html">player.cpp</a>.
</div>
</div><p>
<a class="anchor" name="fe173f62fd70c90ba7ec73ce1eedd244"></a><!-- doxytag: member="KMediaPlayer::Player::Player" ref="fe173f62fd70c90ba7ec73ce1eedd244" args="(QWidget *parentWidget, const char *widgetName, QObject *parent, const char *name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KMediaPlayer::Player::Player           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qwidget.html">QWidget</a> *&nbsp;</td>
          <td class="paramname"> <em>parentWidget</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>widgetName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="qt.tag:" href="qobject.html">QObject</a> *&nbsp;</td>
          <td class="paramname"> <em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This constructor is what to use when a GUI is required, as in the case of a KMediaPlayer/Player. 
<p>

<p>
Definition at line <a class="el" href="player_8cpp-source.html#l00031">31</a> of file <a class="el" href="player_8cpp-source.html">player.cpp</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c3a19cc9c0351c729daec97bdd40f155"></a><!-- doxytag: member="KMediaPlayer::Player::hasLength" ref="c3a19cc9c0351c729daec97bdd40f155" args="(void) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool KMediaPlayer::Player::hasLength           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns whether the current track has a length. 
<p>
Some streams are endless, and do not have one. 
<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
</div>
</div><p>
<a class="anchor" name="aa31f94ab5b2f834b6ed30af4b737fd5"></a><!-- doxytag: member="KMediaPlayer::Player::isLooping" ref="aa31f94ab5b2f834b6ed30af4b737fd5" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KMediaPlayer::Player::isLooping           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the current looping state. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
<p>
Definition at line <a class="el" href="player_8cpp-source.html#l00060">60</a> of file <a class="el" href="player_8cpp-source.html">player.cpp</a>.
</div>
</div><p>
<a class="anchor" name="74af063ca70e1d80fe086758947f8b5a"></a><!-- doxytag: member="KMediaPlayer::Player::isSeekable" ref="74af063ca70e1d80fe086758947f8b5a" args="(void) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool KMediaPlayer::Player::isSeekable           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns whether the current track honors seek requests. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
</div>
</div><p>
<a class="anchor" name="f5fb2595521ca01b8c8dc955257bc4b0"></a><!-- doxytag: member="KMediaPlayer::Player::length" ref="f5fb2595521ca01b8c8dc955257bc4b0" args="(void) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual unsigned long KMediaPlayer::Player::length           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the length of the current track. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
</div>
</div><p>
<a class="anchor" name="0ea8083d38c80a6d3cf627b579f520a5"></a><!-- doxytag: member="KMediaPlayer::Player::loopingChanged" ref="0ea8083d38c80a6d3cf627b579f520a5" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMediaPlayer::Player::loopingChanged           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the looping state is changed. 
<p>

</div>
</div><p>
<a class="anchor" name="8ab9532c795d0f6aa49a66288bd07934"></a><!-- doxytag: member="KMediaPlayer::Player::pause" ref="8ab9532c795d0f6aa49a66288bd07934" args="(void)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KMediaPlayer::Player::pause           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pause playback of the media track. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
</div>
</div><p>
<a class="anchor" name="9fc1aca273d727955010f23de9bdfdde"></a><!-- doxytag: member="KMediaPlayer::Player::play" ref="9fc1aca273d727955010f23de9bdfdde" args="(void)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KMediaPlayer::Player::play           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Begin playing the media track. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
</div>
</div><p>
<a class="anchor" name="242a39ab4f251746daa5b88f44b4ee98"></a><!-- doxytag: member="KMediaPlayer::Player::position" ref="242a39ab4f251746daa5b88f44b4ee98" args="(void) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual unsigned long KMediaPlayer::Player::position           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the current playback position in the track. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
</div>
</div><p>
<a class="anchor" name="af7b5608b9fa02f2d41bcfcf61b43d31"></a><!-- doxytag: member="KMediaPlayer::Player::seek" ref="af7b5608b9fa02f2d41bcfcf61b43d31" args="(unsigned long msec)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KMediaPlayer::Player::seek           </td>
          <td>(</td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>msec</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Move the current playback position to the specified time in milliseconds, if the track is seekable. 
<p>
Some streams may not be seeked. 
<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
</div>
</div><p>
<a class="anchor" name="bb5eb84d247ff2e81ef52830b0e35870"></a><!-- doxytag: member="KMediaPlayer::Player::setLooping" ref="bb5eb84d247ff2e81ef52830b0e35870" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMediaPlayer::Player::setLooping           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set whether the <a class="el" href="classKMediaPlayer_1_1Player.html">Player</a> should continue playing at the beginning of the track when the end of the track is reached. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
<p>
Definition at line <a class="el" href="player_8cpp-source.html#l00051">51</a> of file <a class="el" href="player_8cpp-source.html">player.cpp</a>.
</div>
</div><p>
<a class="anchor" name="5ce5053793d71987fa584f029ba1418d"></a><!-- doxytag: member="KMediaPlayer::Player::setState" ref="5ce5053793d71987fa584f029ba1418d" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMediaPlayer::Player::setState           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Implementers use this to control what users see as the current state. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
<p>
Definition at line <a class="el" href="player_8cpp-source.html#l00065">65</a> of file <a class="el" href="player_8cpp-source.html">player.cpp</a>.
</div>
</div><p>
<a class="anchor" name="2ee643ff5e4780beffc9227a382c620f"></a><!-- doxytag: member="KMediaPlayer::Player::state" ref="2ee643ff5e4780beffc9227a382c620f" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KMediaPlayer::Player::state           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the current state of the player. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
<p>
Definition at line <a class="el" href="player_8cpp-source.html#l00074">74</a> of file <a class="el" href="player_8cpp-source.html">player.cpp</a>.
</div>
</div><p>
<a class="anchor" name="b05daed5b4f6324cf11a91d3cb7bfa51"></a><!-- doxytag: member="KMediaPlayer::Player::stateChanged" ref="b05daed5b4f6324cf11a91d3cb7bfa51" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KMediaPlayer::Player::stateChanged           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted when the state changes. 
<p>

</div>
</div><p>
<a class="anchor" name="b02366a3538583aad497503eefde24d7"></a><!-- doxytag: member="KMediaPlayer::Player::stop" ref="b02366a3538583aad497503eefde24d7" args="(void)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void KMediaPlayer::Player::stop           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Stop playback of the media track and return to the beginning. 
<p>

<p>
Implements <a class="el" href="classKMediaPlayer_1_1PlayerDCOPObject.html">KMediaPlayer::PlayerDCOPObject</a>.
</div>
</div><p>
<a class="anchor" name="cf419f5a346a7ed75a26ff58538937dc"></a><!-- doxytag: member="KMediaPlayer::Player::view" ref="cf419f5a346a7ed75a26ff58538937dc" args="(void)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classKMediaPlayer_1_1View.html">View</a>* KMediaPlayer::Player::view           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A convenience function returning a pointer to the <a class="el" href="classKMediaPlayer_1_1View.html">View</a> for this <a class="el" href="classKMediaPlayer_1_1Player.html">Player</a>, or 0 if this <a class="el" href="classKMediaPlayer_1_1Player.html">Player</a> has no GUI. 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="player_8h-source.html">player.h</a><li><a class="el" href="player_8cpp-source.html">player.cpp</a></ul>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>interfaces</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classEditorChooser__UI.html">editorchooser__ui</option>,  <option value="classExtTerminalInterface.html">extterminalinterface</option>,  <option value="classKFileAudioPreview.html">kfileaudiopreview</option>,  <option value="classKHE_1_1BytesEditInterface.html">khe::byteseditinterface</option>,  <option value="classKHE_1_1CharColumnInterface.html">khe::charcolumninterface</option>,  <option value="classKHE_1_1ClipboardInterface.html">khe::clipboardinterface</option>,  <option value="classKHE_1_1ValueColumnInterface.html">khe::valuecolumninterface</option>,  <option value="classKHE_1_1ZoomInterface.html">khe::zoominterface</option>,  <option value="classKIMIface.html">kimiface</option>,  <option value="classKIMIface__stub.html">kimiface__stub</option>,  <option value="classKIMProxy.html">kimproxy</option>,  <option value="classKIMProxyIface.html">kimproxyiface</option>,  <option value="classKMediaPlayer_1_1Player.html">kmediaplayer::player</option>,  <option value="classKMediaPlayer_1_1PlayerDCOPObject.html">kmediaplayer::playerdcopobject</option>,  <option value="classKMediaPlayer_1_1View.html">kmediaplayer::view</option>,  <option value="classKRegExpEditorInterface.html">kregexpeditorinterface</option>,  <option value="classKScriptClientInterface.html">kscriptclientinterface</option>,  <option value="classKScriptInterface.html">kscriptinterface</option>,  <option value="classKScriptManager.html">kscriptmanager</option>,  <option value="classKSpeech.html">kspeech</option>,  <option value="classKSpeechSink.html">kspeechsink</option>,  <option value="classKTextEditor_1_1BlockSelectionDCOPInterface.html">ktexteditor::blockselectiondcopinterface</option>,  <option value="classKTextEditor_1_1BlockSelectionInterface.html">ktexteditor::blockselectioninterface</option>,  <option value="classKTextEditor_1_1ClipboardDCOPInterface.html">ktexteditor::clipboarddcopinterface</option>,  <option value="classKTextEditor_1_1ClipboardInterface.html">ktexteditor::clipboardinterface</option>,  <option value="classKTextEditor_1_1CodeCompletionInterface.html">ktexteditor::codecompletioninterface</option>,  <option value="classKTextEditor_1_1CompletionEntry.html">ktexteditor::completionentry</option>,  <option value="classKTextEditor_1_1ConfigInterface.html">ktexteditor::configinterface</option>,  <option value="classKTextEditor_1_1ConfigInterfaceExtension.html">ktexteditor::configinterfaceextension</option>,  <option value="classKTextEditor_1_1ConfigPage.html">ktexteditor::configpage</option>,  <option value="classKTextEditor_1_1Cursor.html">ktexteditor::cursor</option>,  <option value="classKTextEditor_1_1CursorInterface.html">ktexteditor::cursorinterface</option>,  <option value="classKTextEditor_1_1Document.html">ktexteditor::document</option>,  <option value="classKTextEditor_1_1DocumentInfoDCOPInterface.html">ktexteditor::documentinfodcopinterface</option>,  <option value="classKTextEditor_1_1DocumentInfoInterface.html">ktexteditor::documentinfointerface</option>,  <option value="classKTextEditor_1_1DynWordWrapInterface.html">ktexteditor::dynwordwrapinterface</option>,  <option value="classKTextEditor_1_1EditDCOPInterface.html">ktexteditor::editdcopinterface</option>,  <option value="classKTextEditor_1_1EditInterface.html">ktexteditor::editinterface</option>,  <option value="classKTextEditor_1_1EditInterfaceExt.html">ktexteditor::editinterfaceext</option>,  <option value="classKTextEditor_1_1Editor.html">ktexteditor::editor</option>,  <option value="classKTextEditor_1_1EditorChooser.html">ktexteditor::editorchooser</option>,  <option value="classKTextEditor_1_1EncodingDCOPInterface.html">ktexteditor::encodingdcopinterface</option>,  <option value="classKTextEditor_1_1EncodingInterface.html">ktexteditor::encodinginterface</option>,  <option value="classKTextEditor_1_1HighlightingInterface.html">ktexteditor::highlightinginterface</option>,  <option value="classKTextEditor_1_1Mark.html">ktexteditor::mark</option>,  <option value="classKTextEditor_1_1MarkInterface.html">ktexteditor::markinterface</option>,  <option value="classKTextEditor_1_1MarkInterfaceExtension.html">ktexteditor::markinterfaceextension</option>,  <option value="classKTextEditor_1_1Plugin.html">ktexteditor::plugin</option>,  <option value="classKTextEditor_1_1PluginViewInterface.html">ktexteditor::pluginviewinterface</option>,  <option value="classKTextEditor_1_1PopupMenuInterface.html">ktexteditor::popupmenuinterface</option>,  <option value="classKTextEditor_1_1PrintDCOPInterface.html">ktexteditor::printdcopinterface</option>,  <option value="classKTextEditor_1_1PrintInterface.html">ktexteditor::printinterface</option>,  <option value="classKTextEditor_1_1SearchDCOPInterface.html">ktexteditor::searchdcopinterface</option>,  <option value="classKTextEditor_1_1SearchInterface.html">ktexteditor::searchinterface</option>,  <option value="classKTextEditor_1_1SelectionDCOPInterface.html">ktexteditor::selectiondcopinterface</option>,  <option value="classKTextEditor_1_1SelectionExtDCOPInterface.html">ktexteditor::selectionextdcopinterface</option>,  <option value="classKTextEditor_1_1SelectionInterface.html">ktexteditor::selectioninterface</option>,  <option value="classKTextEditor_1_1SelectionInterfaceExt.html">ktexteditor::selectioninterfaceext</option>,  <option value="classKTextEditor_1_1SessionConfigInterface.html">ktexteditor::sessionconfiginterface</option>,  <option value="classKTextEditor_1_1TemplateInterface.html">ktexteditor::templateinterface</option>,  <option value="classKTextEditor_1_1TextHintInterface.html">ktexteditor::texthintinterface</option>,  <option value="classKTextEditor_1_1UndoDCOPInterface.html">ktexteditor::undodcopinterface</option>,  <option value="classKTextEditor_1_1UndoInterface.html">ktexteditor::undointerface</option>,  <option value="classKTextEditor_1_1VariableInterface.html">ktexteditor::variableinterface</option>,  <option value="classKTextEditor_1_1View.html">ktexteditor::view</option>,  <option value="classKTextEditor_1_1ViewCursorDCOPInterface.html">ktexteditor::viewcursordcopinterface</option>,  <option value="classKTextEditor_1_1ViewCursorInterface.html">ktexteditor::viewcursorinterface</option>,  <option value="classKTextEditor_1_1ViewStatusMsgDCOPInterface.html">ktexteditor::viewstatusmsgdcopinterface</option>,  <option value="classKTextEditor_1_1ViewStatusMsgInterface.html">ktexteditor::viewstatusmsginterface</option>,  <option value="classKTextEditor_1_1WordWrapInterface.html">ktexteditor::wordwrapinterface</option>,  <option value="classScriptLoader.html">scriptloader</option>,  <option value="classShellScript.html">shellscript</option>,  <option value="classTerminalInterface.html">terminalinterface</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li>&nbsp;&nbsp;<a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#116;&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>