From 9454ac48a53f3b49e03288311b71436ccacd2d04 Mon Sep 17 00:00:00 2001 From: alwin Date: Wed, 10 Mar 2004 22:44:44 +0000 Subject: some bugfixes When edit a mail to send and cancel is pressed the mail can stored in a draft folder and later edit again. This moment we will not store attachments into drafts. --- (limited to 'noncore/net/mail/composemail.h') diff --git a/noncore/net/mail/composemail.h b/noncore/net/mail/composemail.h index 886fb1d..1b9fc79 100644 --- a/noncore/net/mail/composemail.h +++ b/noncore/net/mail/composemail.h @@ -13,25 +13,29 @@ class AddressPicker : public AddressPickerUI { - Q_OBJECT + Q_OBJECT public: - AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); - static QString getNames(); + AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); + static QString getNames(); protected: - QString selectedNames; - void accept(); + QString selectedNames; + void accept(); }; +class RecMail; class ComposeMail : public ComposeMailUI { Q_OBJECT - + public: ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); + virtual ~ComposeMail(); + + void reEditMail(const RecMail¤t); public slots: void slotAdjustColumns(); @@ -43,7 +47,8 @@ public slots: protected slots: void accept(); - + void reject(); + private slots: void fillValues( int current ); void pickAddress( QLineEdit *line ); @@ -62,12 +67,12 @@ protected: class AttachViewItem : public QListViewItem { -public: +public: AttachViewItem( QListView *parent, Attachment *att ); - Attachment *getAttachment() { return attachment; } + Attachment *getAttachment() { return attachment; } private: - Attachment *attachment; + Attachment *attachment; }; -- cgit v0.9.0.2