author | alwin <alwin> | 2004-01-02 23:58:44 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-02 23:58:44 (UTC) |
commit | 86cac2c819dd683ac3f13be2c3bf1f28e0b83dab (patch) (unidiff) | |
tree | 3ee125def2a60097d19c22bbd155ef1353f68f85 /noncore/net/mail/opiemail.cpp | |
parent | 9dbd01bcb23a56171d7ec24a9ca3fcd6f62bc6ab (diff) | |
download | opie-86cac2c819dd683ac3f13be2c3bf1f28e0b83dab.zip opie-86cac2c819dd683ac3f13be2c3bf1f28e0b83dab.tar.gz opie-86cac2c819dd683ac3f13be2c3bf1f28e0b83dab.tar.bz2 |
settings dialog will show when clicked.
slots are all virtual so always the right one is called!
Note: It is better to make all slots declared virtual - or do not make any
child-classes!
-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,2 +1,3 @@ | |||
1 | #include <qmessagebox.h> | 1 | #include <qmessagebox.h> |
2 | #include "settingsdialog.h" | ||
2 | #include "opiemail.h" | 3 | #include "opiemail.h" |
@@ -19,3 +20,2 @@ OpieMail::OpieMail( QWidget *parent, const char *name, WFlags flags ) | |||
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() ) ); |
@@ -94,3 +94,5 @@ void OpieMail::slotEditSettings() | |||
94 | { | 94 | { |
95 | qDebug( "Edit Settings" ); | 95 | SettingsDialog settingsDialog( this, 0, true ); |
96 | settingsDialog.showMaximized(); | ||
97 | settingsDialog.exec(); | ||
96 | } | 98 | } |