1 #ifndef CONFIGURER_H 2 #define CONFIGURER_H 3 #include <QList> 4 #include <QMap> 5 class Configurer 6 { 7 public: 8 QString conf(const QString &key); 9 void changConf(const QString &key, const QString &value); 10 void changConf(const QMap<QString, QString> &maps); 11 QString processName(); 12 13 protected: 14 QString confName(); 15 QList<QString> readConf(); 16 void writeConf(const QString &data); 17 QString newLineChars(); 18 }; 19 20 #endif // CONFIGURER_H 21