author | alwin <alwin> | 2005-03-06 00:09:33 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-06 00:09:33 (UTC) |
commit | 7e44f77d3749db2f43a1313d835a06684ecc1cd6 (patch) (side-by-side diff) | |
tree | 13499da9a407e9b384db0f3abdd381fe3bb9b6f4 /noncore/net/mail/viewmail.h | |
parent | 0baadaef5a3da4fda08df75394475f577af58828 (diff) | |
download | opie-7e44f77d3749db2f43a1313d835a06684ecc1cd6.zip opie-7e44f77d3749db2f43a1313d835a06684ecc1cd6.tar.gz opie-7e44f77d3749db2f43a1313d835a06684ecc1cd6.tar.bz2 |
attached images may views inside the mailview and not as extra dialog
-rw-r--r-- | noncore/net/mail/viewmail.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/net/mail/viewmail.h b/noncore/net/mail/viewmail.h index 297836b..f5033f0 100644 --- a/noncore/net/mail/viewmail.h +++ b/noncore/net/mail/viewmail.h @@ -6,16 +6,18 @@ #include <opie2/odialog.h> #include <qlistview.h> #include <qmap.h> #include <qstringlist.h> #include <qvaluelist.h> +class MailImageDlg; + namespace Opie { namespace MM { class OImageScrollView; } } class AttachItem : public QListViewItem { public: AttachItem(QListView * parent,QListViewItem *after, const QString&mime,const QString&desc,const QString&file, const QString&fsize,int num,const QValueList<int>&path); AttachItem(QListViewItem * parent,QListViewItem *after, const QString&mime,const QString&desc,const QString&file, @@ -43,33 +45,38 @@ public: void setBody(const RecBodyP&body); bool deleted; protected: QString deHtml(const QString &string); AttachItem* searchParent(const QValueList<int>&path); AttachItem* lastChild(AttachItem*parent); + Opie::MM::OImageScrollView*m_lastdlg; + protected slots: void slotReply(); void slotForward(); void setText(); void slotItemClicked( QListViewItem * item , const QPoint & point, int c ); void slotDeleteMail( ); void slotShowHtml( bool ); + void slotImageInline(bool); private: void readConfig(); bool _inLoop; QString m_mailHtml; bool m_gotBody; RecBodyP m_body; RecMailP m_recMail; - bool m_showHtml; + bool m_showHtml:1; + bool m_PicsInline:1; + unsigned int _icounter; // 0 from 1 subject 2 bodytext 3 date QMap <int,QString> m_mail; // 0 to 1 cc 2 bcc QMap <int,QStringList> m_mail2; }; class MailImageDlg:public Opie::Ui::ODialog |