author | tille <tille> | 2003-05-24 23:34:09 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-24 23:34:09 (UTC) |
commit | d1c32c127b4dabb716064a790da6be7c24975a92 (patch) (side-by-side diff) | |
tree | aa8a7865d4cccbc696c534d8de3ef3b139777c34 /noncore/settings/networksettings/ppp/pppdata.h | |
parent | 58947769d80d49faaccac1703da0e66c90158957 (diff) | |
download | opie-d1c32c127b4dabb716064a790da6be7c24975a92.zip opie-d1c32c127b4dabb716064a790da6be7c24975a92.tar.gz opie-d1c32c127b4dabb716064a790da6be7c24975a92.tar.bz2 |
pppd stuff
Diffstat (limited to 'noncore/settings/networksettings/ppp/pppdata.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppdata.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/noncore/settings/networksettings/ppp/pppdata.h b/noncore/settings/networksettings/ppp/pppdata.h index 57ce2fd..c4d7bc3 100644 --- a/noncore/settings/networksettings/ppp/pppdata.h +++ b/noncore/settings/networksettings/ppp/pppdata.h @@ -159,30 +159,31 @@ class Config; class PPPData { public: - PPPData(); - ~PPPData() {}; + PPPData(); + ~PPPData() {}; static PPPData* data(); - enum { NumInitStrings = 2 }; + enum { NumInitStrings = 2 }; - // general functions - bool open(); - void save(); - void cancel(); -// int access() const; // read/write access + // general functions + bool open(); + void save(); + void cancel(); - // function to read/write date to configuration file - QString readConfig(const QString &, const QString &, const QString &); - int readNumConfig(const QString &, const QString &, int); - bool readListConfig(const QString &, const QString &, + + // function to read/write date to configuration file + QString readConfig(const QString &, const QString &, const QString &); + int readNumConfig(const QString &, const QString &, int); + bool readListConfig(const QString &, const QString &, QStringList &, char sep = ','); - void writeConfig(const QString &, const QString &, const QString &); - void writeConfig(const QString &, const QString &, int); - void writeListConfig(const QString &, const QString &, + void writeConfig(const QString &, const QString &, const QString &); + void writeConfig(const QString &, const QString &, int); + void writeListConfig(const QString &, const QString &, QStringList &, char sep = ','); - // return the current account group - QString currentGroup() { return cgroup; } + // return the current account group + QString currentGroup() { return cgroup; } + QString modemGroup(); // functions to set/get general kppp info QString password() const; |