summaryrefslogtreecommitdiffabout
path: root/korganizer/filtereditdialog.h
Unidiff
Diffstat (limited to 'korganizer/filtereditdialog.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/filtereditdialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/filtereditdialog.h b/korganizer/filtereditdialog.h
index 42aa3da..c1a52ed 100644
--- a/korganizer/filtereditdialog.h
+++ b/korganizer/filtereditdialog.h
@@ -2,85 +2,85 @@
2 This file is part of KOrganizer. 2 This file is part of KOrganizer.
3 Copyright (c) 2001, 2002 Cornelius Schumacher <schumacher@kde.org> 3 Copyright (c) 2001, 2002 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 _FILTEREDITDIALOG_H 23#ifndef _FILTEREDITDIALOG_H
24#define _FILTEREDITDIALOG_H 24#define _FILTEREDITDIALOG_H
25 25
26#include <qptrlist.h> 26#include <q3ptrlist.h>
27 27
28#include <kdialogbase.h> 28#include <kdialogbase.h>
29 29
30#include <libkcal/calfilter.h> 30#include <libkcal/calfilter.h>
31 31
32class QComboBox; 32class QComboBox;
33class ComboFilterBox; 33class ComboFilterBox;
34class QPushButton; 34class QPushButton;
35class FilterEdit_base; 35class FilterEdit_base;
36 36
37using namespace KCal; 37using namespace KCal;
38 38
39/** 39/**
40 This is the class to add/edit a calendar filter. 40 This is the class to add/edit a calendar filter.
41 41
42 @short Creates a dialog box to create/edit a calendar filter 42 @short Creates a dialog box to create/edit a calendar filter
43 @author Cornelius Schumacher 43 @author Cornelius Schumacher
44*/ 44*/
45class FilterEditDialog : public KDialogBase 45class FilterEditDialog : public KDialogBase
46{ 46{
47 Q_OBJECT 47 Q_OBJECT
48 public: 48 public:
49 FilterEditDialog(QPtrList<CalFilter> *,QWidget *parent=0, const char *name=0); 49 FilterEditDialog(Q3PtrList<CalFilter> *,QWidget *parent=0, const char *name=0);
50 virtual ~FilterEditDialog(); 50 virtual ~FilterEditDialog();
51 51
52 public slots: 52 public slots:
53 void updateFilterList(); 53 void updateFilterList();
54 54
55 signals: 55 signals:
56 void filterChanged(); 56 void filterChanged();
57 57
58 protected slots: 58 protected slots:
59 void slotDefault(); 59 void slotDefault();
60 void slotApply(); 60 void slotApply();
61 void slotOk(); 61 void slotOk();
62 void accept(); 62 void accept();
63 63
64 void slotAdd(); 64 void slotAdd();
65 void slotUp(); 65 void slotUp();
66 void slotRemove(); 66 void slotRemove();
67 67
68 void filterSelected(); 68 void filterSelected();
69 void editCategorySelection(); 69 void editCategorySelection();
70 void updateCategorySelection(const QStringList &categories); 70 void updateCategorySelection(const QStringList &categories);
71 71
72 protected: 72 protected:
73 void readFilter(CalFilter *); 73 void readFilter(CalFilter *);
74 void writeFilter(CalFilter *); 74 void writeFilter(CalFilter *);
75 75
76 private: 76 private:
77 QPtrList<CalFilter> *mFilters; 77 Q3PtrList<CalFilter> *mFilters;
78 78
79 ComboFilterBox *mSelectionCombo; 79 ComboFilterBox *mSelectionCombo;
80 QPushButton *mRemoveButton; 80 QPushButton *mRemoveButton;
81 FilterEdit_base *mEditor; 81 FilterEdit_base *mEditor;
82 82
83 QStringList mCategories; 83 QStringList mCategories;
84}; 84};
85 85
86#endif 86#endif