Replace old connect with QT5 style in eventsview (Part 1)
ClosedPublic

Authored by ognarb on Nov 1 2018, 10:55 AM.

Details

Summary

Replacing connect() lines with the new signal/slot syntax in Qt5. Details: https://wiki.qt.io/New_Signal_Slot_Syntax.

Test Plan

Compile and run

Diff Detail

Repository
R76 PIM: Event Views
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ognarb created this revision.Nov 1 2018, 10:55 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptNov 1 2018, 10:55 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
ognarb requested review of this revision.Nov 1 2018, 10:55 AM
ognarb edited the test plan for this revision. (Show Details)Nov 1 2018, 11:01 AM
ognarb added a reviewer: KDE PIM.
ognarb updated this revision to Diff 44626.Nov 1 2018, 11:57 AM

Use friend class instead of making slots public

ognarb updated this revision to Diff 44627.Nov 1 2018, 12:04 PM

Add todoviewsortfilterproxymodel

Hmm, technically those methods (slots) are accessed from another class, so they /should/ be public or, preferably, the connect statements should be in the Private class. Also, you can probably now remove the Q_PRIVATE_SLOT declarations form IncidenceTreeModel header file.

mlaurent requested changes to this revision.Nov 1 2018, 12:41 PM
mlaurent added a subscriber: mlaurent.
mlaurent added inline comments.
src/todo/todoview.cpp
208–209

QOverload<....>

This revision now requires changes to proceed.Nov 1 2018, 12:41 PM
ognarb updated this revision to Diff 44650.Nov 1 2018, 4:23 PM

Moving connect and disconnect to the private class

dvratil accepted this revision.Nov 1 2018, 5:19 PM
This revision was not accepted when it landed; it landed in state Needs Review.Nov 1 2018, 5:25 PM
This revision was automatically updated to reflect the committed changes.
ognarb marked an inline comment as done.