<?xml version="1.0" ?>
<!DOCTYPE profile SYSTEM "profile.dtd">
<profile id="kdetv" servicename="kdetv">
	<name>kdetv</name>
	<author>Zsolt Rizsanyi and Dirk Ziegelmeier</author>
	<instances unique="0" ifmulti="sendtotop"/>
	<action objid="KdetvIface" prototype="void processNumberKeyEvent(int digit)"
		class="number" repeat="0">
		<name>Enter channel number</name>
		<comment>Sends the entered digit to change channel</comment>
		<argument type="int">
			<comment>The processed digit</comment>
			<range min="0" max="9"/>
		</argument>
	</action>
	<action objid="KdetvIface" prototype="void channelDown()"
		class="channeldown" repeat="1">
		<name>Channel Down</name>
		<comment>Switch to one channel down</comment>
	</action>
	<action objid="KdetvIface" prototype="void channelUp()"
		class="channelup" repeat="1">
		<name>Channel Up</name>
		<comment>Switch to one channel up</comment>
	</action>
	<action objid="KdetvIface" prototype="void previousChannel()" class="previous">
	    <name>Previous channel</name>
	    <comment>Switch back to the previous channel</comment>
	</action>

	<action objid="KdetvIface" prototype="void toggleMute()"
		class="mute">
		<name>Mute</name>
		<comment>Toggle sound muting</comment>
	</action>
	<action objid="KdetvIface" prototype="void volumeUp()"
		class="volumeup" repeat="1">
		<name>Volume Up</name>
		<comment>Increase volume</comment>
	</action>
	<action objid="KdetvIface" prototype="void volumeDown()"
		class="volumedown" repeat="1">
		<name>Volume Down</name>
		<comment>Decrease volume</comment>
	</action>
	<action objid="KdetvIface" prototype="void setVolume(int)">
		<name>Set Volume</name>
		<comment>Set the volume.</comment>
		<argument type="int">
			<comment>The volume to set the sound to.</comment>
			<range min="0" max="100"/>
		</argument>
	</action>

	<action objid="KdetvIface" prototype="void snapshot(QString filename)">
		<name>Snapshot</name>
		<comment>Save current TV picture to file</comment>
		<argument type="QString">
			<comment>Filename to save picture to (empty: autogenerate filename)</comment>
		</argument>
	</action>

	<action objid="KdetvIface" prototype="void start()" class="play">
	    <name>Start video</name>
	    <comment>Start video playback</comment>
	</action>
	<action objid="KdetvIface" prototype="void stop()" class="stop">
	    <name>Stop video</name>
	    <comment>Stop video playback</comment>
	</action>

	<action objid="KdetvIface" prototype="void playDevice(const QString&amp; dev)">
		<name>Play device</name>
		<comment>Start playing specified device</comment>
		<argument type="QString">
			<comment>Name of the input device</comment>
		</argument>
	</action>

	<action objid="MainApplication-Interface" prototype="void quit()" class="off">
		<name>Quit</name>
		<comment>Exit program</comment>
	</action>

    <!-- Overscan actions -->
	<action objid="OverscanIface" prototype="void increaseOverscan()">
	    <name>Increase overscan</name>
	    <comment>Increases overscan ("Zoom in")</comment>
	</action>
	<action objid="OverscanIface" prototype="void decreaseOverscan()">
	    <name>Decrease overscan</name>
	    <comment>Decreases overscan ("Zoom out")</comment>
	</action>

	<!-- view actions -->
	<action objid="KdetvViewIface" prototype="void nextViewMode()">
		<name>Next View</name>
		<comment>Change to the next view mode</comment>
	</action>
	<action objid="KdetvViewIface" prototype="void toggleFullScreen()"
		class="fullscreen" repeat="0">
		<name>Toggle Fullscreen</name>
		<comment>Toggle fullscreen on and off</comment>
	</action>

	<!-- switch directly to a mode -->
	<action objid="KdetvViewIface" prototype="void setViewModeNone()">
	    <name>Turn off video</name>
	    <comment>Turns off video display</comment>
	</action>
	<action objid="KdetvViewIface" prototype="void setViewModeNormal()">
	    <name>Normal view mode</name>
	    <comment>Switch to normal video display in a window</comment>
	</action>
	<action objid="KdetvViewIface" prototype="void setViewModeTV()">
	    <name>TV Mode</name>
	    <comment>Switch to TV mode</comment>
	</action>
	<action objid="KdetvViewIface" prototype="void setViewModeFullScreen()">
	    <name>Fullscreen</name>
	    <comment>Switch to fullscreen video display</comment>
	</action>
	<action objid="KdetvViewIface" prototype="void setVideoDesktop()">
	    <name>Video on desktop</name>
	    <comment>Switch to video on desktop view mode</comment>
	</action>

	<!-- plugin actions -->
	<action objid="TelexIface" prototype="void toggleShow()" class="teletext">
		<name>Teletext</name>
		<comment>Turn teletext on or off</comment>
	</action>
	<action objid="TelexIface" prototype="void toggleTransparent()">
		<name>Transparent teletext</name>
		<comment>Toggle teletext transparency</comment>
	</action>
	<action objid="TelexIface" prototype="void toggleReveal()">
		<name>Reveal hidden teletext</name>
		<comment>Toggle displaying of hidden teletext</comment>
	</action>
	<action objid="TelexIface" prototype="void nextPage()">
		<name>Next TTX Page</name>
		<comment>Show the next teletext page</comment>
	</action>
	<action objid="TelexIface" prototype="void prevoiusPage()">
		<name>Previous TTX Page</name>
		<comment>Show the prevoius teletext page</comment>
	</action>
	<action objid="TelexIface" prototype="void navigate(int)">
		<name>Shows TTX page</name>
		<comment>Shows the specified teletext page</comment>
		<argument type="int">
			<comment>The page number to be shown</comment>
			<default>100</default>
		</argument>
	</action>
</profile>
