Diffstat (limited to 'kaddressbook/xxportselectdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/xxportselectdialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/xxportselectdialog.h b/kaddressbook/xxportselectdialog.h index 3bb696f..28b1fef 100644 --- a/kaddressbook/xxportselectdialog.h +++ b/kaddressbook/xxportselectdialog.h | |||
@@ -3,80 +3,81 @@ | |||
3 | Copyright (c) 2002 Anders Lund <anders.lund@lund.tdcadsl.dk> | 3 | Copyright (c) 2002 Anders Lund <anders.lund@lund.tdcadsl.dk> |
4 | Tobias Koenig <tokoe@kde.org> | 4 | Tobias Koenig <tokoe@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 XXPORTSELECTDIALOG_H | 24 | #ifndef XXPORTSELECTDIALOG_H |
25 | #define XXPORTSELECTDIALOG_H | 25 | #define XXPORTSELECTDIALOG_H |
26 | 26 | ||
27 | #include <kabc/addresseelist.h> | 27 | #include <kabc/addresseelist.h> |
28 | #include <kabc/field.h> | 28 | #include <kabc/field.h> |
29 | #include <kdialogbase.h> | 29 | #include <kdialogbase.h> |
30 | 30 | ||
31 | #include "filter.h" | 31 | #include "filter.h" |
32 | 32 | ||
33 | class QButtonGroup; | 33 | class QButtonGroup; |
34 | class QComboBox; | 34 | class QComboBox; |
35 | class QListView; | 35 | class QListView; |
36 | class QListViewItem; | 36 | class QListViewItem; |
37 | class QRadioButton; | 37 | class QRadioButton; |
38 | 38 | ||
39 | class KABCore; | 39 | class KABCore; |
40 | class KComboBox; | 40 | class KComboBox; |
41 | 41 | ||
42 | class XXPortSelectDialog : public KDialogBase | 42 | class XXPortSelectDialog : public KDialogBase |
43 | { | 43 | { |
44 | Q_OBJECT | 44 | Q_OBJECT |
45 | 45 | ||
46 | public: | 46 | public: |
47 | XXPortSelectDialog( KABCore *core, bool sort, QWidget* parent, | 47 | XXPortSelectDialog( KABCore *core, bool sort, QWidget* parent, |
48 | const char* name = 0 ); | 48 | const char* name = 0 ); |
49 | 49 | ||
50 | KABC::AddresseeList contacts(); | 50 | KABC::AddresseeList contacts(); |
51 | void tagSelected(); | ||
51 | QStringList uids(); | 52 | QStringList uids(); |
52 | 53 | ||
53 | private slots: | 54 | private slots: |
54 | void filterChanged( int ); | 55 | void filterChanged( int ); |
55 | void categoryClicked( QListViewItem * i ); | 56 | void categoryClicked( QListViewItem * i ); |
56 | 57 | ||
57 | protected slots: | 58 | protected slots: |
58 | void slotHelp(); | 59 | void slotHelp(); |
59 | 60 | ||
60 | private: | 61 | private: |
61 | void initGUI(); | 62 | void initGUI(); |
62 | QStringList categories() const; | 63 | QStringList categories() const; |
63 | 64 | ||
64 | QButtonGroup* mButtonGroup; | 65 | QButtonGroup* mButtonGroup; |
65 | QRadioButton* mUseCategories; | 66 | QRadioButton* mUseCategories; |
66 | QRadioButton* mUseFilters; | 67 | QRadioButton* mUseFilters; |
67 | QRadioButton* mUseWholeBook; | 68 | QRadioButton* mUseWholeBook; |
68 | QRadioButton* mUseSelection; | 69 | QRadioButton* mUseSelection; |
69 | QComboBox* mFiltersCombo; | 70 | QComboBox* mFiltersCombo; |
70 | QListView* mCategoriesView; | 71 | QListView* mCategoriesView; |
71 | 72 | ||
72 | KComboBox *mFieldCombo; | 73 | KComboBox *mFieldCombo; |
73 | KComboBox *mSortTypeCombo; | 74 | KComboBox *mSortTypeCombo; |
74 | 75 | ||
75 | KABCore *mCore; | 76 | KABCore *mCore; |
76 | KABC::AddresseeList mAddresseeList; | 77 | KABC::AddresseeList mAddresseeList; |
77 | Filter::List mFilters; | 78 | Filter::List mFilters; |
78 | KABC::Field::List mFields; | 79 | KABC::Field::List mFields; |
79 | bool mUseSorting; | 80 | bool mUseSorting; |
80 | }; | 81 | }; |
81 | 82 | ||
82 | #endif | 83 | #endif |