mirror of
https://github.com/QRouland/UTPass.git
synced 2025-06-24 22:42:28 +00:00
Harmonize naming
This commit is contained in:
@ -28,7 +28,7 @@ Page {
|
||||
if (importKeyFilePage.activeTransfer.state === ContentTransfer.Charged) {
|
||||
console.log("Charged");
|
||||
console.log(importKeyFilePage.activeTransfer.items[0].url);
|
||||
var status = Pass.gpgImportKeyFromFile(importKeyFilePage.activeTransfer.items[0].url);
|
||||
var status = Pass.importGPGKey(importKeyFilePage.activeTransfer.items[0].url);
|
||||
Utils.rmFile(importKeyFilePage.activeTransfer.items[0].url);
|
||||
if (status)
|
||||
PopupUtils.open(dialogImportKeyPageSucess);
|
||||
|
@ -18,7 +18,7 @@ Page {
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.right: parent.right
|
||||
anchors.left: parent.left
|
||||
model: Pass.gpgGetAllKeysModel()
|
||||
model: Pass.getAllGPGKeys()
|
||||
|
||||
delegate: Grid {
|
||||
columns: 1
|
||||
@ -77,7 +77,7 @@ Page {
|
||||
continueText: i18n.tr("Yes")
|
||||
continueColor: theme.palette.normal.negative
|
||||
onValidated: {
|
||||
var status = Pass.gpgDeleteKeyId(infoKeysPage.currentKey);
|
||||
var status = Pass.deleteGPGKey(infoKeysPage.currentKey);
|
||||
if (status)
|
||||
PopupUtils.open(infoKeysPageDeleteSuccess);
|
||||
else
|
||||
@ -102,7 +102,7 @@ Page {
|
||||
SuccessDialog {
|
||||
textSuccess: i18n.tr("Key successfully deleted !")
|
||||
onDialogClosed: {
|
||||
infoKeysListView.model = Pass.gpgGetAllKeysModel();
|
||||
infoKeysListView.model = Pass.getAllGPGKeys();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user