author | harlekin <harlekin> | 2003-12-09 01:05:53 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-12-09 01:05:53 (UTC) |
commit | 6142ad15ac50090b95bb5d80116c1750ffc515de (patch) (unidiff) | |
tree | 177b72b44446824d6faa13e140ab95a25c931b81 /noncore/net/mail/mainwindow.cpp | |
parent | e372949ac776a7d986cac91b2ff1a5022040d43b (diff) | |
download | opie-6142ad15ac50090b95bb5d80116c1750ffc515de.zip opie-6142ad15ac50090b95bb5d80116c1750ffc515de.tar.gz opie-6142ad15ac50090b95bb5d80116c1750ffc515de.tar.bz2 |
beginning of a view mail part
Diffstat (limited to 'noncore/net/mail/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index 6f054cc..6e8f4d3 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp | |||
@@ -6,6 +6,7 @@ | |||
6 | 6 | ||
7 | #include "defines.h" | 7 | #include "defines.h" |
8 | #include "mainwindow.h" | 8 | #include "mainwindow.h" |
9 | #include "viewmail.h" | ||
9 | 10 | ||
10 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | 11 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) |
11 | : QMainWindow( parent, name, flags ) | 12 | : QMainWindow( parent, name, flags ) |
@@ -138,7 +139,12 @@ void MainWindow::displayMail(QListViewItem*item) | |||
138 | RecMail mail = ((MailListViewItem*)item)->data(); | 139 | RecMail mail = ((MailListViewItem*)item)->data(); |
139 | QString body = folderView->fetchBody(mail); | 140 | QString body = folderView->fetchBody(mail); |
140 | 141 | ||
141 | qDebug(body); | 142 | ViewMail readMail( this ); |
143 | readMail.setMailInfo( mail.getFrom(), "", mail.getSubject(), "", "", body ); | ||
144 | readMail.showMaximized(); | ||
145 | readMail.exec(); | ||
146 | |||
147 | qDebug(body ); | ||
142 | } | 148 | } |
143 | 149 | ||
144 | void MailListViewItem::showEntry() | 150 | void MailListViewItem::showEntry() |