summaryrefslogtreecommitdiff
path: root/noncore/net/mail/libmailwrapper/settings.cpp
Unidiff
Diffstat (limited to 'noncore/net/mail/libmailwrapper/settings.cpp') (more/less context) (show 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 de36eeb..3c9b25c 100644
--- a/noncore/net/mail/libmailwrapper/settings.cpp
+++ b/noncore/net/mail/libmailwrapper/settings.cpp
@@ -1,27 +1,28 @@
1#include <stdlib.h> 1#include <stdlib.h>
2#include <qdir.h> 2#include <qdir.h>
3 3
4#include <opie2/odebug.h>
4#include <qpe/config.h> 5#include <qpe/config.h>
5 6
6#include "settings.h" 7#include "settings.h"
7//#include "defines.h" 8//#include "defines.h"
8 9
9#define IMAP_PORT "143" 10#define IMAP_PORT "143"
10#define IMAP_SSL_PORT "993" 11#define IMAP_SSL_PORT "993"
11#define SMTP_PORT "25" 12#define SMTP_PORT "25"
12#define SMTP_SSL_PORT "465" 13#define SMTP_SSL_PORT "465"
13#define POP3_PORT "110" 14#define POP3_PORT "110"
14#define POP3_SSL_PORT "995" 15#define POP3_SSL_PORT "995"
15#define NNTP_PORT "119" 16#define NNTP_PORT "119"
16#define NNTP_SSL_PORT "563" 17#define NNTP_SSL_PORT "563"
17 18
18 19
19Settings::Settings() 20Settings::Settings()
20 : QObject() 21 : QObject()
21{ 22{
22 updateAccounts(); 23 updateAccounts();
23} 24}
24 25
25void Settings::checkDirectory() 26void Settings::checkDirectory()
26{ 27{
27 if ( !QDir( (QString) getenv( "HOME" ) + "/Applications/opiemail/" ).exists() ) { 28 if ( !QDir( (QString) getenv( "HOME" ) + "/Applications/opiemail/" ).exists() ) {