Review Request 124426: Move populating of context menu to background
Maciej Poleski
d82ks8djf82msd83hf8sc02lqb5gh5 at gmail.com
Mon Jul 27 12:56:47 UTC 2015
> On Lip 24, 2015, 12:15 po południu, Milian Wolff wrote:
> > refactoring/qactionwatcher.h, line 35
> > <https://git.reviewboard.kde.org/r/124426/diff/2/?file=387059#file387059line35>
> >
> > afaik Q_OBJECT does this internally already, no?
>
> Maciej Poleski wrote:
> In Qt4 it were not. It was separated because generating things like `QActionWatcher(const QActionWatcher&) = delete;` requires name `QActionWatcher` which `Q_OBJECT` macro can hardly guess.
>
> But now I noticed that I'm inheriting from `QObject` which should already by uncopyable...
http://doc.qt.io/qt-5/qobject.html#Q_DISABLE_COPY
- Maciej
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124426/#review82869
-----------------------------------------------------------
On Lip 23, 2015, 3:53 po południu, Maciej Poleski wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124426/
> -----------------------------------------------------------
>
> (Updated Lip 23, 2015, 3:53 po południu)
>
>
> Review request for KDevelop.
>
>
> Repository: kdev-clang
>
>
> Description
> -------
>
> Introduced worker thread for time-consuming Clang actions.
>
> Moved populating of context menu (list of applicable refactorings) to background.
>
>
> Diffs
> -----
>
> refactoring/CMakeLists.txt PRE-CREATION
> refactoring/contextmenumutator.h PRE-CREATION
> refactoring/contextmenumutator.cpp PRE-CREATION
> refactoring/encapsulatefieldrefactoring.cpp PRE-CREATION
> refactoring/interface.h PRE-CREATION
> refactoring/interface.cpp PRE-CREATION
> refactoring/kdevrefactorings.h PRE-CREATION
> refactoring/kdevrefactorings.cpp PRE-CREATION
> refactoring/qactionwatcher.h PRE-CREATION
> refactoring/qactionwatcher.cpp PRE-CREATION
> refactoring/refactoringcontext.h PRE-CREATION
> refactoring/refactoringcontext.cpp PRE-CREATION
> refactoring/refactoringcontext_worker.h PRE-CREATION
> refactoring/refactoringcontext_worker.cpp PRE-CREATION
> refactoring/refactoringmanager.h PRE-CREATION
> refactoring/refactoringmanager.cpp PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/124426/diff/
>
>
> Testing
> -------
>
> Manual testing
>
>
> Thanks,
>
> Maciej Poleski
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150727/b2422a25/attachment.html>
More information about the KDevelop-devel
mailing list