Diffstat (limited to 'kaddressbook/kcmconfigs/kabconfigwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/kcmconfigs/kabconfigwidget.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/kaddressbook/kcmconfigs/kabconfigwidget.h b/kaddressbook/kcmconfigs/kabconfigwidget.h index 9d1363b..8c0c436 100644 --- a/kaddressbook/kcmconfigs/kabconfigwidget.h +++ b/kaddressbook/kcmconfigs/kabconfigwidget.h | |||
@@ -23,56 +23,54 @@ | |||
23 | 23 | ||
24 | #ifndef KABCONFIGWIDGET_H | 24 | #ifndef KABCONFIGWIDGET_H |
25 | #define KABCONFIGWIDGET_H | 25 | #define KABCONFIGWIDGET_H |
26 | 26 | ||
27 | #include <qwidget.h> | 27 | #include <qwidget.h> |
28 | 28 | ||
29 | class QCheckBox; | 29 | class QCheckBox; |
30 | class QListViewItem; | 30 | class QListViewItem; |
31 | class QPushButton; | 31 | class QPushButton; |
32 | class QComboBox; | 32 | class QComboBox; |
33 | class QLineEdit; | 33 | class QLineEdit; |
34 | class KListView; | 34 | class KListView; |
35 | class KABPrefs; | ||
35 | 36 | ||
36 | class AddresseeWidget; | 37 | class AddresseeWidget; |
37 | 38 | ||
38 | class KABConfigWidget : public QWidget | 39 | class KABConfigWidget : public QWidget |
39 | { | 40 | { |
40 | Q_OBJECT | 41 | Q_OBJECT |
41 | 42 | ||
42 | public: | 43 | public: |
43 | KABConfigWidget( QWidget *parent, const char *name = 0 ); | 44 | KABConfigWidget( QWidget *parent, const char *name = 0 ); |
44 | 45 | ||
45 | void restoreSettings(); | 46 | void restoreSettings(KABPrefs* prefs); |
46 | void saveSettings(); | 47 | void saveSettings(KABPrefs* prefs); |
47 | void defaults(); | 48 | void defaults(KABPrefs* prefs); |
48 | 49 | ||
49 | signals: | 50 | signals: |
50 | void changed( bool ); | 51 | void changed( bool ); |
51 | 52 | ||
52 | public slots: | 53 | public slots: |
53 | void modified(); | 54 | void modified(); |
54 | 55 | ||
55 | 56 | ||
56 | 57 | ||
57 | private slots: | 58 | private slots: |
58 | void configureExtension(); | 59 | void configureExtension(); |
59 | void selectionChanged( QListViewItem* ); | 60 | void selectionChanged( QListViewItem* ); |
60 | void itemClicked( QListViewItem* ); | 61 | void itemClicked( QListViewItem* ); |
61 | void emailclient_changed( int newClient ); | ||
62 | 62 | ||
63 | private: | 63 | private: |
64 | void restoreExtensionSettings(); | 64 | void restoreExtensionSettings(); |
65 | void saveExtensionSettings(); | 65 | void saveExtensionSettings(); |
66 | 66 | ||
67 | KListView *mExtensionView; | 67 | KListView *mExtensionView; |
68 | 68 | ||
69 | QCheckBox *mNameParsing; | 69 | QCheckBox *mNameParsing; |
70 | QCheckBox *mViewsSingleClickBox; | 70 | QCheckBox *mViewsSingleClickBox; |
71 | QPushButton *mConfigureButton; | 71 | QPushButton *mConfigureButton; |
72 | QComboBox* mEmailClient; | ||
73 | QLineEdit* mEmailChannel; | ||
74 | 72 | ||
75 | AddresseeWidget *mAddresseeWidget; | 73 | AddresseeWidget *mAddresseeWidget; |
76 | }; | 74 | }; |
77 | 75 | ||
78 | #endif | 76 | #endif |