45 virtual void run()
override;
bool IsEmpty()
Whether object is attached to the thread.
void AddObject(QObject &object)
Add an object to this thread.
void RemoveObjects()
Move the objects back to their original thread.
Manages a new thread with objects.
QMap< QObject *, QThread * > ObjectThreads
Remember for the original thread of the moved objects.
virtual void run() override
Run the thread.