From aca02709fedabf9028768fe9a699f31a91b4ab0e Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Wed, 9 Mar 2016 16:23:49 +0100 Subject: remove qml files that are no longer needed --- components/package/contents/ui/FolderModel.qml | 36 ------ components/package/contents/ui/MailListModel.qml | 149 ----------------------- components/package/contents/ui/example.qml | 64 ---------- 3 files changed, 249 deletions(-) delete mode 100644 components/package/contents/ui/FolderModel.qml delete mode 100644 components/package/contents/ui/MailListModel.qml delete mode 100644 components/package/contents/ui/example.qml (limited to 'components/package/contents') diff --git a/components/package/contents/ui/FolderModel.qml b/components/package/contents/ui/FolderModel.qml deleted file mode 100644 index b20a1606..00000000 --- a/components/package/contents/ui/FolderModel.qml +++ /dev/null @@ -1,36 +0,0 @@ -import QtQuick 2.4 - -ListModel { - ListElement { - icon: "mail-folder-inbox" - name: "Inbox" - } - ListElement { - icon: "mail-folder-sent" - name: "Sent" - } - ListElement { - icon: "user-trash" - name: "Trash" - } - ListElement { - icon: "document-edit" - name: "Drafts" - } - ListElement { - icon: "folder" - name: "cats" - } - ListElement { - icon: "folder" - name: "dogs" - } - ListElement { - icon: "folder" - name: "dragons" - } - ListElement { - icon: "folder" - name: "long tailed dragons" - } -} \ No newline at end of file diff --git a/components/package/contents/ui/MailListModel.qml b/components/package/contents/ui/MailListModel.qml deleted file mode 100644 index bf0f70a2..00000000 --- a/components/package/contents/ui/MailListModel.qml +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright (C) 2015 Michael Bohlender - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see . - */ - -import QtQuick 2.4 - -ListModel { - ListElement { - sender: "mighty@mail.com" - senderName: "Mighty Monkey" - subject: "I feel weak without my bananas" - date: "19:21" - unread: true - } - ListElement { - sender: "benni@bandana.org" - senderName: "Ben Bandana" - subject: "Check this out" - date: "16:01" - unread: true - } - ListElement { - sender: "alice@mail.com" - senderName: "Alice Cheng" - subject: "Re: We need more food" - date: "12:55" - unread: false - } - ListElement { - sender: "bob@bandana.org" - senderName: "Bob Ross" - subject: "KDE Rocks" - date: "Sat" - unread: true - } - ListElement { - sender: "tiny@mail.com" - senderName: "Tiny" - subject: "Huge success!!" - date: "Sat" - unread: false - } - ListElement { - sender: "bob@bandana.org" - senderName: "Bob Ross" - subject: "KDE Rocks" - date: "Fr" - unread: false - } - ListElement { - sender: "Laura@mail.com" - senderName: "Laura B" - subject: ":)" - date: "Thu" - unread: false - } - ListElement { - sender: "Andreas@stars.org" - senderName: "Andreas Rockstar" - subject: "KDE Rocks" - date: "Wed" - unread: false - } - ListElement { - sender: "alice@mail.com" - senderName: "Alice Cheng" - subject: "Re: We need more food" - date: "Wed" - } - ListElement { - sender: "bob@bandana.org" - senderName: "Bob Ross" - subject: "KDE Rocks" - date: "Mon" - } - ListElement { - sender: "mighty@mail.com" - senderName: "Mighty Monkey" - subject: "I feel weak without my bananas" - date: "Nov 20" - } - ListElement { - sender: "benni@bandana.org" - senderName: "Ben Bandana" - subject: "Check this out" - date: "Nov 15" - } - ListElement { - sender: "alice@mail.com" - senderName: "Alice Cheng" - subject: "Re: We need more food" - date: "Sep 29" - } - ListElement { - sender: "bob@bandana.org" - senderName: "Bob Ross" - subject: "KDE Rocks" - date: "Sep 14" - } - ListElement { - sender: "tiny@mail.com" - senderName: "Tiny" - subject: "Huge success!!" - date: "Sep 14" - } - ListElement { - sender: "bob@bandana.org" - senderName: "Bob Ross" - subject: "KDE Rocks" - date: "Sep 5" - } - ListElement { - sender: "Laura@mail.com" - senderName: "Laura B" - subject: ":)" - date: "Sep 4" - } - ListElement { - sender: "Andreas@stars.org" - senderName: "Andreas Rockstar" - subject: "KDE Rocks" - date: "May 25" - } - ListElement { - sender: "alice@mail.com" - senderName: "Alice Cheng" - subject: "Re: We need more food" - date: "May 3" - } - ListElement { - sender: "bob@bandana.org" - senderName: "Bob Ross" - subject: "Board Task: Write draft email to people with KDE accounts commiting to Qt repositories" - date: "Dec 2014" - } -} \ No newline at end of file diff --git a/components/package/contents/ui/example.qml b/components/package/contents/ui/example.qml deleted file mode 100644 index e0c0a077..00000000 --- a/components/package/contents/ui/example.qml +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (C) 2015 Michael Bohlender - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see . - */ - -import QtQuick 2.4 -import QtQuick.Controls 1.3 -import QtQuick.Layouts 1.1 - -import org.kde.sink.mail 1.0 - -Item { - id: root - - MailList { - id: mailList - - query: "Some Query" - - } - - Button { - id: button - - anchors { - top: parent.top - right: parent.right - left: parent.left - } - - text: "add mail" - - onClicked: mailList.addMail("test test test"); - } - - ListView { - - anchors { - top: button.bottom - left: parent.left - right: parent.right - bottom: parent.bottom - } - - model: mailList.model - - delegate: Label { - - text: model.subject - } - } -} \ No newline at end of file -- cgit v1.2.3