-rw-r--r-- | korganizer/outgoingdialog.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/outgoingdialog.h b/korganizer/outgoingdialog.h index a3d561a..e727087 100644 --- a/korganizer/outgoingdialog.h +++ b/korganizer/outgoingdialog.h | |||
@@ -18,31 +18,31 @@ | |||
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef OUTGOINGDIALOG_H | 23 | #ifndef OUTGOINGDIALOG_H |
24 | #define OUTGOINGDIALOG_H | 24 | #define OUTGOINGDIALOG_H |
25 | 25 | ||
26 | #include <qlistview.h> | 26 | #include <q3listview.h> |
27 | #include <qmap.h> | 27 | #include <qmap.h> |
28 | #include <qstring.h> | 28 | #include <qstring.h> |
29 | 29 | ||
30 | #include <libkcal/scheduler.h> | 30 | #include <libkcal/scheduler.h> |
31 | 31 | ||
32 | #include "docprefs.h" | 32 | #include "docprefs.h" |
33 | #include "outgoingdialog_base.h" | 33 | #include "outgoingdialog_base.h" |
34 | 34 | ||
35 | using namespace KCal; | 35 | using namespace KCal; |
36 | 36 | ||
37 | class ScheduleItemOut : public QListViewItem | 37 | class ScheduleItemOut : public Q3ListViewItem |
38 | { | 38 | { |
39 | public: | 39 | public: |
40 | ScheduleItemOut(QListView *parent,IncidenceBase *ev, | 40 | ScheduleItemOut(Q3ListView *parent,IncidenceBase *ev, |
41 | Scheduler::Method method, const QString &recipients=QString::null); | 41 | Scheduler::Method method, const QString &recipients=QString::null); |
42 | virtual ~ScheduleItemOut() {} | 42 | virtual ~ScheduleItemOut() {} |
43 | 43 | ||
44 | IncidenceBase *event() { return mIncidence; } | 44 | IncidenceBase *event() { return mIncidence; } |
45 | Scheduler::Method method() { return mMethod; } | 45 | Scheduler::Method method() { return mMethod; } |
46 | QString recipients() { return mRecipients; } | 46 | QString recipients() { return mRecipients; } |
47 | 47 | ||
48 | private: | 48 | private: |
@@ -51,33 +51,33 @@ class ScheduleItemOut : public QListViewItem | |||
51 | QString mRecipients; | 51 | QString mRecipients; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | class OutgoingDialog : public OutgoingDialog_base | 54 | class OutgoingDialog : public OutgoingDialog_base |
55 | { | 55 | { |
56 | Q_OBJECT | 56 | Q_OBJECT |
57 | public: | 57 | public: |
58 | OutgoingDialog(Calendar *,QWidget* parent=0,const char* name=0, | 58 | OutgoingDialog(Calendar *,QWidget* parent=0,const char* name=0, |
59 | bool modal=false,WFlags fl=0); | 59 | bool modal=false,Qt::WFlags fl=0); |
60 | ~OutgoingDialog(); | 60 | ~OutgoingDialog(); |
61 | 61 | ||
62 | bool addMessage(IncidenceBase *,Scheduler::Method); | 62 | bool addMessage(IncidenceBase *,Scheduler::Method); |
63 | bool addMessage(IncidenceBase *,Scheduler::Method,const QString &recipients); | 63 | bool addMessage(IncidenceBase *,Scheduler::Method,const QString &recipients); |
64 | void setDocumentId( const QString &id ); | 64 | void setDocumentId( const QString &id ); |
65 | 65 | ||
66 | public slots: | 66 | public slots: |
67 | void loadMessages(); | 67 | void loadMessages(); |
68 | 68 | ||
69 | signals: | 69 | signals: |
70 | void numMessagesChanged(int); | 70 | void numMessagesChanged(int); |
71 | 71 | ||
72 | protected slots: | 72 | protected slots: |
73 | void send(); | 73 | void send(); |
74 | void deleteItem(); | 74 | void deleteItem(); |
75 | void showEvent(QListViewItem *); | 75 | void showEvent(Q3ListViewItem *); |
76 | 76 | ||
77 | private: | 77 | private: |
78 | bool saveMessage(IncidenceBase *,Scheduler::Method,const QString &recipients=0); | 78 | bool saveMessage(IncidenceBase *,Scheduler::Method,const QString &recipients=0); |
79 | bool deleteMessage(IncidenceBase *); | 79 | bool deleteMessage(IncidenceBase *); |
80 | 80 | ||
81 | Calendar *mCalendar; | 81 | Calendar *mCalendar; |
82 | ICalFormat *mFormat; | 82 | ICalFormat *mFormat; |
83 | Scheduler *mScheduler; | 83 | Scheduler *mScheduler; |