mirror of
				https://github.com/arcan1s/awesome-widgets.git
				synced 2025-10-29 20:33:42 +00:00 
			
		
		
		
	return back stream lock which will be disabled from qml by the timer. In
other case there is possibe plasma crash
This commit is contained in:
		| @ -45,6 +45,7 @@ public: | ||||
|     Q_INVOKABLE void initKeys(const QString currentPattern, const int limit); | ||||
|     Q_INVOKABLE void setAggregatorProperty(const QString key, const QVariant value); | ||||
|     Q_INVOKABLE void setWrapNewLines(const bool wrap = false); | ||||
|     Q_INVOKABLE void unlock(); | ||||
|     // keys | ||||
|     Q_INVOKABLE void addDevice(const QString source); | ||||
|     Q_INVOKABLE QStringList dictKeys(const bool sorted = false, | ||||
| @ -58,6 +59,7 @@ public: | ||||
|     Q_INVOKABLE void editItem(const QString type); | ||||
|  | ||||
| signals: | ||||
|     void disconnectPlugin() const; | ||||
|     void dropSourceFromDataengine(const QString source); | ||||
|     void needTextToBeUpdated(const QString newText) const; | ||||
|     void needToolTipToBeUpdated(const QString newText) const; | ||||
| @ -89,8 +91,8 @@ private: | ||||
|     QHash<QString, QString> values; | ||||
|     bool m_wrapNewLines = false; | ||||
|     // queue and stream lock properties | ||||
|     bool lock = false; | ||||
|     QThreadPool *threadPool = nullptr; | ||||
|     bool lock = true; | ||||
|     int queueLimit, queue = 0; | ||||
| }; | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user