mobile-widgets/qml: add TemplateButton

Do "git mv SsrfButton TemplateButton", and search/replace
all uses.

The general idea of the templates are to secure common layout,
but also to isolate the Kirigami parts (slowly) in the templates.

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2019-02-11 17:09:51 +01:00 committed by Dirk Hohndel
parent fb7920ef58
commit 3aa43f3ea5
8 changed files with 24 additions and 24 deletions

View file

@ -56,7 +56,7 @@ Kirigami.ScrollablePage {
anchors.horizontalCenter: parent.Center
horizontalAlignment: Text.AlignHCenter
}
SsrfButton {
TemplateButton {
id: copyAppLogToClipboard
Layout.alignment: Qt.AlignHCenter
text: qsTr("Copy logs to clipboard")