move to kdeexamples
svn path=/trunk/KDE/kdebase/runtime/; revision=1036210
This commit is contained in:
parent
6064152c36
commit
ba8d116dc0
@ -1,13 +0,0 @@
|
||||
plasmoid.configChanged = function()
|
||||
{
|
||||
plasmoid.activeConfig = "main";
|
||||
print("Configuration changed: " + plasmoid.readConfig("Test"));
|
||||
}
|
||||
|
||||
print(plasmoid.readConfig("Test"));
|
||||
plasmoid.activeConfig = "secondary";
|
||||
print(plasmoid.activeConfig);
|
||||
print(plasmoid.readConfig("Test"));
|
||||
plasmoid.writeConfig("Test", "A different text!");
|
||||
print(plasmoid.readConfig("Test"));
|
||||
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
||||
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
||||
<kcfgfile name=""/>
|
||||
|
||||
<group name="General">
|
||||
<entry name="Test" type="String">
|
||||
<label>A test label</label>
|
||||
<default>Hello hello!</default>
|
||||
</entry>
|
||||
</group>
|
||||
|
||||
</kcfg>
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
||||
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
||||
<kcfgfile name=""/>
|
||||
|
||||
<group name="Secondary">
|
||||
<entry name="Test" type="String">
|
||||
<label>A test label</label>
|
||||
<default>This is in the secondary config XML</default>
|
||||
</entry>
|
||||
</group>
|
||||
|
||||
</kcfg>
|
@ -1,54 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Form</class>
|
||||
<widget class="QWidget" name="Form">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>38</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>&Text:</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>kcfg_Test</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="KLineEdit" name="kcfg_Test"/>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>3</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>KLineEdit</class>
|
||||
<extends>QLineEdit</extends>
|
||||
<header>klineedit.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,111 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=javascript-config-test
|
||||
Name[bg]=javascript-config-test
|
||||
Name[ca]=javascript-config-test
|
||||
Name[ca@valencia]=javascript-config-test
|
||||
Name[cs]=Test nastavení JavaScript
|
||||
Name[da]=javascript-config-test
|
||||
Name[de]=javascript-config-test
|
||||
Name[el]=javascript-config-test
|
||||
Name[en_GB]=javascript-config-test
|
||||
Name[es]=test-de-config-javascript
|
||||
Name[et]=javascript-config-test
|
||||
Name[fr]=javascript-config-test
|
||||
Name[fy]=javaskript-konfig-test
|
||||
Name[ga]=javascript-config-test
|
||||
Name[gl]=javascript-config-test
|
||||
Name[gu]=જાવાસ્ક્રિપ્ટ-રૂપરેખાંકન-ચકાસણી
|
||||
Name[hr]=javascript-test-konfiguracije
|
||||
Name[hu]=javascript-config-test
|
||||
Name[id]=javascript-config-test
|
||||
Name[is]=JavaScript stillingaprófun
|
||||
Name[it]=javascript-config-test
|
||||
Name[ja]=javascript-config-test
|
||||
Name[kk]=javascript-config-test
|
||||
Name[km]=javascript-config-test
|
||||
Name[ko]=javascript-config-test
|
||||
Name[lt]=javascript-config-testas
|
||||
Name[lv]=javascript-config-test
|
||||
Name[ml]=javascript-config-test
|
||||
Name[nb]=javascript-config-test
|
||||
Name[nds]=JavaScript-Instellen-Test
|
||||
Name[nl]=javascript-config-test
|
||||
Name[nn]=javascript-config-test
|
||||
Name[or]=javascript-config-test
|
||||
Name[pa]=javascript-config-test
|
||||
Name[pl]=javascript-config-test
|
||||
Name[pt]=javascript-config-test
|
||||
Name[pt_BR]=javascript-config-test
|
||||
Name[ro]=javascript-config-test
|
||||
Name[ru]=javascript-config-test
|
||||
Name[si]=javascript-config-test
|
||||
Name[sl]=javascript-config-test
|
||||
Name[sr]=javascript-config-test
|
||||
Name[sr@latin]=javascript-config-test
|
||||
Name[sv]=Javascript-inställningstest
|
||||
Name[tg]=Проверка работы Knotify
|
||||
Name[tr]=javascript-yapılandırma-testi
|
||||
Name[uk]=javascript-config-test
|
||||
Name[x-test]=xxjavascript-config-testxx
|
||||
Name[zh_CN]=JavaScript-配置测试
|
||||
Name[zh_TW]=javascript-config-test
|
||||
Comment=Javascript config object test widget
|
||||
Comment[ca]=Eina de proves de configuració d'objectes de Javascript
|
||||
Comment[ca@valencia]=Eina de proves de configuració d'objectes de Javascript
|
||||
Comment[cs]=Widget pro testování Javascriptu
|
||||
Comment[da]=Widget til test af Javascript config-objekt
|
||||
Comment[de]=Javascript-Einrichtungsobjekt Testelement
|
||||
Comment[el]=Γραφικό συστατικό ελέγχου αντικειμένου ρυθμίσεων Javascript
|
||||
Comment[en_GB]=Javascript config object test widget
|
||||
Comment[es]=widget de prueba de configuración objeto de javascript
|
||||
Comment[et]=JavaScripti seadistuse objekti testi vidin
|
||||
Comment[fr]=Plasmoïde de test de configuration Javascript
|
||||
Comment[fy]=Javaskript konfiguraasje objekt test widget
|
||||
Comment[ga]=Giuirléid tástála cumraíochta JavaScript
|
||||
Comment[gl]=Widget de proba da configuración do obxecto en Javascript
|
||||
Comment[gu]=જાવાસ્ક્રિપ્ટ રૂપરેખાંકન ઓબ્જેક્ટ ચકાસણી વિજેટ
|
||||
Comment[hr]=Widget za testiranje Javascript konfiguracijskog objekta
|
||||
Comment[hu]=JavaScript-tesztobjektum
|
||||
Comment[id]=Widget tes objek konfigurasi javascript
|
||||
Comment[is]=Javascript græja til stillingaprófana
|
||||
Comment[it]=Oggetto di prova per la gestione della configurazione in JavaScript
|
||||
Comment[km]=ធាតុក្រាហ្វិកសាកល្បងវត្ថុរបស់ Javascript config
|
||||
Comment[ko]=자바스크립트 config 개체 테스트 위젯
|
||||
Comment[lt]=Javascript configūravimo objekto bandomasis valdiklis
|
||||
Comment[lv]=Javascript configurācijas objekta testa logdaļa
|
||||
Comment[ml]=ജാവാസ്ക്രിപ്റ്റ് ക്രമീകരണ ലക്ഷ്യപരിശോധനാ വിഡ്ജറ്റ്
|
||||
Comment[nb]=Javascript config objekt testelement
|
||||
Comment[nds]=JavaScript-Instellenobjekt-Testelement
|
||||
Comment[nl]=Widget voor javascript-config-test
|
||||
Comment[nn]=Testeprogram for oppsett av JavaScript
|
||||
Comment[pa]=ਜਾਵਾਸਕ੍ਰਿਪਟ ਸੰਰਚਨਾ ਆਬਜੈਕਟ ਟੈਸਟ ਵਿਦਜੈੱਟ
|
||||
Comment[pl]=Testowy element do konfiguracji obiektu Javascript
|
||||
Comment[pt]=Elemento de teste de objectos de configuração em JavaScript
|
||||
Comment[pt_BR]=Widget de teste de objetos de configuração em Javascript
|
||||
Comment[ru]=Тестовый виджет с возможностью настройки, написанный на языке JavaScript
|
||||
Comment[si]=Javascript config object test widget
|
||||
Comment[sl]=Preizkusni gradnik nastavitvenega objekta za Javascript
|
||||
Comment[sr]=Виџет за пробу јаваскриптног објекта поставе
|
||||
Comment[sr@latin]=Vidžet za probu javascript objekta postave
|
||||
Comment[sv]=Grafisk testkomponent för Javascript-inställningsobjekt
|
||||
Comment[te]=జావాస్క్రిప్ట్ కాన్ఫిగ్ ఆబ్జక్ట్ టెస్ట్ విడ్జట్
|
||||
Comment[tg]=Проверка работы Knotify
|
||||
Comment[tr]=Javascript yapılandırma nesnesi deneme parçacığı
|
||||
Comment[uk]=Віджет перевірки налаштувань об’єктів Javascript
|
||||
Comment[x-test]=xxJavascript config object test widgetxx
|
||||
Comment[zh_CN]=JavaScript 配置对象测试部件
|
||||
Comment[zh_TW]=Javascript 設定物件測試元件
|
||||
Icon=configure
|
||||
Type=Service
|
||||
X-KDE-ServiceTypes=Plasma/Applet
|
||||
X-Plasma-MainScript=code/main.js
|
||||
X-KDE-PluginInfo-Author=Aaron Seigo
|
||||
X-KDE-PluginInfo-Email=aseigo@kde.org
|
||||
X-KDE-PluginInfo-Name=javascript-config-test
|
||||
X-KDE-PluginInfo-Version=0.0
|
||||
X-KDE-PluginInfo-Website=http://plasma.kde.org/
|
||||
X-KDE-PluginInfo-Category=Utilities
|
||||
X-KDE-PluginInfo-Depends=
|
||||
X-KDE-PluginInfo-License=GPL
|
||||
X-KDE-PluginInfo-EnabledByDefault=true
|
||||
X-Plasma-API=javascript
|
@ -1,12 +0,0 @@
|
||||
plasmoid.dataUpdate = function(a, b)
|
||||
{
|
||||
label.text = "It is " + b.Time.toString() + " in " + a;
|
||||
}
|
||||
|
||||
layout = new LinearLayout(plasmoid);
|
||||
label = new Label();
|
||||
layout.addItem(label);
|
||||
|
||||
print(dataEngine("time").query("UTC").Time.toString());
|
||||
plasmoid.dataEngine("time").connectSource("UTC", plasmoid, 500);
|
||||
|
@ -1,121 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=script-digital-clock
|
||||
Name[bg]=script-digital-clock
|
||||
Name[ca]=script-digital-clock
|
||||
Name[ca@valencia]=script-digital-clock
|
||||
Name[cs]=Skript pro digitální hodiny
|
||||
Name[csb]=scriptowi-cëfrowi-zédżer
|
||||
Name[da]=script-digital-clock
|
||||
Name[de]=script-digital-clock
|
||||
Name[el]=script-digital-clock
|
||||
Name[en_GB]=script-digital-clock
|
||||
Name[es]=script-Reloj-digital
|
||||
Name[et]=script-digital-clock
|
||||
Name[fr]=script-digital-clock
|
||||
Name[fy]=skript-digitale-klok
|
||||
Name[ga]=script-digital-clock
|
||||
Name[gl]=script-digital-clock
|
||||
Name[gu]=સ્ક્રિપ્ટ-ડિજીટલ-ઘડિયાળ
|
||||
Name[he]=script-digital-clock
|
||||
Name[hr]=script-digitalni-sat
|
||||
Name[hu]=script-digital-clock
|
||||
Name[id]=script-digital-clock
|
||||
Name[is]=Stafræn klukkuskrifta
|
||||
Name[it]=script-digital-clock
|
||||
Name[ja]=script-digital-clock
|
||||
Name[km]=នាឡិកាឌីជីថលស្គ្រីប
|
||||
Name[ko]=script-digital-clock
|
||||
Name[lt]=scenarijus-skaitmeninis-laikrodis
|
||||
Name[lv]=script-digital-clock
|
||||
Name[mai]=स्क्रिप्ट डिजिटल घडी
|
||||
Name[mk]=Едноставен дигитален часовник
|
||||
Name[ml]=script-digital-clock
|
||||
Name[nb]=script-digital-clock
|
||||
Name[nds]=Skript-Digitaalklock
|
||||
Name[nl]=script-digitale-klok
|
||||
Name[nn]=script-digital-clock
|
||||
Name[or]=script-digital-clock
|
||||
Name[pa]=script-digital-clock
|
||||
Name[pl]=script-digital-clock
|
||||
Name[pt]=script-digital-clock
|
||||
Name[pt_BR]=script-relógio-digital
|
||||
Name[ro]=script-ceas-digital
|
||||
Name[ru]=script-digital-clock
|
||||
Name[si]=script-digital-clock
|
||||
Name[sl]=script-digital-clock
|
||||
Name[sr]=script-digital-clock
|
||||
Name[sr@latin]=script-digital-clock
|
||||
Name[sv]=Skript med digitalklocka
|
||||
Name[tg]=Часы, поддерживающие темы SVG
|
||||
Name[tr]=betik-dijital-saat
|
||||
Name[uk]=script-digital-clock
|
||||
Name[x-test]=xxscript-digital-clockxx
|
||||
Name[zh_CN]=脚本-数字钟
|
||||
Name[zh_TW]=script-digital-clock
|
||||
Comment=Javascript digital clock
|
||||
Comment[bg]=Цифров часовник (JavaScript)
|
||||
Comment[ca]=Rellotge digital en Javascript
|
||||
Comment[ca@valencia]=Rellotge digital en Javascript
|
||||
Comment[cs]=Digitální hodiny v JavaScriptu
|
||||
Comment[csb]= Javascriptowi cëfrowi zédżer
|
||||
Comment[da]=Digitalt ur i Javascript
|
||||
Comment[de]=Eine digitale Javascript-Uhr
|
||||
Comment[el]=Ψηφιακό ρολόι Javascript
|
||||
Comment[en_GB]=Javascript digital clock
|
||||
Comment[es]=Reloj javascript digital
|
||||
Comment[et]=Javascripti digikell
|
||||
Comment[fr]=Horloge numérique JavaScript
|
||||
Comment[fy]=Javaskript digitale klok
|
||||
Comment[ga]=Clog digiteach JavaScript
|
||||
Comment[gl]=Reloxo dixital escrito en JavaScript
|
||||
Comment[gu]=જાવાસ્ક્રિપ્ટ ડિજીટલ ઘડિયાળ
|
||||
Comment[hr]=Jednostavan digitalni sat
|
||||
Comment[hu]=JavaScript-alapú digitális óra
|
||||
Comment[id]=Jam digital javascript
|
||||
Comment[is]=JavaScript stafræn klukka
|
||||
Comment[it]=Orologio digitale JavaScript
|
||||
Comment[ja]=JavaScript のデジタル時計
|
||||
Comment[kk]=JavaScript цифрлық сағат
|
||||
Comment[km]=នាឡិកាឌីជីថល Javascript
|
||||
Comment[ko]=자바스크립트 디지털 시계
|
||||
Comment[lt]=JavaScript skaitmeninis laikrodis
|
||||
Comment[lv]=Javascript digitālais pulkstenis
|
||||
Comment[mai]=जावास्क्रिप्ट डिजिटल घडी
|
||||
Comment[mk]=Javascript-дигитален часовник
|
||||
Comment[ml]=ജാവാസ്ക്രിപ്റ്റ് ഡിജിറ്റല് ഘടികാരം
|
||||
Comment[nb]=Javascript digital klokke
|
||||
Comment[nds]=JavaScript-Digitaalklock
|
||||
Comment[nl]=Digitale klok geschreven in Javascript
|
||||
Comment[nn]=Digitalklokke i JavaScript
|
||||
Comment[or]=Javascript ସାଂଖିକ ଘଡ଼ି
|
||||
Comment[pa]=ਜਾਵਾ-ਸਕ੍ਰਿਪਟ ਡਿਜਟੈੱਲ ਕਲਾਕ
|
||||
Comment[pl]=Zegar cyfrowy w Javascript
|
||||
Comment[pt]=Relógio digital em JavaScript
|
||||
Comment[pt_BR]=Relógio digital em JavaScript
|
||||
Comment[ro]=Un ceas digital Javascript
|
||||
Comment[ru]=Цифровые часы, написанные на языке JavaScript
|
||||
Comment[si]=Javascript digital clock
|
||||
Comment[sl]=Digitalna ura v Javascriptu
|
||||
Comment[sr]=Јаваскриптни дигитални сат
|
||||
Comment[sr@latin]=Javascript digitalni sat
|
||||
Comment[sv]=Javascript-digitalklocka
|
||||
Comment[tg]=Часы, поддерживающие темы SVG
|
||||
Comment[tr]=Javascript dijital saat
|
||||
Comment[uk]=Цифровий годинник на JavaScript
|
||||
Comment[x-test]=xxJavascript digital clockxx
|
||||
Comment[zh_CN]=JavaScript 数字钟
|
||||
Comment[zh_TW]=Javascript 數位時鐘
|
||||
Icon=configure
|
||||
Type=Service
|
||||
X-KDE-ServiceTypes=Plasma/Applet
|
||||
X-Plasma-MainScript=code/main.js
|
||||
X-KDE-PluginInfo-Author=Marco Martin
|
||||
X-KDE-PluginInfo-Email=notmart@gmail.com
|
||||
X-KDE-PluginInfo-Name=script-digital-clock
|
||||
X-KDE-PluginInfo-Version=0.0
|
||||
X-KDE-PluginInfo-Website=http://plasma.kde.org/
|
||||
X-KDE-PluginInfo-Category=Utilities
|
||||
X-KDE-PluginInfo-Depends=
|
||||
X-KDE-PluginInfo-License=GPL
|
||||
X-KDE-PluginInfo-EnabledByDefault=true
|
||||
X-Plasma-API=javascript
|
@ -1,7 +0,0 @@
|
||||
|
||||
layout = new LinearLayout(plasmoid);
|
||||
video = new VideoWidget();
|
||||
video.usedControls = video.DefaultControls;
|
||||
layout.addItem(video);
|
||||
video.url = startupArguments[0];
|
||||
video.play();
|
@ -1,109 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=script-mediaplayer
|
||||
Name[bg]=script-mediaplayer
|
||||
Name[ca]=script-mediaplayer
|
||||
Name[csb]=skript-mùltimedialny grôcz
|
||||
Name[da]=script-mediaplayer
|
||||
Name[de]=script-mediaplayer
|
||||
Name[el]=script-mediaplayer
|
||||
Name[en_GB]=script-mediaplayer
|
||||
Name[es]=script-reproductordemedios
|
||||
Name[et]=script-mediaplayer
|
||||
Name[fr]=script-mediaplayer
|
||||
Name[fy]=script-mediaspiler
|
||||
Name[ga]=script-mediaplayer
|
||||
Name[gl]=script-mediaplayer
|
||||
Name[gu]=સ્ક્રિપ્ટ-મીડિઆપ્લેયર
|
||||
Name[hr]=script-multimedijski_program
|
||||
Name[hu]=script-mediaplayer
|
||||
Name[id]=script-mediaplayer
|
||||
Name[is]=margmiðlunarspilara-skrifta
|
||||
Name[ja]=script-mediaplayer
|
||||
Name[km]=script-mediaplayer
|
||||
Name[ko]=script-mediaplayer
|
||||
Name[lv]=script-mediaplayer
|
||||
Name[mai]=स्क्रिप्ट मीडिया प्लेयर
|
||||
Name[mk]=скрипта-„медиаплеер“
|
||||
Name[ml]=script-mediaplayer
|
||||
Name[nb]=script-mediaplayer
|
||||
Name[nds]=Afspeler-Skript
|
||||
Name[nl]=script-mediaspeler
|
||||
Name[nn]=script-mediaplayer
|
||||
Name[pl]=script-mediaplayer
|
||||
Name[pt]=script-mediaplayer
|
||||
Name[pt_BR]=script-mediaplayer
|
||||
Name[ro]=script-lectormultimedia
|
||||
Name[ru]=script-mediaplayer
|
||||
Name[si]=script-mediaplayer
|
||||
Name[sl]=script-mediaplayer
|
||||
Name[sr]=script-mediaplayer
|
||||
Name[sr@latin]=script-mediaplayer
|
||||
Name[sv]=script-mediaspelare
|
||||
Name[tg]=Quake Script
|
||||
Name[tr]=betik-çokluortam oynatıcı
|
||||
Name[uk]=script-mediaplayer
|
||||
Name[x-test]=xxscript-mediaplayerxx
|
||||
Name[zh_CN]=脚本-媒体播放器
|
||||
Name[zh_TW]=script-mediaplayer
|
||||
|
||||
Comment=Javascript media player
|
||||
Comment[bg]=Медиа плеър (JavaScript)
|
||||
Comment[ca]=Reproductor de suports en Javascript
|
||||
Comment[da]=Medieafspiller i Javascript
|
||||
Comment[de]=Javascript-Medienspieler
|
||||
Comment[el]=Αναπαραγωγή πολυμέσων Javascript
|
||||
Comment[en_GB]=Javascript media player
|
||||
Comment[es]=Reproductor de medios javascript
|
||||
Comment[et]=Javascripti meediamängija
|
||||
Comment[fi]=Javascript-mediasoitin
|
||||
Comment[fr]=Lecteur multimédia JavaScript
|
||||
Comment[fy]=Javaskript media spiler
|
||||
Comment[ga]=Seinnteoir meán JavaScript
|
||||
Comment[gl]=Reprodutor multimedia escrito en Javascript
|
||||
Comment[gu]=જાવાસ્ક્રિપ્ટ મિડીઆ પ્લેયર
|
||||
Comment[hr]=Multimedijski program
|
||||
Comment[hu]=JavaScript-alapú médialejátszó
|
||||
Comment[id]=Pemutar media Javascript
|
||||
Comment[is]=JavaScript margmiðlunarspilari
|
||||
Comment[ja]=JavaScript のメディアプレーヤー
|
||||
Comment[km]=កម្មវិធីចាក់មេឌៀ Javascript
|
||||
Comment[ko]=자바스크립트 미디어 재생기
|
||||
Comment[lv]=Javascript multivides atskaņotājs
|
||||
Comment[mai]=जावास्क्रिप्ट मीडिया प्लेयर
|
||||
Comment[ml]=ജാവാസ്ക്രിപ്റ്റ് മീഡിയാ പ്ലെയര്
|
||||
Comment[nb]=Javascript mediaspiller
|
||||
Comment[nds]=JavaScript-Afspeler
|
||||
Comment[nl]=Mediaspeler in Javascript
|
||||
Comment[nn]=Mediespelar i JavaScript
|
||||
Comment[pl]=Odtwarzacz multimedialny w Javascript
|
||||
Comment[pt]=Leitor multimédia em JavaScript
|
||||
Comment[pt_BR]=Leitor de mídias em JavaScript
|
||||
Comment[ro]=Lector multimedia Javascript
|
||||
Comment[ru]=Проигрыватель, написанный на языке JavaScript
|
||||
Comment[si]=Javascript media player
|
||||
Comment[sl]=Večpredstavnostni predvajalnik v JavaScriptu
|
||||
Comment[sr]=Јаваскриптни медија плејер
|
||||
Comment[sr@latin]=Javascript medija plejer
|
||||
Comment[sv]=Javascript-mediaspelare
|
||||
Comment[tg]=Часы, поддерживающие темы SVG
|
||||
Comment[tr]=Javascript çokluortam oynatıcı
|
||||
Comment[uk]=Програвач на JavaScript
|
||||
Comment[x-test]=xxJavascript media playerxx
|
||||
Comment[zh_CN]=JavaScript 媒体播放器
|
||||
Comment[zh_TW]=Javascript 媒體播放器
|
||||
|
||||
Icon=applications-multimedia
|
||||
Type=Service
|
||||
X-KDE-ServiceTypes=Plasma/Applet
|
||||
X-Plasma-DropMimeTypes=video/mpeg,video/quicktime,video/ogg,video/x-msvideo, audio/mpeg, audio/x-vorbis+ogg, audio/x-flac
|
||||
X-Plasma-MainScript=code/main.js
|
||||
X-KDE-PluginInfo-Author=Marco Martin
|
||||
X-KDE-PluginInfo-Email=notmart@gmail.com
|
||||
X-KDE-PluginInfo-Name=script-mediaplayer
|
||||
X-KDE-PluginInfo-Version=0.0
|
||||
X-KDE-PluginInfo-Website=http://plasma.kde.org/
|
||||
X-KDE-PluginInfo-Category=Utilities
|
||||
X-KDE-PluginInfo-Depends=
|
||||
X-KDE-PluginInfo-License=GPL
|
||||
X-KDE-PluginInfo-EnabledByDefault=true
|
||||
X-Plasma-API=javascript
|
@ -1,60 +0,0 @@
|
||||
// set up the engine, player and controller
|
||||
engine = dataEngine("nowplaying");
|
||||
watchingPlayer = engine.sources[0];
|
||||
controller = service("nowplaying", watchingPlayer);
|
||||
|
||||
// define a few functions
|
||||
plasmoid.dataUpdate = function(a, b)
|
||||
{
|
||||
label.text = "Playing " + b.Title + " by " + b.Artist + ". time: " +
|
||||
Math.floor(b.Position/60) + ":" + (parseInt(b.Position)%60);
|
||||
progress.value = 100*b.Position/b.Length;
|
||||
}
|
||||
|
||||
plasmoid.stop = function()
|
||||
{
|
||||
data = controller.operationDescription("stop");
|
||||
print(controller.name());
|
||||
for ( var i in data ) {
|
||||
print(i + ' -> ' + data[i] );
|
||||
}
|
||||
|
||||
controller.startOperationCall(controller.operationDescription("stop"));
|
||||
print("stopping");
|
||||
}
|
||||
|
||||
plasmoid.setProgress = function(progress)
|
||||
{
|
||||
operation = controller.operationDescription("seek");
|
||||
operation.seconds = progress;
|
||||
for ( var i in operation ) {
|
||||
print(i + ' -> ' + operation[i] );
|
||||
}
|
||||
|
||||
controller.startOperationCall(operation);
|
||||
print("set progress to " + progress);
|
||||
}
|
||||
|
||||
// Set up the UI
|
||||
layout = new LinearLayout(plasmoid);
|
||||
layout.setOrientation(QtVertical);
|
||||
label = new Label();
|
||||
layout.addItem(label);
|
||||
|
||||
stop = new PushButton();
|
||||
stop.text = "Stop";
|
||||
layout.addItem(stop);
|
||||
|
||||
progress = new Slider();
|
||||
progress.orientation = QtHorizontal;
|
||||
layout.addItem(progress);
|
||||
|
||||
// Glue things together
|
||||
stop.clicked.connect(plasmoid.stop);
|
||||
progress.sliderMoved.connect(plasmoid.setProgress);
|
||||
|
||||
controller.associateWidget(stop, "stop");
|
||||
controller.associateWidget(progress, "progress");
|
||||
|
||||
engine.connectSource(watchingPlayer, plasmoid, 500);
|
||||
|
@ -1,114 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=script-nowplaying
|
||||
Name[bg]=script-nowplaying
|
||||
Name[ca]=script-nowplaying
|
||||
Name[ca@valencia]=script-nowplaying
|
||||
Name[cs]=Skript "Právě hraje"
|
||||
Name[da]=script-nowplaying
|
||||
Name[de]=script-nowplaying
|
||||
Name[el]=script-nowplaying
|
||||
Name[en_GB]=script-nowplaying
|
||||
Name[es]=script-ejecutando
|
||||
Name[et]=script-nowplaying
|
||||
Name[fr]=script-nowplaying
|
||||
Name[fy]=skript-no ôfspyljend
|
||||
Name[ga]=script-nowplaying
|
||||
Name[gl]=script-nowplaying
|
||||
Name[hr]=script-sadasvira
|
||||
Name[hu]=script-nowplaying
|
||||
Name[id]=script-nowplaying
|
||||
Name[is]=spilanúna-skrifta
|
||||
Name[it]=script-nowplaying
|
||||
Name[ja]=script-nowplaying
|
||||
Name[km]=script-nowplaying
|
||||
Name[ko]=script-nowplaying
|
||||
Name[lt]=scenarijus-dabar groja
|
||||
Name[lv]=script-nowplaying
|
||||
Name[mai]=स्क्रिप्ट अखनचलाए रहल अछि
|
||||
Name[mk]=скрипта-„сега свири“
|
||||
Name[ml]=ലഘു ആജ്ഞയാണ് ഇപ്പോള് ഓടിക്കൊണ്ടിരിക്കുന്നത്
|
||||
Name[nb]=script-nowplaying
|
||||
Name[nds]=Warrt-jüst-afspeelt-Skript
|
||||
Name[nl]=script-nu-aan-het-spelen
|
||||
Name[nn]=script-nowplaying
|
||||
Name[or]=script-nowplaying
|
||||
Name[pa]=script-nowplaying
|
||||
Name[pl]=script-nowplaying
|
||||
Name[pt]=script-nowplaying
|
||||
Name[pt_BR]=script-nowplaying
|
||||
Name[ro]=script-înredare
|
||||
Name[ru]=script-nowplaying
|
||||
Name[si]=script-nowplaying
|
||||
Name[sl]=script-nowplaying
|
||||
Name[sr]=script-nowplaying
|
||||
Name[sr@latin]=script-nowplaying
|
||||
Name[sv]=script-spelar-nu
|
||||
Name[te]=ఇప్పుడునడుస్తున్న-స్క్రిప్ట్
|
||||
Name[tg]=Quake Script
|
||||
Name[tr]=betik-şimdi dinlenen parça
|
||||
Name[uk]=script-nowplaying
|
||||
Name[x-test]=xxscript-nowplayingxx
|
||||
Name[zh_CN]=脚本-现在收听
|
||||
Name[zh_TW]=script-nowplaying
|
||||
Comment=Javascript version current track playing
|
||||
Comment[bg]=Текущо изпълняван запис (JavaScript)
|
||||
Comment[ca]=Versió en Javascript de la peça actual en reproducció
|
||||
Comment[ca@valencia]=Versió en Javascript de la peça actual en reproducció
|
||||
Comment[cs]=JavaScriptová verze skriptu "Právě hraje"
|
||||
Comment[da]=Javascript-version af nuværende spor som afspilles
|
||||
Comment[de]=Javascript-Version der Musiktitel-Anzeige
|
||||
Comment[el]=Τρέχον κομμάτι αναπαραγωγής σε έκδοση Javascript
|
||||
Comment[en_GB]=Javascript version current track playing
|
||||
Comment[es]=versión javascript de la reproducción actual
|
||||
Comment[et]=Esitatava pala JavaScripti versioon
|
||||
Comment[fi]=Nyt soi -sovelman Javascript-versio
|
||||
Comment[fr]=Morceau en cours de lecture - version Javascript
|
||||
Comment[fy]=Javaskript-ferzje fan do no ôfspiljend nûmer
|
||||
Comment[ga]=Amhrán á sheinm anois in JavaScript
|
||||
Comment[gl]=Versión en Javascript da pista a reproducir
|
||||
Comment[hr]=Javascript verzija spravice za prikaz trenutne pjesme koja svira
|
||||
Comment[hu]=JavaScript-függvény az éppen lejátszott szám jellemzőihez
|
||||
Comment[id]=Memutar jalur saat ini versi javascript
|
||||
Comment[is]=Javascript útgáfa núverandi spilunar
|
||||
Comment[it]=La traccia attualmente in riproduzione (versione JavaScript)
|
||||
Comment[ja]=「今聴いているもの」の JavaScript バージョン
|
||||
Comment[km]=ការចាក់បទបច្ចុប្បន្នកំណែ Javascript
|
||||
Comment[ko]=자바스크립트 버전 지금 재생 중
|
||||
Comment[lt]=JavaScript versija – dabar grojantis takelis
|
||||
Comment[lv]=Pašlaik atskaņo javascript versija
|
||||
Comment[ml]=ഇപ്പോള് ഓടിക്കൊണ്ടിരിക്കുന്ന ട്രാക്ക് ജാവാ സ്ക്രിപ്റ്റ് പതിപ്പാണ്.
|
||||
Comment[nb]=Javascript versjon – spor som spilles nå
|
||||
Comment[nds]=JavaScript-Verschoon vun Opstunns afspeelt Stück
|
||||
Comment[nl]=Javascript-versie van momenteel spelende track
|
||||
Comment[nn]=JavaScript-versjon for vising av gjeldande spor
|
||||
Comment[pl]=Wersja "Teraz odtwarzany" w Javascript
|
||||
Comment[pt]=Versão em JavaScript do 'Agora a tocar'
|
||||
Comment[pt_BR]=Versão em Javascript da reprodução da trilha atual
|
||||
Comment[ro]=Pista în redare în versiune Javascript
|
||||
Comment[ru]=Виджет «Сейчас проигрывается», написанный на языке JavaScript
|
||||
Comment[si]=Javascript version current track playing
|
||||
Comment[sl]=Trenutno predvajana skladba v Javascriptu
|
||||
Comment[sr]=Јаваскриптна верзија тренутне свирке
|
||||
Comment[sr@latin]=Javascript verzija trenutne svirke
|
||||
Comment[sv]=Javascript-version av nuvarande spår som spelas
|
||||
Comment[te]=ప్లేఅవుతున్న జావాస్క్రిప్ట్ వర్షన్ ప్రస్తుత ట్రాక్
|
||||
Comment[tg]=Часы, поддерживающие темы SVG
|
||||
Comment[tr]=Şimdi çalınan parça bilgisi betiğinin Javascript sürümü
|
||||
Comment[uk]=Javascript-версія показу назви композиції, що відтворюється
|
||||
Comment[x-test]=xxJavascript version current track playingxx
|
||||
Comment[zh_CN]=Javascript 版本的现在收听
|
||||
Comment[zh_TW]=Javascript 版本的「正在播放」
|
||||
Icon=configure
|
||||
Type=Service
|
||||
X-KDE-ServiceTypes=Plasma/Applet
|
||||
X-Plasma-MainScript=code/main.js
|
||||
X-KDE-PluginInfo-Author=Marco Martin
|
||||
X-KDE-PluginInfo-Email=notmart@gmail.com
|
||||
X-KDE-PluginInfo-Name=script-nowplaying
|
||||
X-KDE-PluginInfo-Version=0.0
|
||||
X-KDE-PluginInfo-Website=http://plasma.kde.org/
|
||||
X-KDE-PluginInfo-Category=Utilities
|
||||
X-KDE-PluginInfo-Depends=
|
||||
X-KDE-PluginInfo-License=GPL
|
||||
X-KDE-PluginInfo-EnabledByDefault=true
|
||||
X-Plasma-API=javascript
|
@ -1,14 +0,0 @@
|
||||
svg = new PlasmaSvg('tiger');
|
||||
plasmoid.setAction("myAction", "Select Me!", "plasma");
|
||||
|
||||
plasmoid.action_myAction = function()
|
||||
{
|
||||
print("myAction triggered!");
|
||||
plasmoid.removeAction("myAction");
|
||||
}
|
||||
|
||||
plasmoid.paintInterface = function(painter)
|
||||
{
|
||||
svg.resize( plasmoid.size() );
|
||||
svg.paint( painter, 0,0 );
|
||||
}
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 94 KiB |
@ -1,132 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Tiger
|
||||
Name[ar]=النمر
|
||||
Name[be@latin]=Tyhra
|
||||
Name[bg]=Tiger
|
||||
Name[bn]=টাইগার
|
||||
Name[bn_IN]=Tiger
|
||||
Name[ca]=Tiger
|
||||
Name[ca@valencia]=Tiger
|
||||
Name[cs]=Tiger
|
||||
Name[csb]=Tiger
|
||||
Name[da]=Tiger
|
||||
Name[de]=Tiger
|
||||
Name[el]=Τίγρης
|
||||
Name[en_GB]=Tiger
|
||||
Name[es]=Tigre
|
||||
Name[et]=Tiger
|
||||
Name[eu]=Tiger
|
||||
Name[fi]=Tiikeri
|
||||
Name[fr]=Tigre
|
||||
Name[fy]=Tiger
|
||||
Name[ga]=Tiger
|
||||
Name[gl]=Tigre
|
||||
Name[gu]=વાઘ
|
||||
Name[he]=נמר
|
||||
Name[hi]=शेर
|
||||
Name[hne]=टाइगर
|
||||
Name[hr]=Tigar
|
||||
Name[hu]=Tiger
|
||||
Name[id]=Harimau
|
||||
Name[is]=Tiger
|
||||
Name[it]=Tigre
|
||||
Name[ja]=タイガー
|
||||
Name[kk]=Жолбарыс
|
||||
Name[km]=ខ្លា
|
||||
Name[ko]=Tiger
|
||||
Name[ku]=Piling
|
||||
Name[lt]=Tigras
|
||||
Name[lv]=Tīģeris
|
||||
Name[mai]=बाघ
|
||||
Name[mk]=Тигар
|
||||
Name[ml]=ടൈഗര്
|
||||
Name[mr]=Tiger
|
||||
Name[nb]=Tiger
|
||||
Name[nds]=Tiger
|
||||
Name[nl]=Tijger
|
||||
Name[nn]=Tiger
|
||||
Name[or]=ଟାଇଗର
|
||||
Name[pa]=ਟਾਈਗਰ
|
||||
Name[pl]=Tygrys
|
||||
Name[pt]=Tigre
|
||||
Name[pt_BR]=Tigre
|
||||
Name[ro]=Tigru
|
||||
Name[ru]=Тигр
|
||||
Name[sk]=Tiger
|
||||
Name[sl]=Tiger
|
||||
Name[sr]=тигар
|
||||
Name[sr@latin]=tigar
|
||||
Name[sv]=Tiger
|
||||
Name[ta]=Tiger
|
||||
Name[tg]=Паланг
|
||||
Name[th]=เสือโคร่ง
|
||||
Name[tr]=Kaplan
|
||||
Name[uk]=Тигр
|
||||
Name[wa]=Tigue
|
||||
Name[x-test]=xxTigerxx
|
||||
Name[zh_CN]=虎
|
||||
Name[zh_TW]=老虎
|
||||
Comment=A Script Adaptor
|
||||
Comment[bg]=Адаптор за скриптове
|
||||
Comment[ca]=Un adaptador de scripts
|
||||
Comment[ca@valencia]=Un adaptador de scripts
|
||||
Comment[cs]=Zpracování skriptu
|
||||
Comment[da]=En script-adaptor
|
||||
Comment[de]=Eine Skript-Anpassung
|
||||
Comment[el]=Ένας προσαρμογέας σεναρίου
|
||||
Comment[en_GB]=A Script Adaptor
|
||||
Comment[es]=Un adaptador javascript
|
||||
Comment[et]=Skriptiadapter
|
||||
Comment[fr]=Un adaptateur de script
|
||||
Comment[fy]=In Skript oanpasser
|
||||
Comment[ga]=Cuibheoir Scripte
|
||||
Comment[gl]=Un adaptador de script
|
||||
Comment[gu]=સ્ક્રિપ્ટ એડપ્ટર
|
||||
Comment[hr]=Prilagodnik skripte
|
||||
Comment[hu]=Szkriptkezelő modul
|
||||
Comment[id]=Adaptor Skrip
|
||||
Comment[is]=Skriftumótari
|
||||
Comment[it]=Script adattatore
|
||||
Comment[km]=អាដាប់ទ័ឬស្គ្រីប
|
||||
Comment[ko]=스크립트 어댑터
|
||||
Comment[lt]=Scenarijų adaptatorius
|
||||
Comment[lv]=Skriptu pielāgotājs
|
||||
Comment[mai]=स्क्रिप्ट एडाप्टर
|
||||
Comment[mk]=Адаптер за скрипти
|
||||
Comment[ml]=സ്ക്രിപ്റ്റിന്റെ ഒരു ഇണക്ക്
|
||||
Comment[nb]=En skripttilpasser
|
||||
Comment[nds]=En Skript-Topasser
|
||||
Comment[nl]=Een scriptadaptor
|
||||
Comment[nn]=Ein skripttilpassar
|
||||
Comment[or]=ଗୋଟିଏ ସ୍କ୍ରିପ୍ଟ ଏଡ଼ପଟର
|
||||
Comment[pa]=ਸਕ੍ਰਿਪਟ ਅਡਾਪਟਰ
|
||||
Comment[pl]=Adapter skryptów
|
||||
Comment[pt]=Um Adaptador de Programas
|
||||
Comment[pt_BR]=Um adaptador de script
|
||||
Comment[ro]=Adaptor de scripturi
|
||||
Comment[ru]=Адаптер скриптов
|
||||
Comment[sl]=Skriptni prilagodilnik
|
||||
Comment[sr]=Адаптор скрипти
|
||||
Comment[sr@latin]=Adaptor skripti
|
||||
Comment[sv]=En skriptanpassning
|
||||
Comment[te]=స్క్రిప్ట్ ఎడాప్టర్
|
||||
Comment[tg]=Графический адаптер
|
||||
Comment[tr]=Bir Betik Uyarlayıcısı
|
||||
Comment[uk]=Пристосування скриптів
|
||||
Comment[x-test]=xxA Script Adaptorxx
|
||||
Comment[zh_CN]=脚本适配器
|
||||
Comment[zh_TW]=文稿適配器
|
||||
Type=Service
|
||||
ServiceTypes=Plasma/Applet
|
||||
|
||||
X-KDE-PluginInfo-Author=Richard Moore
|
||||
X-KDE-PluginInfo-Email=panel-devel@kde.org
|
||||
X-KDE-PluginInfo-Name=tiger
|
||||
X-KDE-PluginInfo-Version=pre0.1
|
||||
X-KDE-PluginInfo-Website=http://plasma.kde.org/
|
||||
X-KDE-PluginInfo-Category=Examples
|
||||
X-KDE-PluginInfo-Depends=
|
||||
X-KDE-PluginInfo-License=GPL
|
||||
X-KDE-PluginInfo-EnabledByDefault=true
|
||||
X-Plasma-API=javascript
|
Loading…
Reference in New Issue
Block a user