Warning, /plasma-mobile/mycroft-plasmoid-mobile/plasmoid/contents/ui/SkillModel.qml is written in an unsupported language. File is not indexed.
0001 0002 /* Copyright 2016 Aditya Mehra <aix.m@outlook.com> 0003 0004 This library is free software; you can redistribute it and/or 0005 modify it under the terms of the GNU Lesser General Public 0006 License as published by the Free Software Foundation; either 0007 version 2.1 of the License, or (at your option) version 3, or any 0008 later version accepted by the membership of KDE e.V. (or its 0009 successor approved by the membership of KDE e.V.), which shall 0010 act as a proxy defined in Section 6 of version 3 of the license. 0011 0012 This library is distributed in the hope that it will be useful, 0013 but WITHOUT ANY WARRANTY; without even the implied warranty of 0014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0015 Lesser General Public License for more details. 0016 0017 You should have received a copy of the GNU Lesser General Public 0018 License along with this library. If not, see <http://www.gnu.org/licenses/>. 0019 */ 0020 0021 import QtQuick 2.9 0022 0023 ListModel { 0024 id: skillshintmodel 0025 ListElement { 0026 Pic: "../images/alarm.png" 0027 Skill: "Alarm" 0028 CommandList: [ 0029 ListElement { Commands: "Hey Mycroft, Set alarm for %time" }, 0030 ListElement { Commands: "Hey Mycroft, Set alarm for %time on %date" } 0031 ] 0032 } 0033 0034 ListElement { 0035 Pic: "../images/dateandtime.png" 0036 Skill: "Date & Time" 0037 CommandList: [ 0038 ListElement { Commands: "Hey Mycroft, What is the current time" }, 0039 ListElement { Commands: "Hey Mycroft, Current date in London" } 0040 ] 0041 } 0042 0043 ListElement { 0044 Pic: "../images/desktop.png" 0045 Skill: "Desktop" 0046 CommandList: [ 0047 ListElement { Commands: "Hey Mycroft, Open Firefox"}, 0048 ListElement { Commands: "Hey Mycroft, Open Konsole"} 0049 ] 0050 } 0051 0052 ListElement { 0053 Pic: "../images/joke.png" 0054 Skill: "Joke" 0055 CommandList: [ 0056 ListElement {Commands: "Hey Mycroft, Tell me a joke"}, 0057 ListElement {Commands: "Hey Mycroft, Meaning of life"} 0058 ] 0059 } 0060 0061 ListElement { 0062 Pic: "../images/spell.png" 0063 Skill: "Spell" 0064 CommandList: [ 0065 ListElement {Commands: "Hey Mycroft, Spell Hello"}, 0066 ListElement {Commands: "Hey Mycroft, Spell Mycroft"} 0067 ] 0068 } 0069 0070 ListElement { 0071 Pic: "../images/wikip.png" 0072 Skill: "WiKi" 0073 CommandList: [ 0074 ListElement {Commands: "Hey Mycroft, Wiki the Moon"}, 0075 ListElement {Commands: "Hey Mycroft, Define Relativity"} 0076 ] 0077 } 0078 0079 ListElement { 0080 Pic: "../images/wolfram.png" 0081 Skill: "Wolfram Alpha" 0082 CommandList: [ 0083 ListElement {Commands: "Hey Mycroft, Calculate the Pi"}, 0084 ListElement {Commands: "Hey Mycroft, What is 2+2"} 0085 ] 0086 } 0087 0088 ListElement { 0089 Pic: "../images/weather.png" 0090 Skill: "Weather" 0091 CommandList: [ 0092 ListElement {Commands: "Hey Mycroft, What is the current weather"}, 0093 ListElement {Commands: "Hey Mycroft, Current weather in Tokyo"} 0094 ] 0095 } 0096 }