Diffstat (limited to 'kaddressbook/filtereditdialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | kaddressbook/filtereditdialog.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kaddressbook/filtereditdialog.h b/kaddressbook/filtereditdialog.h index 5a8bad1..64d2976 100644 --- a/kaddressbook/filtereditdialog.h +++ b/kaddressbook/filtereditdialog.h | |||
@@ -26,29 +26,28 @@ Enhanced Version of the file for platform independent KDE tools. | |||
26 | Copyright (c) 2004 Ulf Schenk | 26 | Copyright (c) 2004 Ulf Schenk |
27 | 27 | ||
28 | $Id$ | 28 | $Id$ |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #ifndef FILTEREDITDIALOG_H | 31 | #ifndef FILTEREDITDIALOG_H |
32 | #define FILTEREDITDIALOG_H | 32 | #define FILTEREDITDIALOG_H |
33 | 33 | ||
34 | class QButtonGroup; | 34 | #include <Q3HButtonGroup> |
35 | class QString; | 35 | class QString; |
36 | class QToolButton; | 36 | class QToolButton; |
37 | class QWidget; | 37 | class QWidget; |
38 | class QListBoxItem; | 38 | class Q3ListBoxItem; |
39 | class QCheckBox; | 39 | class QCheckBox; |
40 | 40 | ||
41 | class KLineEdit; | 41 | class KLineEdit; |
42 | class KListBox; | 42 | class KListBox; |
43 | class KListView; | 43 | class KListView; |
44 | 44 | ||
45 | #include <kdialogbase.h> | 45 | #include <kdialogbase.h> |
46 | #include <qhbuttongroup.h> | ||
47 | 46 | ||
48 | #include "filter.h" | 47 | #include "filter.h" |
49 | 48 | ||
50 | class FilterDialog : public KDialogBase | 49 | class FilterDialog : public KDialogBase |
51 | { | 50 | { |
52 | Q_OBJECT | 51 | Q_OBJECT |
53 | 52 | ||
54 | public: | 53 | public: |
@@ -57,17 +56,17 @@ class FilterDialog : public KDialogBase | |||
57 | 56 | ||
58 | void setFilters( const Filter::List &list ); | 57 | void setFilters( const Filter::List &list ); |
59 | Filter::List filters() const; | 58 | Filter::List filters() const; |
60 | 59 | ||
61 | protected slots: | 60 | protected slots: |
62 | void add(); | 61 | void add(); |
63 | void edit(); | 62 | void edit(); |
64 | void remove(); | 63 | void remove(); |
65 | void selectionChanged( QListBoxItem* ); | 64 | void selectionChanged( Q3ListBoxItem* ); |
66 | 65 | ||
67 | private: | 66 | private: |
68 | void initGUI(); | 67 | void initGUI(); |
69 | void refresh(); | 68 | void refresh(); |
70 | 69 | ||
71 | Filter::List mFilterList; | 70 | Filter::List mFilterList; |
72 | Filter::List mInternalFilterList; | 71 | Filter::List mInternalFilterList; |
73 | 72 | ||
@@ -93,17 +92,17 @@ class FilterEditDialog : public KDialogBase | |||
93 | 92 | ||
94 | private: | 93 | private: |
95 | void initGUI(); | 94 | void initGUI(); |
96 | 95 | ||
97 | Filter mFilter; | 96 | Filter mFilter; |
98 | 97 | ||
99 | KLineEdit *mNameEdit; | 98 | KLineEdit *mNameEdit; |
100 | KListView *mCategoriesView; | 99 | KListView *mCategoriesView; |
101 | QHButtonGroup *mMatchRuleGroup; | 100 | Q3HButtonGroup *mMatchRuleGroup; |
102 | QCheckBox *mPrivate; | 101 | QCheckBox *mPrivate; |
103 | QCheckBox *mPublic; | 102 | QCheckBox *mPublic; |
104 | QCheckBox *mConfidential; | 103 | QCheckBox *mConfidential; |
105 | QPushButton *mEditButton; | 104 | QPushButton *mEditButton; |
106 | QPushButton *mRemoveButton; | 105 | QPushButton *mRemoveButton; |
107 | }; | 106 | }; |
108 | 107 | ||
109 | #endif | 108 | #endif |