mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-08-29 03:39:57 +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:
@ -35,7 +35,7 @@ public:
|
||||
|
||||
explicit DesktopSource(QObject *_parent);
|
||||
~DesktopSource() override = default;
|
||||
QVariant data(const QString &_source) override;
|
||||
[[nodiscard]] QVariant data(const QString &_source) override;
|
||||
[[nodiscard]] QHash<QString, KSysGuard::SensorInfo *> sources() const override;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user