summaryrefslogtreecommitdiff
path: root/noncore/net/mail/composemail.h
Unidiff
Diffstat (limited to 'noncore/net/mail/composemail.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/composemail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/mail/composemail.h b/noncore/net/mail/composemail.h
index c12eb30..4693927 100644
--- a/noncore/net/mail/composemail.h
+++ b/noncore/net/mail/composemail.h
@@ -1,81 +1,81 @@
1#ifndef COMPOSEMAIL_H 1#ifndef COMPOSEMAIL_H
2#define COMPOSEMAIL_H 2#define COMPOSEMAIL_H
3 3
4#include <qlineedit.h> 4#include <qlineedit.h>
5#include <qlistview.h> 5#include <qlistview.h>
6 6
7#include "composemailui.h" 7#include "composemailui.h"
8#include "addresspickerui.h" 8#include "addresspickerui.h"
9#include <libmailwrapper/settings.h> 9#include <libmailwrapper/settings.h>
10#include <libmailwrapper/mailwrapper.h> 10#include <libmailwrapper/mailwrapper.h>
11 11
12class RecMail; 12class RecMail;
13 13
14#include <opie2/osmartpointer.h> 14#include <opie2/osmartpointer.h>
15 15
16class AddressPicker : public AddressPickerUI 16class AddressPicker : public AddressPickerUI
17{ 17{
18 Q_OBJECT 18 Q_OBJECT
19 19
20public: 20public:
21 AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); 21 AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 );
22 static QString getNames(); 22 static QString getNames();
23 23
24protected: 24protected:
25 QString selectedNames; 25 QString selectedNames;
26 void accept(); 26 void accept();
27 27
28}; 28};
29 29
30class RecMail; 30class RecMail;
31 31
32class ComposeMail : public ComposeMailUI 32class ComposeMail : public ComposeMailUI
33{ 33{
34 Q_OBJECT 34 Q_OBJECT
35 35
36public: 36public:
37 ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); 37 ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 );
38 virtual ~ComposeMail(); 38 virtual ~ComposeMail();
39 39
40 void reEditMail(const Opie::OSmartPointer<RecMail>&current); 40 void reEditMail(const Opie::Core::OSmartPointer<RecMail>&current);
41 41
42public slots: 42public slots:
43 void slotAdjustColumns(); 43 void slotAdjustColumns();
44 44
45 void setTo( const QString & to ); 45 void setTo( const QString & to );
46 void setSubject( const QString & subject ); 46 void setSubject( const QString & subject );
47 void setInReplyTo( const QString & messageId ); 47 void setInReplyTo( const QString & messageId );
48 void setMessage( const QString & text ); 48 void setMessage( const QString & text );
49 49
50protected slots: 50protected slots:
51 void accept(); 51 void accept();
52 void reject(); 52 void reject();
53 53
54private slots: 54private slots:
55 void fillValues( int current ); 55 void fillValues( int current );
56 void pickAddress( QLineEdit *line ); 56 void pickAddress( QLineEdit *line );
57 void pickAddressTo(); 57 void pickAddressTo();
58 void pickAddressCC(); 58 void pickAddressCC();
59 void pickAddressBCC(); 59 void pickAddressBCC();
60 void pickAddressReply(); 60 void pickAddressReply();
61 void addAttachment(); 61 void addAttachment();
62 void removeAttachment(); 62 void removeAttachment();
63 63
64protected: 64protected:
65 Settings *settings; 65 Settings *settings;
66 QList<SMTPaccount> smtpAccounts; 66 QList<SMTPaccount> smtpAccounts;
67 QString m_replyid; 67 QString m_replyid;
68}; 68};
69 69
70class AttachViewItem : public QListViewItem 70class AttachViewItem : public QListViewItem
71{ 71{
72public: 72public:
73 AttachViewItem( QListView *parent, Attachment *att ); 73 AttachViewItem( QListView *parent, Attachment *att );
74 Attachment *getAttachment() { return attachment; } 74 Attachment *getAttachment() { return attachment; }
75 75
76private: 76private:
77 Attachment *attachment; 77 Attachment *attachment;
78 78
79}; 79};
80 80
81#endif 81#endif