author | zautrix <zautrix> | 2004-10-27 21:34:55 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-27 21:34:55 (UTC) |
commit | 9c88346fc757fd1dc54b3fca151a2a610159d8cf (patch) (unidiff) | |
tree | 4a5de97ba71ce66eea914d55923d88aff3515c93 /kmicromail/editaccounts.cpp | |
parent | 7f3cc07fab5f5f6ddd402c458341f1df3a144e2c (diff) | |
download | kdepimpi-9c88346fc757fd1dc54b3fca151a2a610159d8cf.zip kdepimpi-9c88346fc757fd1dc54b3fca151a2a610159d8cf.tar.gz kdepimpi-9c88346fc757fd1dc54b3fca151a2a610159d8cf.tar.bz2 |
several fixes
-rw-r--r-- | kmicromail/editaccounts.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmicromail/editaccounts.cpp b/kmicromail/editaccounts.cpp index 7ad4ec8..c931e45 100644 --- a/kmicromail/editaccounts.cpp +++ b/kmicromail/editaccounts.cpp | |||
@@ -101,9 +101,9 @@ void EditAccounts::slotNewMail() | |||
101 | } | 101 | } |
102 | 102 | ||
103 | void EditAccounts::slotNewAccount( const QString &type ) | 103 | void EditAccounts::slotNewAccount( const QString &type ) |
104 | { | 104 | { |
105 | if ( type.compare( "IMAP" ) == 0 ) | 105 | if ( type.compare( i18n("IMAP") ) == 0 ) |
106 | { | 106 | { |
107 | IMAPaccount *account = new IMAPaccount(); | 107 | IMAPaccount *account = new IMAPaccount(); |
108 | IMAPconfig imap( account, this, 0, true ); | 108 | IMAPconfig imap( account, this, 0, true ); |
109 | imap.showMaximized(); | 109 | imap.showMaximized(); |
@@ -117,9 +117,9 @@ void EditAccounts::slotNewAccount( const QString &type ) | |||
117 | { | 117 | { |
118 | account->remove(); | 118 | account->remove(); |
119 | } | 119 | } |
120 | } | 120 | } |
121 | else if ( type.compare( "POP3" ) == 0 ) | 121 | else if ( type.compare( i18n("POP3") ) == 0 ) |
122 | { | 122 | { |
123 | POP3account *account = new POP3account(); | 123 | POP3account *account = new POP3account(); |
124 | POP3config pop3( account, this, 0, true, WStyle_ContextHelp ); | 124 | POP3config pop3( account, this, 0, true, WStyle_ContextHelp ); |
125 | if ( QDialog::Accepted == KApplication::execDialog( &pop3 ) ) | 125 | if ( QDialog::Accepted == KApplication::execDialog( &pop3 ) ) |
@@ -132,9 +132,9 @@ void EditAccounts::slotNewAccount( const QString &type ) | |||
132 | { | 132 | { |
133 | account->remove(); | 133 | account->remove(); |
134 | } | 134 | } |
135 | } | 135 | } |
136 | else if ( type.compare( "SMTP" ) == 0 ) | 136 | else if ( type.compare( i18n("SMTP") ) == 0 ) |
137 | { | 137 | { |
138 | SMTPaccount *account = new SMTPaccount(); | 138 | SMTPaccount *account = new SMTPaccount(); |
139 | SMTPconfig smtp( account, this, 0, true, WStyle_ContextHelp ); | 139 | SMTPconfig smtp( account, this, 0, true, WStyle_ContextHelp ); |
140 | if ( QDialog::Accepted == KApplication::execDialog( &smtp ) ) | 140 | if ( QDialog::Accepted == KApplication::execDialog( &smtp ) ) |
@@ -148,9 +148,9 @@ void EditAccounts::slotNewAccount( const QString &type ) | |||
148 | { | 148 | { |
149 | account->remove(); | 149 | account->remove(); |
150 | } | 150 | } |
151 | } | 151 | } |
152 | else if ( type.compare( "NNTP" ) == 0 ) | 152 | else if ( type.compare( i18n("NNTP") ) == 0 ) |
153 | { | 153 | { |
154 | NNTPaccount *account = new NNTPaccount(); | 154 | NNTPaccount *account = new NNTPaccount(); |
155 | NNTPconfig nntp( account, this, 0, true, WStyle_ContextHelp ); | 155 | NNTPconfig nntp( account, this, 0, true, WStyle_ContextHelp ); |
156 | if ( QDialog::Accepted == KApplication::execDialog( &nntp ) ) | 156 | if ( QDialog::Accepted == KApplication::execDialog( &nntp ) ) |