Do not export class, privatize and unvirtualize members. Rename
config init function, cleanup includes and white space.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R104:4a177884b052: [kded] Cleanup KScreenDaemon class
Manually in Wayland session.
Diff Detail
Diff Detail
- Repository
- R104 KScreen
- Branch
- codeCleanupExport
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 4927 Build 4945: arc lint + arc unit
kded/daemon.h | ||
---|---|---|
47 | this has moved from being a slot. If it is invoked from DBus as the comment suggests that will be a problem |
kded/daemon.h | ||
---|---|---|
47 | Are you sure this is a problem? I just tested it manually with qdbusviewer and the method was called accordingly. Nowadays in Qt can't every function act as a slot, even without the Q_SLOTS specifier? |
kded/daemon.h | ||
---|---|---|
47 | For function ptr connect, yes, for runtime introspection, no |
kded/daemon.h | ||
---|---|---|
47 | If it's done with QDBusConnection::registerObject(this) then it definitely needs runtime introspection. If it's done with an adaptor pattern, then maybe not. |