summaryrefslogtreecommitdiff
authoralwin <alwin>2004-02-18 22:36:26 (UTC)
committer alwin <alwin>2004-02-18 22:36:26 (UTC)
commitcfd235730a4619ae9181f0d78d78a7f9360ea49e (patch) (unidiff)
tree6044d8213b5b794ef6d99c60667df17445d86b2d
parent71b6aa6d19ed2e4690cd98ecdb7dbfe40f857653 (diff)
downloadopie-cfd235730a4619ae9181f0d78d78a7f9360ea49e.zip
opie-cfd235730a4619ae9181f0d78d78a7f9360ea49e.tar.gz
opie-cfd235730a4619ae9181f0d78d78a7f9360ea49e.tar.bz2
forgot member variable initializer
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/settings.cpp b/noncore/net/mail/libmailwrapper/settings.cpp
index 3279f39..65ca387 100644
--- a/noncore/net/mail/libmailwrapper/settings.cpp
+++ b/noncore/net/mail/libmailwrapper/settings.cpp
@@ -88,48 +88,49 @@ void Settings::saveAccounts()
88 checkDirectory(); 88 checkDirectory();
89 Account *it; 89 Account *it;
90 90
91 for ( it = accounts.first(); it; it = accounts.next() ) { 91 for ( it = accounts.first(); it; it = accounts.next() ) {
92 it->save(); 92 it->save();
93 } 93 }
94} 94}
95 95
96void Settings::readAccounts() 96void Settings::readAccounts()
97{ 97{
98 checkDirectory(); 98 checkDirectory();
99 Account *it; 99 Account *it;
100 100
101 for ( it = accounts.first(); it; it = accounts.next() ) { 101 for ( it = accounts.first(); it; it = accounts.next() ) {
102 it->read(); 102 it->read();
103 } 103 }
104} 104}
105 105
106Account::Account() 106Account::Account()
107{ 107{
108 accountName = "changeMe"; 108 accountName = "changeMe";
109 type = "changeMe"; 109 type = "changeMe";
110 ssl = false; 110 ssl = false;
111 connectionType = 1; 111 connectionType = 1;
112 offline = false;
112} 113}
113 114
114void Account::remove() 115void Account::remove()
115{ 116{
116 QFile file( getFileName() ); 117 QFile file( getFileName() );
117 file.remove(); 118 file.remove();
118} 119}
119 120
120IMAPaccount::IMAPaccount() 121IMAPaccount::IMAPaccount()
121 : Account() 122 : Account()
122{ 123{
123 file = IMAPaccount::getUniqueFileName(); 124 file = IMAPaccount::getUniqueFileName();
124 accountName = "New IMAP Account"; 125 accountName = "New IMAP Account";
125 ssl = false; 126 ssl = false;
126 connectionType = 1; 127 connectionType = 1;
127 type = "IMAP"; 128 type = "IMAP";
128 port = IMAP_PORT; 129 port = IMAP_PORT;
129} 130}
130 131
131IMAPaccount::IMAPaccount( QString filename ) 132IMAPaccount::IMAPaccount( QString filename )
132 : Account() 133 : Account()
133{ 134{
134 file = filename; 135 file = filename;
135 accountName = "New IMAP Account"; 136 accountName = "New IMAP Account";