mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-09-02 13:49:55 +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:
@ -17,15 +17,16 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QHash>
|
||||
#include <QString>
|
||||
#include <QVariant>
|
||||
|
||||
#include <matchers/awpluginmatchersettings.h>
|
||||
|
||||
|
||||
namespace AWKeyCache
|
||||
{
|
||||
bool addKeyToCache(const QString &_type, const QString &_key = "");
|
||||
QStringList getRequiredKeys(const QStringList &_keys, const QStringList &_bars, const QVariantMap &_tooltip,
|
||||
const QStringList &_userKeys, const QStringList &_allKeys);
|
||||
QHash<QString, QStringList> loadKeysFromCache();
|
||||
AWPluginMatcherSettings loadKeysFromCache();
|
||||
} // namespace AWKeyCache
|
||||
|
Reference in New Issue
Block a user