mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-13 22:05:48 +00:00
add custom keys configuration
This commit is contained in:
@ -30,9 +30,12 @@ class AWCustomKeysHelper : public QObject
|
||||
public:
|
||||
explicit AWCustomKeysHelper(QObject *_parent = nullptr);
|
||||
virtual ~AWCustomKeysHelper();
|
||||
void initKeys();
|
||||
bool writeKeys(const QHash<QString, QString> &_configuration) const;
|
||||
// read-write methods
|
||||
void initItems();
|
||||
bool writeItems(const QHash<QString, QString> &_configuration) const;
|
||||
bool removeUnusedKeys(const QStringList &_keys) const;
|
||||
// get
|
||||
QHash<QString, QString> getUserKeys() const;
|
||||
QStringList keys() const;
|
||||
QString source(const QString &_key) const;
|
||||
QStringList sources() const;
|
||||
|
Reference in New Issue
Block a user