mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-08-29 11:49:56 +00:00
refactor: split formatters and matchers into separated singleton classes (#166)
* split formatter into separated singleton classes * split data engine matchers to classes * nodiscard attribute for formatter methods * small refactoring in matchers * fix codefactor warnings * fix test building
This commit is contained in:
@ -31,7 +31,7 @@ class NetworkSource : public AbstractExtSysMonSource
|
||||
public:
|
||||
explicit NetworkSource(QObject *_parent);
|
||||
~NetworkSource() override;
|
||||
QVariant data(const QString &_source) override;
|
||||
[[nodiscard]] QVariant data(const QString &_source) override;
|
||||
[[nodiscard]] QHash<QString, KSysGuard::SensorInfo *> sources() const override;
|
||||
|
||||
private slots:
|
||||
|
Reference in New Issue
Block a user