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
PIM
Kleopatra
Commits
5898bdda
Commit
5898bdda
authored
Aug 03, 2022
by
Ingo Klöcker
Browse files
Modernize signal-slot connections
GnuPG-bug-id: 6101
parent
0743a81e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/dialogs/selftestdialog.cpp
View file @
5898bdda
...
...
@@ -250,8 +250,9 @@ public:
slotDoItClicked
();
});
connect
(
ui
.
rerunPB
,
&
QAbstractButton
::
clicked
,
q
,
&
SelfTestDialog
::
updateRequested
);
connect
(
ui
.
resultsTV
->
selectionModel
(),
SIGNAL
(
selectionChanged
(
QItemSelection
,
QItemSelection
)),
q
,
SLOT
(
slotSelectionChanged
()));
connect
(
ui
.
resultsTV
->
selectionModel
(),
&
QItemSelectionModel
::
selectionChanged
,
q
,
[
this
]()
{
slotSelectionChanged
();
});
connect
(
ui
.
showAllCB
,
&
QAbstractButton
::
toggled
,
&
proxy
,
&
Proxy
::
setShowAll
);
}
...
...
src/dialogs/selftestdialog.h
View file @
5898bdda
...
...
@@ -50,7 +50,6 @@ Q_SIGNALS:
private:
class
Private
;
kdtools
::
pimpl_ptr
<
Private
>
d
;
Q_PRIVATE_SLOT
(
d
,
void
slotSelectionChanged
())
};
}
...
...
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