Diffstat (limited to 'korganizer/koimportoldialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koimportoldialog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/koimportoldialog.h b/korganizer/koimportoldialog.h index c8847c5..d66f099 100644 --- a/korganizer/koimportoldialog.h +++ b/korganizer/koimportoldialog.h | |||
@@ -1,84 +1,84 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
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 | 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 KOINCIDENCEEDITOR_H | 23 | #ifndef KOINCIDENCEEDITOR_H |
24 | #define KOINCIDENCEEDITOR_H | 24 | #define KOINCIDENCEEDITOR_H |
25 | 25 | ||
26 | #include <kdialogbase.h> | 26 | #include <kdialogbase.h> |
27 | 27 | ||
28 | #include <afxdisp.h> | 28 | #include <afxdisp.h> |
29 | #include <libkcal/calendar.h> | 29 | #include <libkcal/calendar.h> |
30 | #include <libkcal/event.h> | 30 | #include <libkcal/event.h> |
31 | 31 | ||
32 | 32 | ||
33 | class QDateTime; | 33 | class QDateTime; |
34 | class QListView; | 34 | class Q3ListView; |
35 | class OLEListViewItem; | 35 | class OLEListViewItem; |
36 | class _AppointmentItem; | 36 | class _AppointmentItem; |
37 | namespace KPIM { class CategorySelectDialog; } | 37 | namespace KPIM { class CategorySelectDialog; } |
38 | 38 | ||
39 | using namespace KCal; | 39 | using namespace KCal; |
40 | 40 | ||
41 | /** | 41 | /** |
42 | This is the base class for the calendar component editors. | 42 | This is the base class for the calendar component editors. |
43 | */ | 43 | */ |
44 | class KOImportOLdialog : public KDialogBase | 44 | class KOImportOLdialog : public KDialogBase |
45 | { | 45 | { |
46 | Q_OBJECT | 46 | Q_OBJECT |
47 | public: | 47 | public: |
48 | /** | 48 | /** |
49 | Construct new IncidenceEditor. | 49 | Construct new IncidenceEditor. |
50 | */ | 50 | */ |
51 | KOImportOLdialog( const QString &caption, Calendar *calendar, | 51 | KOImportOLdialog( const QString &caption, Calendar *calendar, |
52 | QWidget *parent ); | 52 | QWidget *parent ); |
53 | virtual ~KOImportOLdialog(); | 53 | virtual ~KOImportOLdialog(); |
54 | 54 | ||
55 | /** Initialize editor. This function creates the tab widgets. */ | 55 | /** Initialize editor. This function creates the tab widgets. */ |
56 | void init(); | 56 | void init(); |
57 | 57 | ||
58 | public slots: | 58 | public slots: |
59 | 59 | ||
60 | 60 | ||
61 | signals: | 61 | signals: |
62 | 62 | ||
63 | protected slots: | 63 | protected slots: |
64 | void slotApply(); | 64 | void slotApply(); |
65 | void slotOk(); | 65 | void slotOk(); |
66 | void slotCancel(); | 66 | void slotCancel(); |
67 | 67 | ||
68 | protected: | 68 | protected: |
69 | void setupFolderView(); | 69 | void setupFolderView(); |
70 | void addFolder(OLEListViewItem* iParent, LPDISPATCH dispParent); | 70 | void addFolder(OLEListViewItem* iParent, LPDISPATCH dispParent); |
71 | void readCalendarData( DWORD folder ); | 71 | void readCalendarData( DWORD folder ); |
72 | void ol2kopiCalendar( _AppointmentItem * , bool computeRecurrence = true ); | 72 | void ol2kopiCalendar( _AppointmentItem * , bool computeRecurrence = true ); |
73 | 73 | ||
74 | Calendar *mCalendar; | 74 | Calendar *mCalendar; |
75 | QListView * mListView; | 75 | Q3ListView * mListView; |
76 | QString getUidByEmail( QString email ); | 76 | QString getUidByEmail( QString email ); |
77 | 77 | ||
78 | private: | 78 | private: |
79 | int importedItems; | 79 | int importedItems; |
80 | }; | 80 | }; |
81 | 81 | ||
82 | #endif | 82 | #endif |
83 | 83 | ||
84 | 84 | ||