Fix namespacing in CommonDialog
This commit is contained in:
parent
59e65cbaee
commit
b8ccb0ded6
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import org.kde.plasma.core 0.1 as PlasmaCore
|
import org.kde.plasma.core 0.1 as PlasmaCore
|
||||||
import "." 0.1
|
import "." 0.1 as PlasmaComponents
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CommonDialog is a convenience component that provides a dialog with the
|
* CommonDialog is a convenience component that provides a dialog with the
|
||||||
@ -52,7 +52,7 @@ import "." 0.1
|
|||||||
* Note: This component is experimental, so it may be changed or removed in
|
* Note: This component is experimental, so it may be changed or removed in
|
||||||
* future releases.
|
* future releases.
|
||||||
*/
|
*/
|
||||||
Dialog {
|
PlasmaComponents.Dialog {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
/** type:string the title of the dialog */
|
/** type:string the title of the dialog */
|
||||||
@ -83,7 +83,7 @@ Dialog {
|
|||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: buttonComponent
|
id: buttonComponent
|
||||||
Button {
|
PlasmaComponents.Button {
|
||||||
property int index
|
property int index
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@ -137,7 +137,7 @@ Dialog {
|
|||||||
bottomMargin: parent.margins.bottom
|
bottomMargin: parent.margins.bottom
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
PlasmaComponents.Label {
|
||||||
id: titleAreaText
|
id: titleAreaText
|
||||||
LayoutMirroring.enabled: root.LayoutMirroring.enabled
|
LayoutMirroring.enabled: root.LayoutMirroring.enabled
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
Loading…
Reference in New Issue
Block a user