Possible one more performance increasing

Lets try to use own QueuedConnection type instead of default
AutoConnection. To implement it we need to disconnect all default slots
and reconnect them with specified connection type
This commit is contained in:
2016-08-18 20:16:05 +03:00
parent 8f6d9e7ab5
commit a9e3e3f087
2 changed files with 35 additions and 0 deletions

View File

@ -44,6 +44,7 @@ public slots:
void reconnectSources(const int interval);
private:
void createQueuedConnection();
Plasma::DataEngineConsumer *m_consumer = nullptr;
QHash<QString, Plasma::DataEngine *> m_dataEngines;
};