Diffstat (limited to 'noncore/net/mail/opiemail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/opiemail.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/mail/opiemail.cpp b/noncore/net/mail/opiemail.cpp index 2909893..e35f5b6 100644 --- a/noncore/net/mail/opiemail.cpp +++ b/noncore/net/mail/opiemail.cpp | |||
@@ -1,7 +1,8 @@ | |||
1 | #include <qmessagebox.h> | 1 | #include <qmessagebox.h> |
2 | #include "settingsdialog.h" | ||
2 | #include "opiemail.h" | 3 | #include "opiemail.h" |
3 | #include "editaccounts.h" | 4 | #include "editaccounts.h" |
4 | #include "composemail.h" | 5 | #include "composemail.h" |
5 | #include "smtpwrapper.h" | 6 | #include "smtpwrapper.h" |
6 | #include <qpe/qcopenvelope_qws.h> | 7 | #include <qpe/qcopenvelope_qws.h> |
7 | #include <qaction.h> | 8 | #include <qaction.h> |
@@ -14,13 +15,12 @@ OpieMail::OpieMail( QWidget *parent, const char *name, WFlags flags ) | |||
14 | 15 | ||
15 | folderView->populate( settings->getAccounts() ); | 16 | folderView->populate( settings->getAccounts() ); |
16 | 17 | ||
17 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); | 18 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); |
18 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); | 19 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); |
19 | // connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); | 20 | // connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); |
20 | connect( editSettings, SIGNAL( activated() ), SLOT( slotEditSettings() ) ); | ||
21 | connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); | 21 | connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); |
22 | // Added by Stefan Eilers to allow starting by addressbook.. | 22 | // Added by Stefan Eilers to allow starting by addressbook.. |
23 | // copied from old mail2 | 23 | // copied from old mail2 |
24 | #if !defined(QT_NO_COP) | 24 | #if !defined(QT_NO_COP) |
25 | connect( qApp, SIGNAL( appMessage( const QCString&, const QByteArray& ) ), | 25 | connect( qApp, SIGNAL( appMessage( const QCString&, const QByteArray& ) ), |
26 | this, SLOT( appMessage( const QCString&, const QByteArray& ) ) ); | 26 | this, SLOT( appMessage( const QCString&, const QByteArray& ) ) ); |
@@ -89,13 +89,15 @@ void OpieMail::slotSearchMails() | |||
89 | { | 89 | { |
90 | qDebug( "Search Mails" ); | 90 | qDebug( "Search Mails" ); |
91 | } | 91 | } |
92 | 92 | ||
93 | void OpieMail::slotEditSettings() | 93 | void OpieMail::slotEditSettings() |
94 | { | 94 | { |
95 | qDebug( "Edit Settings" ); | 95 | SettingsDialog settingsDialog( this, 0, true ); |
96 | settingsDialog.showMaximized(); | ||
97 | settingsDialog.exec(); | ||
96 | } | 98 | } |
97 | 99 | ||
98 | void OpieMail::slotEditAccounts() | 100 | void OpieMail::slotEditAccounts() |
99 | { | 101 | { |
100 | qDebug( "Edit Accounts" ); | 102 | qDebug( "Edit Accounts" ); |
101 | EditAccounts eaDialog( settings, this, 0, true ); | 103 | EditAccounts eaDialog( settings, this, 0, true ); |