author | harlekin <harlekin> | 2004-01-08 20:01:50 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2004-01-08 20:01:50 (UTC) |
commit | b672058ac470a1b9534296fa8bc4b8725ab7913b (patch) (side-by-side diff) | |
tree | 1a357fe8626431b7d93140546359bf2d48fb4151 /noncore/net/mail/opiemail.cpp | |
parent | 94428da008bea0aaff6db79d7963a2107b0da336 (diff) | |
download | opie-b672058ac470a1b9534296fa8bc4b8725ab7913b.zip opie-b672058ac470a1b9534296fa8bc4b8725ab7913b.tar.gz opie-b672058ac470a1b9534296fa8bc4b8725ab7913b.tar.bz2 |
prepare for context help and online help
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 @@ #include "selectstore.h" OpieMail::OpieMail( QWidget *parent, const char *name, WFlags flags ) - : MainWindow( parent, name, flags ) + : MainWindow( parent, name, WStyle_ContextHelp ) { settings = new Settings(); @@ -42,7 +42,7 @@ void OpieMail::appMessage(const QCString &msg, const QByteArray &data) void OpieMail::slotwriteMail(const QString&name,const QString&email) { - ComposeMail compose( settings, this, 0 , true ); + ComposeMail compose( settings, this, 0, true , WStyle_ContextHelp ); if (!email.isEmpty()) { if (!name.isEmpty()) { compose.setTo("\"" + name + "\"" + " " + "<"+ email + ">"); @@ -91,7 +91,7 @@ void OpieMail::slotSearchMails() void OpieMail::slotEditSettings() { - SettingsDialog settingsDialog( this, 0, true ); + SettingsDialog settingsDialog( this, 0, true, WStyle_ContextHelp ); settingsDialog.showMaximized(); settingsDialog.exec(); } @@ -99,7 +99,7 @@ void OpieMail::slotEditSettings() void OpieMail::slotEditAccounts() { qDebug( "Edit Accounts" ); - EditAccounts eaDialog( settings, this, 0, true ); + EditAccounts eaDialog( settings, this, 0, true, WStyle_ContextHelp ); eaDialog.showMaximized(); eaDialog.slotAdjustColumns(); eaDialog.exec(); @@ -115,7 +115,7 @@ void OpieMail::displayMail() if (!item) return; RecMail mail = ((MailListViewItem*)item)->data(); RecBody body = folderView->fetchBody(mail); - ViewMail readMail( this ); + ViewMail readMail( this,"", Qt::WType_Modal | WStyle_ContextHelp ); readMail.setBody( body ); readMail.setMail( mail ); readMail.showMaximized(); @@ -124,7 +124,7 @@ void OpieMail::displayMail() if ( readMail.deleted ) { folderView->refreshCurrent(); } else { - ( (MailListViewItem*)item )->setPixmap( 0, Resource::loadPixmap( "") ); + ( (MailListViewItem*)item )->setPixmap( 0, Resource::loadPixmap( "" ) ); } } |