Diffstat (limited to 'noncore/net/mail/opiemail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/opiemail.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/net/mail/opiemail.cpp b/noncore/net/mail/opiemail.cpp index dee3f70..39e3a64 100644 --- a/noncore/net/mail/opiemail.cpp +++ b/noncore/net/mail/opiemail.cpp | |||
@@ -14,7 +14,7 @@ | |||
14 | #include "selectstore.h" | 14 | #include "selectstore.h" |
15 | 15 | ||
16 | OpieMail::OpieMail( QWidget *parent, const char *name, WFlags flags ) | 16 | OpieMail::OpieMail( QWidget *parent, const char *name, WFlags flags ) |
17 | : MainWindow( parent, name, flags ) | 17 | : MainWindow( parent, name, WStyle_ContextHelp ) |
18 | { | 18 | { |
19 | settings = new Settings(); | 19 | settings = new Settings(); |
20 | 20 | ||
@@ -42,7 +42,7 @@ void OpieMail::appMessage(const QCString &msg, const QByteArray &data) | |||
42 | 42 | ||
43 | void OpieMail::slotwriteMail(const QString&name,const QString&email) | 43 | void OpieMail::slotwriteMail(const QString&name,const QString&email) |
44 | { | 44 | { |
45 | ComposeMail compose( settings, this, 0 , true ); | 45 | ComposeMail compose( settings, this, 0, true , WStyle_ContextHelp ); |
46 | if (!email.isEmpty()) { | 46 | if (!email.isEmpty()) { |
47 | if (!name.isEmpty()) { | 47 | if (!name.isEmpty()) { |
48 | compose.setTo("\"" + name + "\"" + " " + "<"+ email + ">"); | 48 | compose.setTo("\"" + name + "\"" + " " + "<"+ email + ">"); |
@@ -91,7 +91,7 @@ void OpieMail::slotSearchMails() | |||
91 | 91 | ||
92 | void OpieMail::slotEditSettings() | 92 | void OpieMail::slotEditSettings() |
93 | { | 93 | { |
94 | SettingsDialog settingsDialog( this, 0, true ); | 94 | SettingsDialog settingsDialog( this, 0, true, WStyle_ContextHelp ); |
95 | settingsDialog.showMaximized(); | 95 | settingsDialog.showMaximized(); |
96 | settingsDialog.exec(); | 96 | settingsDialog.exec(); |
97 | } | 97 | } |
@@ -99,7 +99,7 @@ void OpieMail::slotEditSettings() | |||
99 | void OpieMail::slotEditAccounts() | 99 | void OpieMail::slotEditAccounts() |
100 | { | 100 | { |
101 | qDebug( "Edit Accounts" ); | 101 | qDebug( "Edit Accounts" ); |
102 | EditAccounts eaDialog( settings, this, 0, true ); | 102 | EditAccounts eaDialog( settings, this, 0, true, WStyle_ContextHelp ); |
103 | eaDialog.showMaximized(); | 103 | eaDialog.showMaximized(); |
104 | eaDialog.slotAdjustColumns(); | 104 | eaDialog.slotAdjustColumns(); |
105 | eaDialog.exec(); | 105 | eaDialog.exec(); |
@@ -115,7 +115,7 @@ void OpieMail::displayMail() | |||
115 | if (!item) return; | 115 | if (!item) return; |
116 | RecMail mail = ((MailListViewItem*)item)->data(); | 116 | RecMail mail = ((MailListViewItem*)item)->data(); |
117 | RecBody body = folderView->fetchBody(mail); | 117 | RecBody body = folderView->fetchBody(mail); |
118 | ViewMail readMail( this ); | 118 | ViewMail readMail( this,"", Qt::WType_Modal | WStyle_ContextHelp ); |
119 | readMail.setBody( body ); | 119 | readMail.setBody( body ); |
120 | readMail.setMail( mail ); | 120 | readMail.setMail( mail ); |
121 | readMail.showMaximized(); | 121 | readMail.showMaximized(); |
@@ -124,7 +124,7 @@ void OpieMail::displayMail() | |||
124 | if ( readMail.deleted ) { | 124 | if ( readMail.deleted ) { |
125 | folderView->refreshCurrent(); | 125 | folderView->refreshCurrent(); |
126 | } else { | 126 | } else { |
127 | ( (MailListViewItem*)item )->setPixmap( 0, Resource::loadPixmap( "") ); | 127 | ( (MailListViewItem*)item )->setPixmap( 0, Resource::loadPixmap( "" ) ); |
128 | } | 128 | } |
129 | } | 129 | } |
130 | 130 | ||