add FindSettings key

This commit is contained in:
arcan1s
2014-08-13 11:41:30 +04:00
parent b63d883eb2
commit d3e1c4bca0
7 changed files with 213 additions and 0 deletions

View File

@ -155,6 +155,11 @@ public:
* @return true if netctl-auto is active
*/
bool isNetctlAutoRunning();
/**
* @brief method which check system configuration and return recommended values to keys
* @return recommended parametrs
*/
static QMap<QString, QString> getRecommendedConfiguration();
/**
* @brief method which gets wireless interface list from PREFERED_IFACE and IFACE_DIR
* @return interface list. If PREFERED_IFACE is not empty it will be first element

View File

@ -67,6 +67,11 @@ public:
* @return temporary profile name
*/
QString createProfile(const QString profile, const QMap<QString, QString> settings);
/**
* @brief method which check system configuration and return recommended values to keys
* @return recommended parametrs
*/
static QMap<QString, QString> getRecommendedConfiguration();
/**
* @brief method which reads settings from profile
* @param profile profile name