00001 #ifndef HCICONFWRAPPER_H 00002 #define HCICONFWRAPPER_H 00003 00004 #include <qstring.h> 00005 #include <qstringlist.h> 00006 00007 namespace OpieTooth { 00008 00009 class HciConfWrapper { 00010 00011 public: 00012 HciConfWrapper( const QString &fileName ); 00013 ~HciConfWrapper(); 00014 void load(); 00015 void save(); 00016 00017 void setPinHelper( const QString& app ); 00018 void setName( const QString& name ); 00019 void setIscan( bool enable ); 00020 void setPscan( bool enable ); 00021 void setAuth( bool enable); 00022 void setEncrypt( bool enable); 00023 00024 private: 00025 00026 void setValue(const QString &entry, const QString &value ); 00027 00028 QString m_fileName; 00029 QStringList m_file; 00030 }; 00031 00032 } 00033 00034 #endif
1.4.2