Fix namespacing in Sheet
This commit is contained in:
parent
55a9091992
commit
4683f10dcb
@ -43,7 +43,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 "private/AppManager.js" as Utils
|
import "private/AppManager.js" as Utils
|
||||||
import "." 0.1
|
import "." 0.1 as PlasmaComponents
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a top-level window for short-term tasks and brief interaction with
|
* Provides a top-level window for short-term tasks and brief interaction with
|
||||||
@ -82,7 +82,7 @@ Item {
|
|||||||
*
|
*
|
||||||
* The dialog's initial status is DialogStatus.Closed.
|
* The dialog's initial status is DialogStatus.Closed.
|
||||||
*/
|
*/
|
||||||
property int status: DialogStatus.Closed
|
property int status: PlasmaComponents.DialogStatus.Closed
|
||||||
property alias acceptButtonText: acceptButton.text
|
property alias acceptButtonText: acceptButton.text
|
||||||
property alias rejectButtonText: rejectButton.text
|
property alias rejectButtonText: rejectButton.text
|
||||||
/**
|
/**
|
||||||
@ -223,7 +223,7 @@ Item {
|
|||||||
bottomMargin: parent.margins.bottom
|
bottomMargin: parent.margins.bottom
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
PlasmaComponents.Label {
|
||||||
id: titleLabel
|
id: titleLabel
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
height: paintedHeight
|
height: paintedHeight
|
||||||
@ -266,12 +266,12 @@ Item {
|
|||||||
bottomMargin: theme.defaultFont.mSize.height*0.6
|
bottomMargin: theme.defaultFont.mSize.height*0.6
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
PlasmaComponents.Button {
|
||||||
id: acceptButton
|
id: acceptButton
|
||||||
onClicked: accept()
|
onClicked: accept()
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
PlasmaComponents.Button {
|
||||||
id: rejectButton
|
id: rejectButton
|
||||||
onClicked: reject()
|
onClicked: reject()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user