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/kodialogmanager.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'korganizer/kodialogmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/kodialogmanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kodialogmanager.h b/korganizer/kodialogmanager.h index b68ddc2..00ad1df 100644 --- a/korganizer/kodialogmanager.h +++ b/korganizer/kodialogmanager.h | |||
@@ -1,101 +1,101 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | Copyright (c) 2001 | 3 | Copyright (c) 2001 |
4 | Cornelius Schumacher <schumacher@kde.org> | 4 | Cornelius Schumacher <schumacher@kde.org> |
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify | 6 | This program is free software; you can redistribute it and/or modify |
7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
8 | the Free Software Foundation; either version 2 of the License, or | 8 | the Free Software Foundation; either version 2 of the License, or |
9 | (at your option) any later version. | 9 | (at your option) any later version. |
10 | 10 | ||
11 | This program is distributed in the hope that it will be useful, | 11 | This program is distributed in the hope that it will be useful, |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the |
14 | GNU General Public License for more details. | 14 | GNU General Public License for more details. |
15 | 15 | ||
16 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
17 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | 19 | ||
20 | As a special exception, permission is given to link this program | 20 | As a special exception, permission is given to link this program |
21 | with any edition of Qt, and distribute the resulting executable, | 21 | with any edition of Qt, and distribute the resulting executable, |
22 | without including the source code for Qt in the source distribution. | 22 | without including the source code for Qt in the source distribution. |
23 | */ | 23 | */ |
24 | #ifndef KODIALOGMANAGER_H | 24 | #ifndef KODIALOGMANAGER_H |
25 | #define KODIALOGMANAGER_H | 25 | #define KODIALOGMANAGER_H |
26 | 26 | ||
27 | #include <qobject.h> | 27 | #include <qobject.h> |
28 | #include <qptrlist.h> | 28 | #include <q3ptrlist.h> |
29 | 29 | ||
30 | #include <libkcal/calfilter.h> | 30 | #include <libkcal/calfilter.h> |
31 | 31 | ||
32 | class CalendarView; | 32 | class CalendarView; |
33 | class OutgoingDialog; | 33 | class OutgoingDialog; |
34 | class IncomingDialog; | 34 | class IncomingDialog; |
35 | class KOPrefsDialog; | 35 | class KOPrefsDialog; |
36 | //namespace KPIM { class CategoryEditDialog; } | 36 | //namespace KPIM { class CategoryEditDialog; } |
37 | class KOEventEditor; | 37 | class KOEventEditor; |
38 | class KOTodoEditor; | 38 | class KOTodoEditor; |
39 | class SearchDialog; | 39 | class SearchDialog; |
40 | class ArchiveDialog; | 40 | class ArchiveDialog; |
41 | class PluginDialog; | 41 | class PluginDialog; |
42 | class KConfig; | 42 | class KConfig; |
43 | class FilterEditDialog; | 43 | class FilterEditDialog; |
44 | 44 | ||
45 | using namespace KCal; | 45 | using namespace KCal; |
46 | 46 | ||
47 | /** | 47 | /** |
48 | This class manages the dialogs used by the calendar view. It owns the objects | 48 | This class manages the dialogs used by the calendar view. It owns the objects |
49 | and handles creation and selection. | 49 | and handles creation and selection. |
50 | */ | 50 | */ |
51 | class KODialogManager : public QObject | 51 | class KODialogManager : public QObject |
52 | { | 52 | { |
53 | Q_OBJECT | 53 | Q_OBJECT |
54 | public: | 54 | public: |
55 | KODialogManager( CalendarView * ); | 55 | KODialogManager( CalendarView * ); |
56 | virtual ~KODialogManager(); | 56 | virtual ~KODialogManager(); |
57 | 57 | ||
58 | /** Get an editor dialog for an Event. */ | 58 | /** Get an editor dialog for an Event. */ |
59 | KOEventEditor *getEventEditor(); | 59 | KOEventEditor *getEventEditor(); |
60 | 60 | ||
61 | /** Get an editor dialog for a Todo. */ | 61 | /** Get an editor dialog for a Todo. */ |
62 | KOTodoEditor *getTodoEditor(); | 62 | KOTodoEditor *getTodoEditor(); |
63 | 63 | ||
64 | OutgoingDialog *outgoingDialog(); | 64 | OutgoingDialog *outgoingDialog(); |
65 | 65 | ||
66 | IncomingDialog *incomingDialog(); | 66 | IncomingDialog *incomingDialog(); |
67 | void writeSettings( KConfig *config); | 67 | void writeSettings( KConfig *config); |
68 | void updateSearchDialog(); | 68 | void updateSearchDialog(); |
69 | SearchDialog * getSearchDialog(); | 69 | SearchDialog * getSearchDialog(); |
70 | void setDocumentId( const QString &id ); | 70 | void setDocumentId( const QString &id ); |
71 | 71 | ||
72 | public slots: | 72 | public slots: |
73 | void showOptionsDialog( bool showSync = false); | 73 | void showOptionsDialog( bool showSync = false); |
74 | void showGlobalOptionsDialog(bool showSync = false); | 74 | void showGlobalOptionsDialog(bool showSync = false); |
75 | void showSyncOptions(); | 75 | void showSyncOptions(); |
76 | void showIncomingDialog(); | 76 | void showIncomingDialog(); |
77 | void showOutgoingDialog(); | 77 | void showOutgoingDialog(); |
78 | // void showCategoryEditDialog(); | 78 | // void showCategoryEditDialog(); |
79 | void showSearchDialog(); | 79 | void showSearchDialog(); |
80 | void showArchiveDialog(); | 80 | void showArchiveDialog(); |
81 | void showFilterEditDialog(QPtrList<CalFilter> *filters); | 81 | void showFilterEditDialog(Q3PtrList<CalFilter> *filters); |
82 | void showPluginDialog(); | 82 | void showPluginDialog(); |
83 | void hideSearchDialog(); | 83 | void hideSearchDialog(); |
84 | 84 | ||
85 | private: | 85 | private: |
86 | void createOutgoingDialog(); | 86 | void createOutgoingDialog(); |
87 | void createIncomingDialog(); | 87 | void createIncomingDialog(); |
88 | 88 | ||
89 | CalendarView *mMainView; | 89 | CalendarView *mMainView; |
90 | 90 | ||
91 | OutgoingDialog *mOutgoingDialog; | 91 | OutgoingDialog *mOutgoingDialog; |
92 | IncomingDialog *mIncomingDialog; | 92 | IncomingDialog *mIncomingDialog; |
93 | KOPrefsDialog *mOptionsDialog; | 93 | KOPrefsDialog *mOptionsDialog; |
94 | // KPIM::CategoryEditDialog *mCategoryEditDialog; | 94 | // KPIM::CategoryEditDialog *mCategoryEditDialog; |
95 | SearchDialog *mSearchDialog; | 95 | SearchDialog *mSearchDialog; |
96 | ArchiveDialog *mArchiveDialog; | 96 | ArchiveDialog *mArchiveDialog; |
97 | FilterEditDialog *mFilterEditDialog; | 97 | FilterEditDialog *mFilterEditDialog; |
98 | PluginDialog *mPluginDialog; | 98 | PluginDialog *mPluginDialog; |
99 | }; | 99 | }; |
100 | 100 | ||
101 | #endif | 101 | #endif |