KJob's are quite QObject heavy, we lose a non-trivial amount of time in
signal matching strings. This ports some Q_PRIVATE_SLOTS in FileCopyJob
and the Job base.
Details
Details
- Reviewers
apol - Commits
- R241:77efdfdaa4f0: Port some core Q_PRIVATE_SLOTS to new connect syntax
Relevant unit tests
Copied some files
Diff Detail
Diff Detail
- Repository
- R241 KIO
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/core/filecopyjob.cpp | ||
---|---|---|
207–208 | m_copyJob is a superclass of DirectCopyJob which doesn't have the signal. so it's this or q->connect(qobject_cast<DirectCopyJob*>(m_copyJob), ....) |