mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-21 09:39:57 +00:00
rewrite formtatter* and customkeys* to share their code
This commit is contained in:
@ -161,6 +161,9 @@ QStringList AWKeys::dictKeys(const bool _sorted, const QString &_regexp) const
|
||||
// check if functions asked
|
||||
if (_regexp == "functions")
|
||||
return QString(STATIC_FUNCTIONS).split(',');
|
||||
// check if user defined keys asked
|
||||
if (_regexp == "userdefined")
|
||||
return m_keyOperator->userKeys();
|
||||
|
||||
QStringList allKeys = m_keyOperator->dictKeys();
|
||||
// sort if required
|
||||
|
Reference in New Issue
Block a user