author | alwin <alwin> | 2004-01-02 02:47:12 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-01-02 02:47:12 (UTC) |
commit | fec64a3eb7b198666eb9937df47323bad94b1ba0 (patch) (unidiff) | |
tree | a781a5999d7efb3b3926aa056bf8bac471f5e484 /noncore/net/mail/viewmail.h | |
parent | 5fbf2a6b9cda98ab16fa1f0e1ac848a9bb523a72 (diff) | |
download | opie-fec64a3eb7b198666eb9937df47323bad94b1ba0.zip opie-fec64a3eb7b198666eb9937df47323bad94b1ba0.tar.gz opie-fec64a3eb7b198666eb9937df47323bad94b1ba0.tar.bz2 |
display of attachments has a hierarchic structure (if needed)
-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 bf7a4dd..b3d3b4e 100644 --- a/noncore/net/mail/viewmail.h +++ b/noncore/net/mail/viewmail.h | |||
@@ -6,2 +6,3 @@ | |||
6 | #include <qstringlist.h> | 6 | #include <qstringlist.h> |
7 | #include <qvaluelist.h> | ||
7 | 8 | ||
@@ -14,4 +15,7 @@ public: | |||
14 | AttachItem(QListView * parent,QListViewItem *after, const QString&mime,const QString&desc,const QString&file, | 15 | AttachItem(QListView * parent,QListViewItem *after, const QString&mime,const QString&desc,const QString&file, |
15 | const QString&fsize,int num); | 16 | const QString&fsize,int num,const QValueList<int>&path); |
17 | AttachItem(QListViewItem * parent,QListViewItem *after, const QString&mime,const QString&desc,const QString&file, | ||
18 | const QString&fsize,int num,const QValueList<int>&path); | ||
16 | int Partnumber() { return _partNum; } | 19 | int Partnumber() { return _partNum; } |
20 | bool isParentof(const QValueList<int>&path); | ||
17 | 21 | ||
@@ -19,2 +23,4 @@ private: | |||
19 | int _partNum; | 23 | int _partNum; |
24 | /* needed for a better display of attachments */ | ||
25 | QValueList<int> _path; | ||
20 | }; | 26 | }; |
@@ -37,2 +43,3 @@ protected: | |||
37 | QString deHtml(const QString &string); | 43 | QString deHtml(const QString &string); |
44 | AttachItem* searchParent(const QValueList<int>&path); | ||
38 | 45 | ||