Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KGpg
Commits
da83984d
Commit
da83984d
authored
Aug 09, 2022
by
Laurent Montel
Browse files
Port deprecated methods
parent
d912b4c4
Pipeline
#215098
passed with stage
in 1 minute and 26 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
caff.cpp
View file @
da83984d
...
...
@@ -161,7 +161,7 @@ KGpgCaffPrivate::checkNextLoop()
ids
<<
i18nc
(
"%1 is the key id, %2 is the name and comment of the key or uid, %3 is the email address of the uid"
,
"%1: %2 <%3>"
,
nd
->
getId
(),
nd
->
getNameComment
(),
nd
->
getEmail
());
KMessageBox
::
detailed
Sorry
(
qobject_cast
<
QWidget
*>
(
q
->
parent
()),
KMessageBox
::
detailed
Error
(
qobject_cast
<
QWidget
*>
(
q
->
parent
()),
i18np
(
"No mail was sent for the following user id because it belongs to a key without encryption capability:"
,
"No mail was sent for the following user ids because they belong to keys without encryption capability:"
,
m_noEncIds
.
count
()),
...
...
@@ -179,7 +179,7 @@ KGpgCaffPrivate::checkNextLoop()
ids
<<
i18nc
(
"%1 is the key id, %2 is the name and comment of the key or uid, %3 is the email address of the uid"
,
"%1: %2 <%3>"
,
nd
->
getId
(),
nd
->
getNameComment
(),
nd
->
getEmail
());
KMessageBox
::
detailed
Sorry
(
qobject_cast
<
QWidget
*>
(
q
->
parent
()),
KMessageBox
::
detailed
Error
(
qobject_cast
<
QWidget
*>
(
q
->
parent
()),
i18np
(
"No mail was sent for the following user id because it was already signed:"
,
"No mail was sent for the following user ids because they were already signed:"
,
m_alreadyIds
.
count
()),
...
...
editor/kgpgtextedit.cpp
View file @
da83984d
...
...
@@ -261,7 +261,7 @@ void KgpgTextEdit::slotDecryptDone(int result)
// FIXME choose codec
setPlainText
(
decr
->
decryptedText
().
join
(
lf
)
+
lf
);
}
else
if
(
result
!=
KGpgTransaction
::
TS_USER_ABORTED
)
{
KMessageBox
::
detailed
Sorry
(
this
,
i18n
(
"Decryption failed."
),
decr
->
getMessages
().
join
(
lf
));
KMessageBox
::
detailed
Error
(
this
,
i18n
(
"Decryption failed."
),
decr
->
getMessages
().
join
(
lf
));
}
decr
->
deleteLater
();
...
...
keysmanager.cpp
View file @
da83984d
...
...
@@ -1360,7 +1360,7 @@ void KeysManager::slotRevokeGenerated(int result)
case
KGpgTransaction
::
TS_USER_ABORTED
:
break
;
default:
KMessageBox
::
detailed
Sorry
(
this
,
i18n
(
"Creation of the revocation certificate failed..."
),
genRev
->
getOutput
());
KMessageBox
::
detailed
Error
(
this
,
i18n
(
"Creation of the revocation certificate failed..."
),
genRev
->
getOutput
());
break
;
}
}
...
...
@@ -2591,7 +2591,7 @@ void KeysManager::slotImportDone(int result)
const
QStringList
rawmsgs
(
import
->
getMessages
());
if
(
result
!=
0
)
{
KMessageBox
::
detailed
Sorry
(
this
,
i18n
(
"Key importing failed. Please see the detailed log for more information."
),
KMessageBox
::
detailed
Error
(
this
,
i18n
(
"Key importing failed. Please see the detailed log for more information."
),
rawmsgs
.
join
(
QLatin1String
(
"
\n
"
))
,
i18n
(
"Key Import"
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment