author | harlekin <harlekin> | 2003-12-08 13:37:32 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-12-08 13:37:32 (UTC) |
commit | 3b37149813d940535b12ba3b1edd938c41804a1b (patch) (unidiff) | |
tree | 0e35a3b28fb147514f22a6a6cb5aaf246e4c5670 /noncore/net/mail/opiemail.cpp | |
parent | 3d49fc2f7bba9c9e8856e5f4f7ec6c15ef84c252 (diff) | |
download | opie-3b37149813d940535b12ba3b1edd938c41804a1b.zip opie-3b37149813d940535b12ba3b1edd938c41804a1b.tar.gz opie-3b37149813d940535b12ba3b1edd938c41804a1b.tar.bz2 |
beginning of the new mailer
Diffstat (limited to 'noncore/net/mail/opiemail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/opiemail.cpp | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/noncore/net/mail/opiemail.cpp b/noncore/net/mail/opiemail.cpp new file mode 100644 index 0000000..93f3bb7 --- a/dev/null +++ b/noncore/net/mail/opiemail.cpp | |||
@@ -0,0 +1,50 @@ | |||
1 | #include "opiemail.h" | ||
2 | #include "editaccounts.h" | ||
3 | #include "composemail.h" | ||
4 | |||
5 | OpieMail::OpieMail( QWidget *parent, const char *name, WFlags flags ) | ||
6 | : MainWindow( parent, name, flags ) | ||
7 | { | ||
8 | settings = new Settings(); | ||
9 | |||
10 | folderView->populate( settings->getAccounts() ); | ||
11 | |||
12 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); | ||
13 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); | ||
14 | connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); | ||
15 | connect( editSettings, SIGNAL( activated() ), SLOT( slotEditSettings() ) ); | ||
16 | connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); | ||
17 | } | ||
18 | |||
19 | void OpieMail::slotComposeMail() | ||
20 | { | ||
21 | qDebug( "Compose Mail" ); | ||
22 | ComposeMail compose( settings, this, 0 , true ); | ||
23 | compose.showMaximized(); | ||
24 | compose.slotAdjustColumns(); | ||
25 | compose.exec(); | ||
26 | } | ||
27 | |||
28 | void OpieMail::slotSendQueued() | ||
29 | { | ||
30 | qDebug( "Send Queued" ); | ||
31 | } | ||
32 | |||
33 | void OpieMail::slotSearchMails() | ||
34 | { | ||
35 | qDebug( "Search Mails" ); | ||
36 | } | ||
37 | |||
38 | void OpieMail::slotEditSettings() | ||
39 | { | ||
40 | qDebug( "Edit Settings" ); | ||
41 | } | ||
42 | |||
43 | void OpieMail::slotEditAccounts() | ||
44 | { | ||
45 | qDebug( "Edit Accounts" ); | ||
46 | EditAccounts eaDialog( settings, this, 0, true ); | ||
47 | eaDialog.showMaximized(); | ||
48 | eaDialog.slotAdjustColumns(); | ||
49 | eaDialog.exec(); | ||
50 | } | ||