diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 2bda8f7717adf28da4af0d34fb82f63d2868c31d (patch) | |
tree | 8d927b7b47a90c4adb646482a52613f58acd6f8c /kdelirc/profiles | |
download | tdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.tar.gz tdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdelirc/profiles')
-rw-r--r-- | kdelirc/profiles/Makefile.am | 5 | ||||
-rw-r--r-- | kdelirc/profiles/klauncher.profile.xml | 18 | ||||
-rw-r--r-- | kdelirc/profiles/konqueror.profile.xml | 17 | ||||
-rw-r--r-- | kdelirc/profiles/noatun.profile.xml | 75 | ||||
-rw-r--r-- | kdelirc/profiles/profile.dtd | 28 |
5 files changed, 143 insertions, 0 deletions
diff --git a/kdelirc/profiles/Makefile.am b/kdelirc/profiles/Makefile.am new file mode 100644 index 0000000..e25d1d4 --- /dev/null +++ b/kdelirc/profiles/Makefile.am @@ -0,0 +1,5 @@ +profiledata_DATA = profile.dtd noatun.profile.xml klauncher.profile.xml konqueror.profile.xml +profiledatadir = $(kde_datadir)/profiles + +EXTRA_DIST = $(profiledata_DATA) + diff --git a/kdelirc/profiles/klauncher.profile.xml b/kdelirc/profiles/klauncher.profile.xml new file mode 100644 index 0000000..436a04d --- /dev/null +++ b/kdelirc/profiles/klauncher.profile.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" ?> +<!DOCTYPE profile SYSTEM "profile.dtd"> +<profile id="klauncher"> + <name>KDE Program Launcher</name> + <author>Gav Wood</author> + <action objid="default" prototype="void kdeinit_exec(QString, QStringList)" repeat="0" autostart="0"> + <name>Execute</name> + <comment>Runs a program or script</comment> + <argument type="QString"><comment>The executable name and path of the program or script to run</comment></argument> + <argument type="QStringList"><comment>Parameters for the program or script</comment></argument> + </action> + <action objid="default" prototype="void kdeinit_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="QString"><comment>The executable name and path of the program or script to run</comment></argument> + <argument type="QStringList"><comment>Parameters for the program or script</comment></argument> + </action> +</profile> diff --git a/kdelirc/profiles/konqueror.profile.xml b/kdelirc/profiles/konqueror.profile.xml new file mode 100644 index 0000000..7dfd78c --- /dev/null +++ b/kdelirc/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="QString"><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/kdelirc/profiles/noatun.profile.xml b/kdelirc/profiles/noatun.profile.xml new file mode 100644 index 0000000..a9b204b --- /dev/null +++ b/kdelirc/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/kdelirc/profiles/profile.dtd b/kdelirc/profiles/profile.dtd new file mode 100644 index 0000000..070fd14 --- /dev/null +++ b/kdelirc/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"> + +]> + + |