summaryrefslogtreecommitdiff
path: root/noncore
authoralwin <alwin>2004-10-28 02:14:18 (UTC)
committer alwin <alwin>2004-10-28 02:14:18 (UTC)
commit20992991cdc3116edbaedbbc58ba607f453acdbc (patch) (side-by-side diff)
tree98a8e8dea7df50b7569e5fe7567a04a4060df520 /noncore
parent6205e982ec6d9ab1893919cd9c943c95b4baae33 (diff)
downloadopie-20992991cdc3116edbaedbbc58ba607f453acdbc.zip
opie-20992991cdc3116edbaedbbc58ba607f453acdbc.tar.gz
opie-20992991cdc3116edbaedbbc58ba607f453acdbc.tar.bz2
oops - forgot removing a deklaration
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/viewmail.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/net/mail/viewmail.h b/noncore/net/mail/viewmail.h
index 560453a..297836b 100644
--- a/noncore/net/mail/viewmail.h
+++ b/noncore/net/mail/viewmail.h
@@ -7,81 +7,80 @@
#include <opie2/odialog.h>
#include <qlistview.h>
#include <qmap.h>
#include <qstringlist.h>
#include <qvaluelist.h>
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,
const QString&fsize,int num,const QValueList<int>&path);
int Partnumber() { return _partNum; }
bool isParentof(const QValueList<int>&path);
private:
int _partNum;
/* needed for a better display of attachments */
QValueList<int> _path;
};
class ViewMail : public ViewMailBase
{
Q_OBJECT
public:
ViewMail( QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
~ViewMail();
void hide();
void exec();
void setMail(const RecMailP&mail );
void setBody(const RecBodyP&body);
bool deleted;
protected:
QString deHtml(const QString &string);
AttachItem* searchParent(const QValueList<int>&path);
AttachItem* lastChild(AttachItem*parent);
protected slots:
void slotReply();
void slotForward();
void setText();
- void setHeader();
void slotItemClicked( QListViewItem * item , const QPoint & point, int c );
void slotDeleteMail( );
void slotShowHtml( bool );
private:
void readConfig();
bool _inLoop;
QString m_mailHtml;
bool m_gotBody;
RecBodyP m_body;
RecMailP m_recMail;
bool m_showHtml;
// 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
{
Q_OBJECT
public:
MailImageDlg(const QString&,QWidget *parent = 0, const char *name = 0, bool modal = true, WFlags f = 0);
~MailImageDlg();
void setName(const QString&);
protected:
Opie::MM::OImageScrollView*m_imageview;
};
#endif