author | harlekin <harlekin> | 2004-03-06 00:20:22 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-03-06 00:20:22 (UTC) |
commit | 7b10be8e0ed88afe9e8964e6b5f1fe449cee3609 (patch) (unidiff) | |
tree | 149f8aecef57768cd4cf9e0c35778a711c5b6cf4 /noncore/net/mail/libmailwrapper | |
parent | 6afcd375a640d5c6888bc111cd1d80a08f554136 (diff) | |
download | opie-7b10be8e0ed88afe9e8964e6b5f1fe449cee3609.zip opie-7b10be8e0ed88afe9e8964e6b5f1fe449cee3609.tar.gz opie-7b10be8e0ed88afe9e8964e6b5f1fe449cee3609.tar.bz2 |
save selected newsgroups
Diffstat (limited to 'noncore/net/mail/libmailwrapper') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/settings.cpp | 2 | ||||
-rw-r--r-- | noncore/net/mail/libmailwrapper/settings.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/settings.cpp b/noncore/net/mail/libmailwrapper/settings.cpp index 65ca387..f64c17d 100644 --- a/noncore/net/mail/libmailwrapper/settings.cpp +++ b/noncore/net/mail/libmailwrapper/settings.cpp | |||
@@ -412,2 +412,3 @@ void NNTPaccount::read() | |||
412 | password = conf->readEntryCrypt( "Password" ); | 412 | password = conf->readEntryCrypt( "Password" ); |
413 | subscribedGroups = conf->readListEntry( "Subscribed", ',' ); | ||
413 | delete conf; | 414 | delete conf; |
@@ -429,2 +430,3 @@ void NNTPaccount::save() | |||
429 | conf->writeEntryCrypt( "Password", password ); | 430 | conf->writeEntryCrypt( "Password", password ); |
431 | conf->writeEntry( "Subscribed" , subscribedGroups, ',' ); | ||
430 | conf->write(); | 432 | conf->write(); |
diff --git a/noncore/net/mail/libmailwrapper/settings.h b/noncore/net/mail/libmailwrapper/settings.h index 8d7df92..1feedbf 100644 --- a/noncore/net/mail/libmailwrapper/settings.h +++ b/noncore/net/mail/libmailwrapper/settings.h | |||
@@ -128,2 +128,5 @@ public: | |||
128 | 128 | ||
129 | void setGroups( QStringList list ) { subscribedGroups = list; } | ||
130 | QStringList getGroups() { return subscribedGroups; } | ||
131 | |||
129 | private: | 132 | private: |
@@ -131,2 +134,3 @@ private: | |||
131 | bool login; | 134 | bool login; |
135 | QStringList subscribedGroups; | ||
132 | 136 | ||