diff options
-rw-r--r-- | accounts/gmail/qml/AccountSettings.qml | 1 | ||||
-rw-r--r-- | accounts/imap/qml/AccountSettings.qml | 1 | ||||
-rw-r--r-- | accounts/maildir/qml/AccountSettings.qml | 3 | ||||
-rw-r--r-- | components/mailviewer/qml/HtmlContent.qml | 1 | ||||
-rw-r--r-- | framework/qml/MailListView.qml | 1 | ||||
-rw-r--r-- | framework/qml/OverlayDialog.qml | 61 | ||||
-rw-r--r-- | framework/qml/TreeView.qml | 4 | ||||
-rw-r--r-- | framework/qml/View.qml | 1 | ||||
-rw-r--r-- | framework/qmldir | 1 | ||||
-rw-r--r-- | views/accounts/qml/View.qml | 4 | ||||
-rw-r--r-- | views/composer/qml/AddresseeListEditor.qml | 1 | ||||
-rw-r--r-- | views/composer/qml/View.qml | 1 | ||||
-rw-r--r-- | views/conversation/qml/View.qml | 4 | ||||
-rw-r--r-- | views/log/qml/View.qml | 4 | ||||
-rw-r--r-- | views/search/qml/View.qml | 4 |
15 files changed, 11 insertions, 81 deletions
diff --git a/accounts/gmail/qml/AccountSettings.qml b/accounts/gmail/qml/AccountSettings.qml index 15430a17..d7df5eaf 100644 --- a/accounts/gmail/qml/AccountSettings.qml +++ b/accounts/gmail/qml/AccountSettings.qml | |||
@@ -18,7 +18,6 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | import QtQuick 2.4 | 20 | import QtQuick 2.4 |
21 | import QtQuick.Controls 1.4 as Controls | ||
22 | import QtQuick.Layouts 1.1 | 21 | import QtQuick.Layouts 1.1 |
23 | import org.kube.framework 1.0 as Kube | 22 | import org.kube.framework 1.0 as Kube |
24 | import org.kube.accounts.gmail 1.0 as GmailAccount | 23 | import org.kube.accounts.gmail 1.0 as GmailAccount |
diff --git a/accounts/imap/qml/AccountSettings.qml b/accounts/imap/qml/AccountSettings.qml index 186b6bd7..72bcd507 100644 --- a/accounts/imap/qml/AccountSettings.qml +++ b/accounts/imap/qml/AccountSettings.qml | |||
@@ -18,7 +18,6 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | import QtQuick 2.4 | 20 | import QtQuick 2.4 |
21 | import QtQuick.Controls 1.4 as Controls | ||
22 | import QtQuick.Layouts 1.1 | 21 | import QtQuick.Layouts 1.1 |
23 | import org.kube.framework 1.0 as Kube | 22 | import org.kube.framework 1.0 as Kube |
24 | import org.kube.accounts.imap 1.0 as ImapAccount | 23 | import org.kube.accounts.imap 1.0 as ImapAccount |
diff --git a/accounts/maildir/qml/AccountSettings.qml b/accounts/maildir/qml/AccountSettings.qml index 0fb87810..9553135b 100644 --- a/accounts/maildir/qml/AccountSettings.qml +++ b/accounts/maildir/qml/AccountSettings.qml | |||
@@ -18,7 +18,6 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | import QtQuick 2.4 | 20 | import QtQuick 2.4 |
21 | import QtQuick.Controls 1.4 as Controls | ||
22 | import QtQuick.Layouts 1.1 | 21 | import QtQuick.Layouts 1.1 |
23 | import QtQuick.Dialogs 1.0 as Dialogs | 22 | import QtQuick.Dialogs 1.0 as Dialogs |
24 | import org.kube.framework 1.0 as Kube | 23 | import org.kube.framework 1.0 as Kube |
@@ -79,7 +78,7 @@ Item { | |||
79 | text: maildirSettings.path | 78 | text: maildirSettings.path |
80 | } | 79 | } |
81 | 80 | ||
82 | Controls.Button { | 81 | Kube.Button { |
83 | iconName: Kube.Icons.folder | 82 | iconName: Kube.Icons.folder |
84 | 83 | ||
85 | onClicked: { | 84 | onClicked: { |
diff --git a/components/mailviewer/qml/HtmlContent.qml b/components/mailviewer/qml/HtmlContent.qml index c775a3ca..2ebd3b67 100644 --- a/components/mailviewer/qml/HtmlContent.qml +++ b/components/mailviewer/qml/HtmlContent.qml | |||
@@ -17,7 +17,6 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | import QtQuick 2.4 | 19 | import QtQuick 2.4 |
20 | import QtQuick.Controls 1.3 | ||
21 | import QtWebEngine 1.4 | 20 | import QtWebEngine 1.4 |
22 | 21 | ||
23 | import org.kube.framework 1.0 as Kube | 22 | import org.kube.framework 1.0 as Kube |
diff --git a/framework/qml/MailListView.qml b/framework/qml/MailListView.qml index ff72a59c..f5806d82 100644 --- a/framework/qml/MailListView.qml +++ b/framework/qml/MailListView.qml | |||
@@ -18,7 +18,6 @@ | |||
18 | 18 | ||
19 | import QtQuick 2.9 | 19 | import QtQuick 2.9 |
20 | import QtQuick.Controls 2.0 | 20 | import QtQuick.Controls 2.0 |
21 | import QtQuick.Controls 1.4 as Controls | ||
22 | import QtQuick.Layouts 1.1 | 21 | import QtQuick.Layouts 1.1 |
23 | 22 | ||
24 | import org.kube.framework 1.0 as Kube | 23 | import org.kube.framework 1.0 as Kube |
diff --git a/framework/qml/OverlayDialog.qml b/framework/qml/OverlayDialog.qml deleted file mode 100644 index 4334754f..00000000 --- a/framework/qml/OverlayDialog.qml +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (C) 2016 Michael Bohlender, <michael.bohlender@kdemail.net> | ||
3 | |||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License along | ||
15 | with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
19 | import QtQuick 2.4 | ||
20 | import QtQuick.Controls 1.4 | ||
21 | import QtQuick.Layouts 1.1 | ||
22 | |||
23 | import org.kube.framework 1.0 as Kube | ||
24 | |||
25 | |||
26 | Item { | ||
27 | id: root | ||
28 | |||
29 | function closeDialog() { | ||
30 | root.destroy(); | ||
31 | } | ||
32 | |||
33 | Rectangle { | ||
34 | id: background | ||
35 | anchors.fill: parent | ||
36 | |||
37 | color: "black" | ||
38 | opacity: 0.6 | ||
39 | } | ||
40 | |||
41 | MouseArea { | ||
42 | anchors.fill: parent | ||
43 | onClicked: { | ||
44 | root.closeDialog() | ||
45 | } | ||
46 | } | ||
47 | |||
48 | Rectangle { | ||
49 | id: dialog | ||
50 | anchors.centerIn: parent | ||
51 | |||
52 | height: root.height * 0.8 | ||
53 | width: root.width * 0.8 | ||
54 | |||
55 | color: Kube.Colors.backgroundColor | ||
56 | |||
57 | MouseArea { | ||
58 | anchors.fill: parent | ||
59 | } | ||
60 | } | ||
61 | } | ||
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml index 7b9a1103..21345fb0 100644 --- a/framework/qml/TreeView.qml +++ b/framework/qml/TreeView.qml | |||
@@ -18,7 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | import QtQuick 2.4 | 20 | import QtQuick 2.4 |
21 | import QtQuick.Controls 1.4 | 21 | import QtQuick.Controls 1.4 as Controls1 |
22 | import QtQuick.Controls 2 as Controls2 | 22 | import QtQuick.Controls 2 as Controls2 |
23 | import QtQuick.Controls.Styles 1.4 | 23 | import QtQuick.Controls.Styles 1.4 |
24 | import QtQuick.Layouts 1.1 | 24 | import QtQuick.Layouts 1.1 |
@@ -60,7 +60,7 @@ FocusScope { | |||
60 | flickable: flickableItem | 60 | flickable: flickableItem |
61 | } | 61 | } |
62 | 62 | ||
63 | TreeView { | 63 | Controls1.TreeView { |
64 | id: treeView | 64 | id: treeView |
65 | 65 | ||
66 | anchors { | 66 | anchors { |
diff --git a/framework/qml/View.qml b/framework/qml/View.qml index e5a4c274..b0c108fc 100644 --- a/framework/qml/View.qml +++ b/framework/qml/View.qml | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | 20 | ||
21 | import QtQuick 2.7 | 21 | import QtQuick 2.7 |
22 | import QtQuick.Controls 1.3 | ||
23 | import QtQuick.Controls 2.0 as Controls2 | 22 | import QtQuick.Controls 2.0 as Controls2 |
24 | import QtQuick.Layouts 1.1 | 23 | import QtQuick.Layouts 1.1 |
25 | import org.kube.framework 1.0 as Kube | 24 | import org.kube.framework 1.0 as Kube |
diff --git a/framework/qmldir b/framework/qmldir index 4a6f40ef..c62444c9 100644 --- a/framework/qmldir +++ b/framework/qmldir | |||
@@ -9,7 +9,6 @@ InlineAccountSwitcher 1.0 InlineAccountSwitcher.qml | |||
9 | NewAccountDialog 1.0 NewAccountDialog.qml | 9 | NewAccountDialog 1.0 NewAccountDialog.qml |
10 | EditAccount 1.0 EditAccount.qml | 10 | EditAccount 1.0 EditAccount.qml |
11 | LoginAccount 1.0 LoginAccount.qml | 11 | LoginAccount 1.0 LoginAccount.qml |
12 | OverlayDialog 1.0 OverlayDialog.qml | ||
13 | Outbox 1.0 Outbox.qml | 12 | Outbox 1.0 Outbox.qml |
14 | NotificationPopup 1.0 NotificationPopup.qml | 13 | NotificationPopup 1.0 NotificationPopup.qml |
15 | Icon 1.0 Icon.qml | 14 | Icon 1.0 Icon.qml |
diff --git a/views/accounts/qml/View.qml b/views/accounts/qml/View.qml index 28849ae4..e25c32c9 100644 --- a/views/accounts/qml/View.qml +++ b/views/accounts/qml/View.qml | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | import QtQuick 2.4 | 19 | import QtQuick 2.4 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | import QtQuick.Controls 1.3 as Controls | 21 | import QtQuick.Controls 1.3 as Controls1 |
22 | import QtQuick.Controls 2.0 | 22 | import QtQuick.Controls 2.0 |
23 | import org.kube.framework 1.0 as Kube | 23 | import org.kube.framework 1.0 as Kube |
24 | import org.kube.components.accounts 1.0 as KubeAccounts | 24 | import org.kube.components.accounts 1.0 as KubeAccounts |
@@ -30,7 +30,7 @@ FocusScope { | |||
30 | //Defines available account types. | 30 | //Defines available account types. |
31 | property var availableAccountPlugins: ["kolabnow", "imap", "maildir", "gmail"] | 31 | property var availableAccountPlugins: ["kolabnow", "imap", "maildir", "gmail"] |
32 | 32 | ||
33 | Controls.SplitView { | 33 | Controls1.SplitView { |
34 | height: parent.height | 34 | height: parent.height |
35 | width: parent.width | 35 | width: parent.width |
36 | 36 | ||
diff --git a/views/composer/qml/AddresseeListEditor.qml b/views/composer/qml/AddresseeListEditor.qml index 8f9862e7..9267ebee 100644 --- a/views/composer/qml/AddresseeListEditor.qml +++ b/views/composer/qml/AddresseeListEditor.qml | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | 20 | ||
21 | import QtQuick 2.7 | 21 | import QtQuick 2.7 |
22 | import QtQuick.Controls 1.3 | ||
23 | import QtQuick.Layouts 1.1 | 22 | import QtQuick.Layouts 1.1 |
24 | 23 | ||
25 | import org.kube.framework 1.0 as Kube | 24 | import org.kube.framework 1.0 as Kube |
diff --git a/views/composer/qml/View.qml b/views/composer/qml/View.qml index ad9689e8..85e8b559 100644 --- a/views/composer/qml/View.qml +++ b/views/composer/qml/View.qml | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | 20 | ||
21 | import QtQuick 2.7 | 21 | import QtQuick 2.7 |
22 | import QtQuick.Controls 1.3 | ||
23 | import QtQuick.Controls 2.0 as Controls2 | 22 | import QtQuick.Controls 2.0 as Controls2 |
24 | import QtQuick.Layouts 1.1 | 23 | import QtQuick.Layouts 1.1 |
25 | import QtQuick.Dialogs 1.0 as Dialogs | 24 | import QtQuick.Dialogs 1.0 as Dialogs |
diff --git a/views/conversation/qml/View.qml b/views/conversation/qml/View.qml index c0e44144..c1f3625b 100644 --- a/views/conversation/qml/View.qml +++ b/views/conversation/qml/View.qml | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | 20 | ||
21 | import QtQuick 2.7 | 21 | import QtQuick 2.7 |
22 | import QtQuick.Controls 1.3 | 22 | import QtQuick.Controls 1.3 as Controls1 |
23 | import QtQuick.Controls 2.0 as Controls2 | 23 | import QtQuick.Controls 2.0 as Controls2 |
24 | import QtQuick.Layouts 1.1 | 24 | import QtQuick.Layouts 1.1 |
25 | 25 | ||
@@ -27,7 +27,7 @@ import org.kube.framework 1.0 as Kube | |||
27 | 27 | ||
28 | FocusScope { | 28 | FocusScope { |
29 | property alias currentAccount: accountFolderview.currentAccount | 29 | property alias currentAccount: accountFolderview.currentAccount |
30 | SplitView { | 30 | Controls1.SplitView { |
31 | anchors.fill: parent | 31 | anchors.fill: parent |
32 | Rectangle { | 32 | Rectangle { |
33 | width: Kube.Units.gridUnit * 10 | 33 | width: Kube.Units.gridUnit * 10 |
diff --git a/views/log/qml/View.qml b/views/log/qml/View.qml index 9b2ac24a..bf06b76c 100644 --- a/views/log/qml/View.qml +++ b/views/log/qml/View.qml | |||
@@ -19,11 +19,11 @@ | |||
19 | 19 | ||
20 | import QtQuick 2.4 | 20 | import QtQuick 2.4 |
21 | import QtQuick.Layouts 1.1 | 21 | import QtQuick.Layouts 1.1 |
22 | import QtQuick.Controls 1.3 as Controls | 22 | import QtQuick.Controls 1.3 as Controls1 |
23 | import QtQuick.Controls 2.0 as Controls2 | 23 | import QtQuick.Controls 2.0 as Controls2 |
24 | import org.kube.framework 1.0 as Kube | 24 | import org.kube.framework 1.0 as Kube |
25 | 25 | ||
26 | Controls.SplitView { | 26 | Controls1.SplitView { |
27 | id: root | 27 | id: root |
28 | 28 | ||
29 | property bool pendingError: false; | 29 | property bool pendingError: false; |
diff --git a/views/search/qml/View.qml b/views/search/qml/View.qml index 437b0ba2..d63f6d1f 100644 --- a/views/search/qml/View.qml +++ b/views/search/qml/View.qml | |||
@@ -19,14 +19,14 @@ | |||
19 | 19 | ||
20 | 20 | ||
21 | import QtQuick 2.7 | 21 | import QtQuick 2.7 |
22 | import QtQuick.Controls 1.3 | 22 | import QtQuick.Controls 1.3 as Controls1 |
23 | import QtQuick.Controls 2.0 as Controls2 | 23 | import QtQuick.Controls 2.0 as Controls2 |
24 | import QtQuick.Layouts 1.1 | 24 | import QtQuick.Layouts 1.1 |
25 | 25 | ||
26 | import org.kube.framework 1.0 as Kube | 26 | import org.kube.framework 1.0 as Kube |
27 | 27 | ||
28 | FocusScope { | 28 | FocusScope { |
29 | SplitView { | 29 | Controls1.SplitView { |
30 | anchors.fill: parent | 30 | anchors.fill: parent |
31 | ColumnLayout { | 31 | ColumnLayout { |
32 | width: Kube.Units.gridUnit * 18 | 32 | width: Kube.Units.gridUnit * 18 |