| 1 |
/* |
| 2 |
* This file is part of the 2FA Manager App for Ubuntu Touch |
| 3 |
* Copyright (C) 2019 Joan CiberSheep |
| 4 |
* |
| 5 |
* This App is free software: you can redistribute it and/or modify |
| 6 |
* it under the terms of the GNU General Public License version 3 as |
| 7 |
* published by the Free Software Foundation. |
| 8 |
* |
| 9 |
* |
| 10 |
* This App is distributed in the hope that it will be useful, |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
* GNU General Public License for more details. |
| 14 |
* |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU General Public License |
| 17 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 |
*/ |
| 19 |
|
| 20 |
import QtQuick 2.9 |
| 21 |
import Lomiri.Components 1.3 |
| 22 |
|
| 23 |
HeaderBase { |
| 24 |
signal editKey() |
| 25 |
|
| 26 |
trailingActionBar { |
| 27 |
actions: [ |
| 28 |
/* |
| 29 |
Action { |
| 30 |
iconName: "share" |
| 31 |
text: i18n.tr("Share") |
| 32 |
|
| 33 |
onTriggered: { |
| 34 |
} |
| 35 |
}, |
| 36 |
*/ |
| 37 |
Action { |
| 38 |
iconName: "edit" |
| 39 |
text: i18n.tr("Edit") |
| 40 |
|
| 41 |
onTriggered: editKey() |
| 42 |
} |
| 43 |
] |
| 44 |
} |
| 45 |
} |