26 #ifndef NETCTLPROFILE_H 
   27 #define NETCTLPROFILE_H 
   51                            const QMap<QString, QString> settings = QMap<QString, QString>());
 
   69     QString 
createProfile(
const QString profile, 
const QMap<QString, QString> settings);
 
  108     QDir *profileDirectory = 
nullptr;
 
  112     QString sudoCommand = QString(
"/usr/bin/kdesu");
 
QString createProfile(const QString profile, const QMap< QString, QString > settings)
method which creates temporary profile 
 
QMap< QString, QString > getSettingsFromProfile(const QString profile)
method which reads settings from profile 
 
QString getValueFromProfile(const QString profile, const QString key)
method which return value from profile by key 
 
NetctlProfile(const bool debugCmd=false, const QMap< QString, QString > settings=QMap< QString, QString >())
NetctlProfile class constructor. 
 
The NetctlProfile class interacts with netctl profiles. 
Definition: netctlprofile.h:37
 
static QMap< QString, QString > getRecommendedConfiguration()
method which check system configuration and return recommended values to keys 
 
~NetctlProfile()
Netctl class destructor. 
 
bool copyProfile(const QString oldPath)
method which copies temporary profile to PROFILE_DIR 
 
bool removeProfile(const QString profile)
method which removes profile