summaryrefslogtreecommitdiffstats
path: root/tdelirc/profiles
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-05-17 12:45:40 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-05-17 12:45:40 -0500
commit359294c33620c8328d61f67635046d7cc060530c (patch)
treef2ac08fdad8860f7bc1ac76203e31013a799fda7 /tdelirc/profiles
parent7be7990fc5770d2cbcd937772e8239167b5900c6 (diff)
downloadtdeutils-359294c33620c8328d61f67635046d7cc060530c.tar.gz
tdeutils-359294c33620c8328d61f67635046d7cc060530c.zip
Rename kdessh -> tdessh and kdelirc -> tdelirc.
Diffstat (limited to 'tdelirc/profiles')
-rw-r--r--tdelirc/profiles/CMakeLists.txt16
-rw-r--r--tdelirc/profiles/Makefile.am5
-rw-r--r--tdelirc/profiles/konqueror.profile.xml17
-rw-r--r--tdelirc/profiles/noatun.profile.xml75
-rw-r--r--tdelirc/profiles/profile.dtd28
-rw-r--r--tdelirc/profiles/tdelauncher.profile.xml18
6 files changed, 159 insertions, 0 deletions
diff --git a/tdelirc/profiles/CMakeLists.txt b/tdelirc/profiles/CMakeLists.txt
new file mode 100644
index 0000000..7fedebd
--- /dev/null
+++ b/tdelirc/profiles/CMakeLists.txt
@@ -0,0 +1,16 @@
+#################################################
+#
+# (C) 2012 Golubev Alexander
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES profile.dtd noatun.profile.xml
+ tdelauncher.profile.xml konqueror.profile.xml
+ DESTINATION ${DATA_INSTALL_DIR}/profiles
+)
+
diff --git a/tdelirc/profiles/Makefile.am b/tdelirc/profiles/Makefile.am
new file mode 100644
index 0000000..9561d73
--- /dev/null
+++ b/tdelirc/profiles/Makefile.am
@@ -0,0 +1,5 @@
+profiledata_DATA = profile.dtd noatun.profile.xml tdelauncher.profile.xml konqueror.profile.xml
+profiledatadir = $(kde_datadir)/profiles
+
+EXTRA_DIST = $(profiledata_DATA)
+
diff --git a/tdelirc/profiles/konqueror.profile.xml b/tdelirc/profiles/konqueror.profile.xml
new file mode 100644
index 0000000..0fdfdba
--- /dev/null
+++ b/tdelirc/profiles/konqueror.profile.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<!DOCTYPE profile SYSTEM "profile.dtd">
+
+<profile id="konqueror" servicename="konqueror">
+ <name>Konqueror</name>
+ <author>Gav Wood</author>
+ <instances uniqueapp="0" ifmulti="sendtotop"/>
+ <action objid="KonquerorIface" prototype="void createNewWindow(QString)" repeat="0" autostart="0">
+ <name>Create New Window</name>
+ <comment>Creates a new window and loads an arbitrary URL.</comment>
+ <argument type=TQSTRING_OBJECT_NAME_STRING><comment>The URL to load in the window initially.</comment></argument>
+ </action>
+ <action objid="MainApplication-Interface" prototype="void quit()" repeat="0" autostart="0">
+ <name>Quit</name>
+ <comment>Closes the Konqueror window.</comment>
+ </action>
+</profile>
diff --git a/tdelirc/profiles/noatun.profile.xml b/tdelirc/profiles/noatun.profile.xml
new file mode 100644
index 0000000..a9b204b
--- /dev/null
+++ b/tdelirc/profiles/noatun.profile.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" ?>
+<!DOCTYPE profile SYSTEM "profile.dtd">
+
+<profile id="noatun" servicename="noatun">
+ <name>Noatun</name>
+ <author>Gav Wood</author>
+ <action objid="Noatun" prototype="void playpause()" class="pause">
+ <name>Play/Pause</name>
+ <comment>Toggles the current track between playing and pausing.</comment>
+ </action>
+ <action objid="Noatun" prototype="void stop()" class="stop">
+ <name>Stop</name>
+ <comment>Stops current playback, if any.</comment>
+ </action>
+ <action objid="Noatun" prototype="void clear()" class="eject">
+ <name>Clear Playlist</name>
+ <comment>Clears the playlist of all items.</comment>
+ </action>
+ <action objid="Noatun" prototype="void back()" class="previous">
+ <name>Back</name>
+ <comment>Skips to the start of the last track.</comment>
+ </action>
+ <action objid="Noatun" prototype="void forward()" class="next">
+ <name>Forward</name>
+ <comment>Skips to the start of the next track.</comment>
+ </action>
+ <action objid="Noatun" prototype="void loop()">
+ <name>Playback Mode</name>
+ <comment>Cycles through the playback modes of Noatun.</comment>
+ </action>
+ <action objid="Noatun" prototype="void play()" class="play">
+ <name>Play</name>
+ <comment>Starts playback.</comment>
+ </action>
+ <action objid="Noatun" prototype="void removeCurrent()">
+ <name>Remove Current</name>
+ <comment>Removes only the current track from the play list.</comment>
+ </action>
+ <action objid="Noatun" prototype="void toggleMute()" class="mute">
+ <name>Mute</name>
+ <comment>Toggle sound muting</comment>
+ </action>
+ <action objid="Noatun" prototype="void volumeUp()" class="volumeup" repeat="1">
+ <name>Volume Up</name>
+ <comment>Increase volume</comment>
+ </action>
+ <action objid="Noatun" prototype="void volumeDown()" class="volumedown" repeat="1">
+ <name>Volume Down</name>
+ <comment>Decrease volume</comment>
+ </action>
+ <action objid="Noatun" prototype="void setVolume(int volume)">
+ <name>Set Volume</name>
+ <comment>Sets the volume to a configurable amount.</comment>
+ <argument type="int">
+ <comment>The required percentage of the volume.</comment>
+ <range min="0" max="100"/>
+ </argument>
+ </action>
+ <action objid="Noatun" prototype="void toggleListView()">
+ <name>Toggle Playlist View</name>
+ <comment>Toggles the visiblility of the playlist window.</comment>
+ </action>
+ <action objid="Noatun" prototype="void skipto(int)">
+ <name>Skip To</name>
+ <comment>Skips to a configurable point in the current track.</comment>
+ <argument type="int">
+ <comment>The percentage of the track to move through.</comment>
+ <range min="0" max="100"/>
+ </argument>
+ </action>
+ <action objid="MainApplication-Interface" prototype="void quit()" class="off">
+ <name>Quit</name>
+ <comment>Exit Noatun</comment>
+ </action>
+</profile>
diff --git a/tdelirc/profiles/profile.dtd b/tdelirc/profiles/profile.dtd
new file mode 100644
index 0000000..070fd14
--- /dev/null
+++ b/tdelirc/profiles/profile.dtd
@@ -0,0 +1,28 @@
+<!DOCTYPE profile [
+
+<!ELEMENT profile (action+, name, author)>
+<!ELEMENT name (#PCDATA)>
+<!ELEMENT author (#PCDATA)>
+<!ELEMENT action (name, comment, argument*)>
+<!ELEMENT argument (comment, range?, default?)>
+<!ELEMENT comment (#PCDATA)>
+<!ELEMENT type (#PCDATA)>
+<!ELEMENT instances>
+<!ELEMENT default (#PCDATA)>
+
+<!ATTLIST profile id CDATA #REQUIRED>
+<!ATTLIST profile servicename CDATA #REQUIRED>
+<!ATTLIST action objid CDATA #REQUIRED>
+<!ATTLIST action prototype CDATA #REQUIRED>
+<!ATTLIST argument type (int|QString|QCString|QStringList|bool|double) #REQUIRED>
+<!ATTLIST range min CDATA #REQUIRED>
+<!ATTLIST range max CDATA #REQUIRED>
+<!ATTLIST action class (captions|teletext|fullscreen|scan|finetuneup|finetunedown|recall|enter|number|play|stop|pause|record|previous|next|rewind|forward|eject|mute|volumedown|volumeup|channeldown|channelup|red|yellow|green|blue|on|off) #IMPLIED>
+<!ATTLIST action multiplier CDATA "1" #IMPLIED>
+<!ATTLIST action repeat (0|1) "0">
+<!ATTLIST instances uniqueapp (0|1) "1" #REQUIRED>
+<!ATTLIST instances ifmulti (sendtotop|sendtobottom|sendtoall|dontsend) "dontsend">
+
+]>
+
+
diff --git a/tdelirc/profiles/tdelauncher.profile.xml b/tdelirc/profiles/tdelauncher.profile.xml
new file mode 100644
index 0000000..57eca31
--- /dev/null
+++ b/tdelirc/profiles/tdelauncher.profile.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" ?>
+<!DOCTYPE profile SYSTEM "profile.dtd">
+<profile id="tdelauncher">
+ <name>TDE Program Launcher</name>
+ <author>Gav Wood</author>
+ <action objid="default" prototype="void tdeinit_exec(QString, QStringList)" repeat="0" autostart="0">
+ <name>Execute</name>
+ <comment>Runs a program or script</comment>
+ <argument type=TQSTRING_OBJECT_NAME_STRING><comment>The executable name and path of the program or script to run</comment></argument>
+ <argument type=TQSTRINGLIST_OBJECT_NAME_STRING><comment>Parameters for the program or script</comment></argument>
+ </action>
+ <action objid="default" prototype="void tdeinit_exec_wait(QString, QStringList)" repeat="0" autostart="0">
+ <name>Execute and Wait</name>
+ <comment>Runs a program or script and waits for it to finish</comment>
+ <argument type=TQSTRING_OBJECT_NAME_STRING><comment>The executable name and path of the program or script to run</comment></argument>
+ <argument type=TQSTRINGLIST_OBJECT_NAME_STRING><comment>Parameters for the program or script</comment></argument>
+ </action>
+</profile>