summaryrefslogtreecommitdiff
path: root/noncore/net/mail/defines.h
Unidiff
Diffstat (limited to 'noncore/net/mail/defines.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/defines.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/noncore/net/mail/defines.h b/noncore/net/mail/defines.h
new file mode 100644
index 0000000..853454d
--- a/dev/null
+++ b/noncore/net/mail/defines.h
@@ -0,0 +1,36 @@
1#ifndef DEFINE_CONSTANTS_H
2#define DEFINE_CONSTANTS_H
3
4#include <qpe/resource.h>
5
6#define USER_AGENT "OpieMail v0.0.1-alpha"
7
8#define PIC_COMPOSEMAIL "opiemail/composemail"
9#define PIC_SENDQUEUED "opiemail/sendqueued"
10#define PIC_SHOWFOLDERS "opiemail/showfolders"
11#define PIC_SEARCHMAILS "opiemail/searchmails"
12#define PIC_EDITSETTINGS "opiemail/editsettings"
13#define PIC_EDITACCOUNTS "opiemail/editaccounts"
14#define PIC_SYNC "opiemail/sync"
15#define PIC_IMAPFOLDER "opiemail/imapfolder"
16
17#define ICON_COMPOSEMAIL QIconSet( Resource::loadPixmap( PIC_COMPOSEMAIL ) )
18#define ICON_SENDQUEUED QIconSet( Resource::loadPixmap( PIC_SENDQUEUED ) )
19#define ICON_SHOWFOLDERS QIconSet( Resource::loadPixmap( PIC_SHOWFOLDERS ) )
20#define ICON_SEARCHMAILS QIconSet( Resource::loadPixmap( PIC_SEARCHMAILS ) )
21#define ICON_EDITSETTINGS QIconSet( Resource::loadPixmap( PIC_EDITSETTINGS ) )
22#define ICON_EDITACCOUNTS QIconSet( Resource::loadPixmap( PIC_EDITACCOUNTS ) )
23#define ICON_SYNC QIconSet( Resource::loadPixmap( PIC_SYNC ) )
24
25#define PIXMAP_IMAPFOLDER QPixmap( Resource::loadPixmap( PIC_IMAPFOLDER ) )
26
27#define IMAP_PORT "143"
28#define IMAP_SSL_PORT "993"
29#define SMTP_PORT "25"
30#define SMTP_SSL_PORT "465"
31#define POP3_PORT "110"
32#define POP3_SSL_PORT "995"
33#define NNTP_PORT "119"
34#define NNTP_SSL_PORT "563"
35
36#endif