Commit dafbafc7 authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Modernize SIGNAL/SLOT syntax in comments

parent 84bfa5c4
Pipeline #68649 passed with stage
in 6 minutes and 38 seconds
...@@ -33,8 +33,8 @@ class IncidenceChanger; ...@@ -33,8 +33,8 @@ class IncidenceChanger;
@code @code
Akonadi::IncidenceChanger *myIncidenceChanger = new Akonadi::IncidenceChanger(); Akonadi::IncidenceChanger *myIncidenceChanger = new Akonadi::IncidenceChanger();
connect( undoAction, SIGNAL(triggered()), myIncidenceChanger->history(), SLOT(undo()) ); connect(undoAction, &QAction::triggered, myIncidenceChanger->history(), &Akonadi::IncidenceChanger::undo);
connect( redoAction, SIGNAL(triggered()), myIncidenceChanger->history(), SLOT(redo()) ); connect(redoAction, &QAction::triggered, myIncidenceChanger->history(), &Akonadi::IncidenceChanger::redo);
@endcode @endcode
@author Sérgio Martins <iamsergio@gmail.com> @author Sérgio Martins <iamsergio@gmail.com>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment