Explicitly import MoneroComponents; prevent namespace pollution

This commit is contained in:
Sander Ferdinand
2018-03-31 03:25:20 +02:00
parent 959c2fcc32
commit e638ed0272
28 changed files with 151 additions and 146 deletions

View File

@@ -28,8 +28,8 @@
import QtQuick 2.0
import moneroComponents.Clipboard 1.0
import "../components"
import "." 1.0
import "../components" as MoneroComponents
ListView {
id: listView
@@ -48,7 +48,7 @@ ListView {
width: listView.width
clip: true
LineEditMulti {
MoneroComponents.LineEditMulti {
id: addressLine
fontSize: 14
@@ -68,7 +68,7 @@ ListView {
addressValidation: false
}
IconButton {
MoneroComponents.IconButton {
id: clipboardButton
imageSource: "../images/copyToClipboard.png"
@@ -104,7 +104,7 @@ ListView {
font.family: "Arial"
font.bold: true
font.pixelSize: 12
color: Style.greyFontColor
color: MoneroComponents.Style.greyFontColor
text: label
}
@@ -126,7 +126,7 @@ ListView {
anchors.top: parent.top
anchors.bottom: parent.bottom
width: 1
color: Style.grey
color: MoneroComponents.Style.grey
z: 6
}
@@ -135,7 +135,7 @@ ListView {
anchors.top: parent.top
anchors.bottom: parent.bottom
width: 1
color: Style.grey
color: MoneroComponents.Style.grey
z: 6
}
@@ -143,7 +143,7 @@ ListView {
anchors.right: parent.right
anchors.left: parent.left
anchors.bottom: parent.bottom
color: Style.grey
color: MoneroComponents.Style.grey
height: 1
z: 6
}