author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/incomingdialog.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-p1.zip kdepimpi-p1.tar.gz kdepimpi-p1.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | korganizer/incomingdialog.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/incomingdialog.h b/korganizer/incomingdialog.h index 413ce6a..e002b25 100644 --- a/korganizer/incomingdialog.h +++ b/korganizer/incomingdialog.h | |||
@@ -14,30 +14,30 @@ | |||
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | */ | 18 | */ |
19 | #ifndef INCOMINGDIALOG_H | 19 | #ifndef INCOMINGDIALOG_H |
20 | #define INCOMINGDIALOG_H | 20 | #define INCOMINGDIALOG_H |
21 | 21 | ||
22 | #include <qlistview.h> | 22 | #include <q3listview.h> |
23 | 23 | ||
24 | #include <libkcal/calendar.h> | 24 | #include <libkcal/calendar.h> |
25 | #include <libkcal/scheduler.h> | 25 | #include <libkcal/scheduler.h> |
26 | 26 | ||
27 | #include "incomingdialog_base.h" | 27 | #include "incomingdialog_base.h" |
28 | #include "outgoingdialog.h" | 28 | #include "outgoingdialog.h" |
29 | 29 | ||
30 | using namespace KCal; | 30 | using namespace KCal; |
31 | 31 | ||
32 | class ScheduleItemIn : public QListViewItem | 32 | class ScheduleItemIn : public Q3ListViewItem |
33 | { | 33 | { |
34 | public: | 34 | public: |
35 | ScheduleItemIn(QListView *parent,IncidenceBase *ev,Scheduler::Method method, | 35 | ScheduleItemIn(Q3ListView *parent,IncidenceBase *ev,Scheduler::Method method, |
36 | ScheduleMessage::Status status); | 36 | ScheduleMessage::Status status); |
37 | virtual ~ScheduleItemIn() {} | 37 | virtual ~ScheduleItemIn() {} |
38 | 38 | ||
39 | IncidenceBase *event() { return mIncidence; } | 39 | IncidenceBase *event() { return mIncidence; } |
40 | Scheduler::Method method() { return mMethod; } | 40 | Scheduler::Method method() { return mMethod; } |
41 | ScheduleMessage::Status status() { return mStatus; } | 41 | ScheduleMessage::Status status() { return mStatus; } |
42 | 42 | ||
43 | private: | 43 | private: |
@@ -67,32 +67,32 @@ class ScheduleItemVisitor : public Incidence::Visitor | |||
67 | 67 | ||
68 | 68 | ||
69 | 69 | ||
70 | class IncomingDialog : public IncomingDialog_base | 70 | class IncomingDialog : public IncomingDialog_base |
71 | { | 71 | { |
72 | Q_OBJECT | 72 | Q_OBJECT |
73 | public: | 73 | public: |
74 | IncomingDialog(Calendar *calendar,OutgoingDialog *outgoing, | 74 | IncomingDialog(Calendar *calendar,OutgoingDialog *outgoing, |
75 | QWidget* parent=0,const char* name=0,bool modal=false,WFlags fl=0); | 75 | QWidget* parent=0,const char* name=0,bool modal=false,Qt::WFlags fl=0); |
76 | ~IncomingDialog(); | 76 | ~IncomingDialog(); |
77 | 77 | ||
78 | void setOutgoingDialog(OutgoingDialog *outgoing); | 78 | void setOutgoingDialog(OutgoingDialog *outgoing); |
79 | 79 | ||
80 | signals: | 80 | signals: |
81 | void calendarUpdated(); | 81 | void calendarUpdated(); |
82 | void numMessagesChanged(int); | 82 | void numMessagesChanged(int); |
83 | public slots: | 83 | public slots: |
84 | void retrieve(); | 84 | void retrieve(); |
85 | 85 | ||
86 | protected slots: | 86 | protected slots: |
87 | void acceptAllMessages(); | 87 | void acceptAllMessages(); |
88 | void acceptMessage(); | 88 | void acceptMessage(); |
89 | void rejectMessage(); | 89 | void rejectMessage(); |
90 | void showEvent(QListViewItem *); | 90 | void showEvent(Q3ListViewItem *); |
91 | 91 | ||
92 | protected: | 92 | protected: |
93 | bool acceptMessage(ScheduleItemIn *item); | 93 | bool acceptMessage(ScheduleItemIn *item); |
94 | bool incomeRefresh(ScheduleItemIn *item); | 94 | bool incomeRefresh(ScheduleItemIn *item); |
95 | bool incomeCounter(ScheduleItemIn *item); | 95 | bool incomeCounter(ScheduleItemIn *item); |
96 | bool incomeDeclineCounter(ScheduleItemIn *item); | 96 | bool incomeDeclineCounter(ScheduleItemIn *item); |
97 | bool incomeAdd(ScheduleItemIn *item); | 97 | bool incomeAdd(ScheduleItemIn *item); |
98 | bool incomeRequest(ScheduleItemIn *item); | 98 | bool incomeRequest(ScheduleItemIn *item); |