Skip to content
GitLab
Menu
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
cd828c8e
Commit
cd828c8e
authored
Dec 26, 2020
by
Laurent Montel
😁
Browse files
Use new signal for kselectaction
parent
b333e678
Changes
1
Hide whitespace changes
Inline
Side-by-side
keysmanager.cpp
View file @
cd828c8e
...
...
@@ -66,6 +66,7 @@
#include <KActionCollection>
#include <KContacts/AddresseeList>
// #include <KContacts/Key> TODO
#include <kwidgetsaddons_version.h>
#include <KIO/Global>
#include <KIO/ApplicationLauncherJob>
#include <KIO/OpenUrlJob>
...
...
@@ -421,8 +422,13 @@ KeysManager::KeysManager(QWidget *parent)
KConfigGroup
cg
=
KConfigGroup
(
KSharedConfig
::
openConfig
().
data
(),
"KeyView"
);
iview
->
restoreLayout
(
cg
);
#if KWIDGETSADDONS_VERSION < QT_VERSION_CHECK(5, 78, 0)
connect
(
photoProps
,
QOverload
<
int
>::
of
(
&
KSelectAction
::
triggered
),
this
,
&
KeysManager
::
slotSetPhotoSize
);
connect
(
trustProps
,
QOverload
<
int
>::
of
(
&
KSelectAction
::
triggered
),
this
,
&
KeysManager
::
slotSetTrustFilter
);
#else
connect
(
photoProps
,
&
KSelectAction
::
indexTriggered
,
this
,
&
KeysManager
::
slotSetPhotoSize
);
connect
(
trustProps
,
&
KSelectAction
::
indexTriggered
,
this
,
&
KeysManager
::
slotSetTrustFilter
);
#endif
QLabel
*
searchLabel
=
new
QLabel
(
i18n
(
"Search:"
),
this
);
m_listviewsearch
=
new
QLineEdit
(
this
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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