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 /kaddressbook/viewconfigurefieldspage.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 'kaddressbook/viewconfigurefieldspage.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/viewconfigurefieldspage.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/viewconfigurefieldspage.h b/kaddressbook/viewconfigurefieldspage.h index b27668c..42d132f 100644 --- a/kaddressbook/viewconfigurefieldspage.h +++ b/kaddressbook/viewconfigurefieldspage.h | |||
@@ -22,60 +22,60 @@ | |||
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef VIEWCONFIGUREFIELDSPAGE_H | 24 | #ifndef VIEWCONFIGUREFIELDSPAGE_H |
25 | #define VIEWCONFIGUREFIELDSPAGE_H | 25 | #define VIEWCONFIGUREFIELDSPAGE_H |
26 | 26 | ||
27 | #include <qwidget.h> | 27 | #include <qwidget.h> |
28 | 28 | ||
29 | #include <kabc/field.h> | 29 | #include <kabc/field.h> |
30 | #include <kabc/addressbook.h> | 30 | #include <kabc/addressbook.h> |
31 | 31 | ||
32 | #ifndef KAB_EMBEDDED | 32 | #ifndef KAB_EMBEDDED |
33 | class KComboBox; | 33 | class KComboBox; |
34 | #else //KAB_EMBEDDED | 34 | #else //KAB_EMBEDDED |
35 | class QComboBox; | 35 | class QComboBox; |
36 | #endif //KAB_EMBEDDED | 36 | #endif //KAB_EMBEDDED |
37 | 37 | ||
38 | class QListBox; | 38 | class Q3ListBox; |
39 | class QListBoxItem; | 39 | class Q3ListBoxItem; |
40 | class QPushButton; | 40 | class QPushButton; |
41 | class QToolButton; | 41 | class QToolButton; |
42 | 42 | ||
43 | class ViewConfigureFieldsPage : public QWidget | 43 | class ViewConfigureFieldsPage : public QWidget |
44 | { | 44 | { |
45 | Q_OBJECT | 45 | Q_OBJECT |
46 | 46 | ||
47 | public: | 47 | public: |
48 | ViewConfigureFieldsPage( KABC::AddressBook *ab, QWidget *parent = 0, | 48 | ViewConfigureFieldsPage( KABC::AddressBook *ab, QWidget *parent = 0, |
49 | const char *name = 0 ); | 49 | const char *name = 0 ); |
50 | 50 | ||
51 | void restoreSettings( KConfig* ); | 51 | void restoreSettings( KConfig* ); |
52 | void saveSettings( KConfig* ); | 52 | void saveSettings( KConfig* ); |
53 | 53 | ||
54 | public slots: | 54 | public slots: |
55 | void slotSelect(); | 55 | void slotSelect(); |
56 | void slotUnSelect(); | 56 | void slotUnSelect(); |
57 | void slotMoveUp(); | 57 | void slotMoveUp(); |
58 | void slotMoveDown(); | 58 | void slotMoveDown(); |
59 | 59 | ||
60 | void slotShowFields( int ); | 60 | void slotShowFields( int ); |
61 | void slotButtonsEnabled(); | 61 | void slotButtonsEnabled(); |
62 | 62 | ||
63 | private: | 63 | private: |
64 | void initGUI(); | 64 | void initGUI(); |
65 | 65 | ||
66 | #ifndef KAB_EMBEDDED | 66 | #ifndef KAB_EMBEDDED |
67 | KComboBox *mCategoryCombo; | 67 | KComboBox *mCategoryCombo; |
68 | #else //KAB_EMBEDDED | 68 | #else //KAB_EMBEDDED |
69 | QComboBox *mCategoryCombo; | 69 | QComboBox *mCategoryCombo; |
70 | #endif //KAB_EMBEDDED | 70 | #endif //KAB_EMBEDDED |
71 | QListBox *mSelectedBox; | 71 | Q3ListBox *mSelectedBox; |
72 | QListBox *mUnSelectedBox; | 72 | Q3ListBox *mUnSelectedBox; |
73 | QToolButton *mAddButton; | 73 | QToolButton *mAddButton; |
74 | QToolButton *mRemoveButton; | 74 | QToolButton *mRemoveButton; |
75 | QToolButton *mUpButton; | 75 | QToolButton *mUpButton; |
76 | QToolButton *mDownButton; | 76 | QToolButton *mDownButton; |
77 | 77 | ||
78 | KABC::AddressBook *mAddressBook; | 78 | KABC::AddressBook *mAddressBook; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | #endif | 81 | #endif |