diff options
Diffstat (limited to 'tests/KDEPackageAppTemplatesTest/qml-plasmoid/package')
3 files changed, 95 insertions, 0 deletions
diff --git a/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/images/pairs.svgz b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/images/pairs.svgz Binary files differnew file mode 100644 index 00000000..4d1be5de --- /dev/null +++ b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/images/pairs.svgz diff --git a/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/ui/main.qml b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/ui/main.qml new file mode 100644 index 00000000..afa4758a --- /dev/null +++ b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/contents/ui/main.qml @@ -0,0 +1,28 @@ +/*************************************************************************** + * Copyright (C) %{CURRENT_YEAR} by %{AUTHOR} <%{EMAIL}> * + * * + * Distributed under the OSI-approved BSD License (the "License"); + * see accompanying file COPYING-CMAKE-SCRIPTS for details. + * + * This software is distributed WITHOUT ANY WARRANTY; without even the + * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the License for more information. + ***************************************************************************/ + +import QtQuick 2.1 +import QtQuick.Layouts 1.1 +import org.kde.plasma.core 2.0 as PlasmaCore +import org.kde.plasma.plasmoid 2.0 +import org.kde.plasma.components 2.0 as PlasmaComponents + +Item { + Plasmoid.fullRepresentation: ColumnLayout { + anchors.fill: parent + PlasmaCore.IconItem { + source: "kde" + } + PlasmaComponents.Label { + text: "This is Plasma!" + } + } +} diff --git a/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/metadata.desktop b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/metadata.desktop new file mode 100644 index 00000000..5fcd677c --- /dev/null +++ b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/package/metadata.desktop @@ -0,0 +1,67 @@ +[Desktop Entry] +Name=%{APPNAME} +Name[ca]=%{APPNAME} +Name[ca@valencia]=%{APPNAME} +Name[da]=%{APPNAME} +Name[en_GB]=%{APPNAME} +Name[es]=%{APPNAME} +Name[fi]=%{APPNAME} +Name[gl]=%{APPNAME} +Name[it]=%{APPNAME} +Name[nb]=%{APPNAME} +Name[nl]=%{APPNAME} +Name[nn]=%{APPNAME} +Name[pl]=%{APPNAME} +Name[pt]=%{APPNAME} +Name[pt_BR]=%{APPNAME} +Name[sl]=%{APPNAME} +Name[sr]=%{APPNAME} +Name[sr@ijekavian]=%{APPNAME} +Name[sr@ijekavianlatin]=%{APPNAME} +Name[sr@latin]=%{APPNAME} +Name[sv]=%{APPNAME} +Name[uk]=%{APPNAME} +Name[x-test]=xx%{APPNAME}xx +Comment=what your app does in a few words +Comment[ca]=Què fa aquesta aplicació en poques paraules +Comment[ca@valencia]=Què fa esta aplicació en poques paraules +Comment[da]=nogle få ord om hvad din app gør +Comment[en_GB]=what your app does in a few words +Comment[es]=lo que hace su aplicación, en pocas palabras +Comment[fi]=ohjelmasi toiminta muutamalla sanalla +Comment[gl]=o que fai o seu programa en poucas palabras +Comment[it]=Cosa fa la tua applicazione in poche parole +Comment[nb]=hva programmet gjør, med noen få ord +Comment[nl]=wat uw app doet in een paar woorden +Comment[pl]=w kilku słowach opis co robi twój program +Comment[pt]=o que faz a sua aplicação, em poucas palavras +Comment[pt_BR]=breve descrição do que o seu aplicativo faz +Comment[sl]=kaj vaš program dela, v nekaj besedah +Comment[sr]=Укратко о томе шта ваш програм ради +Comment[sr@ijekavian]=Укратко о томе шта ваш програм ради +Comment[sr@ijekavianlatin]=Ukratko o tome šta vaš program radi +Comment[sr@latin]=Ukratko o tome šta vaš program radi +Comment[sv]=vad programmet gör med några få ord +Comment[uk]=призначення вашої програми у декількох словах +Comment[x-test]=xxwhat your app does in a few wordsxx + +Icon=applications-system +Type=Service +ServiceTypes=Plasma/Applet + +X-KDE-PluginInfo-Author=%{AUTHOR} +X-KDE-PluginInfo-Email=%{EMAIL} +X-KDE-PluginInfo-Name=%{APPNAMELC} +X-KDE-PluginInfo-Version=1.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-KDE-PluginInfo-Name=org.kde.%{APPNAMELC} + +X-Plasma-API=declarativeappletscript +X-Plasma-MainScript=ui/main.qml +X-Plasma-Requires-FileDialog=Unused +X-Plasma-Requires-LaunchApp=Unused +X-Plasma-DefaultSize=200,300 |