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/kcmconfigs/addresseewidget.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/kcmconfigs/addresseewidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/kcmconfigs/addresseewidget.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/kcmconfigs/addresseewidget.h b/kaddressbook/kcmconfigs/addresseewidget.h index 09330c8..f2a95a8 100644 --- a/kaddressbook/kcmconfigs/addresseewidget.h +++ b/kaddressbook/kcmconfigs/addresseewidget.h | |||
@@ -16,62 +16,62 @@ | |||
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 | 23 | ||
24 | #ifndef ADDRESSEEWIDGET_H | 24 | #ifndef ADDRESSEEWIDGET_H |
25 | #define ADDRESSEEWIDGET_H | 25 | #define ADDRESSEEWIDGET_H |
26 | 26 | ||
27 | #include <qwidget.h> | 27 | #include <qwidget.h> |
28 | 28 | ||
29 | class KComboBox; | 29 | class KComboBox; |
30 | class KLineEdit; | 30 | class KLineEdit; |
31 | 31 | ||
32 | class QListBox; | 32 | class Q3ListBox; |
33 | class QListBoxItem; | 33 | class Q3ListBoxItem; |
34 | class QPushButton; | 34 | class QPushButton; |
35 | 35 | ||
36 | class NamePartWidget : public QWidget | 36 | class NamePartWidget : public QWidget |
37 | { | 37 | { |
38 | Q_OBJECT | 38 | Q_OBJECT |
39 | 39 | ||
40 | public: | 40 | public: |
41 | NamePartWidget( const QString &title, QWidget *parent, | 41 | NamePartWidget( const QString &title, QWidget *parent, |
42 | const char *name = 0 ); | 42 | const char *name = 0 ); |
43 | ~NamePartWidget(); | 43 | ~NamePartWidget(); |
44 | 44 | ||
45 | void setNameParts( const QStringList &list ); | 45 | void setNameParts( const QStringList &list ); |
46 | QStringList nameParts() const; | 46 | QStringList nameParts() const; |
47 | 47 | ||
48 | signals: | 48 | signals: |
49 | void modified(); | 49 | void modified(); |
50 | 50 | ||
51 | private slots: | 51 | private slots: |
52 | void add(); | 52 | void add(); |
53 | void remove(); | 53 | void remove(); |
54 | 54 | ||
55 | void selectionChanged( QListBoxItem* ); | 55 | void selectionChanged( Q3ListBoxItem* ); |
56 | void textChanged( const QString& ); | 56 | void textChanged( const QString& ); |
57 | 57 | ||
58 | private: | 58 | private: |
59 | KLineEdit *mEdit; | 59 | KLineEdit *mEdit; |
60 | 60 | ||
61 | QListBox *mBox; | 61 | Q3ListBox *mBox; |
62 | QPushButton *mAddButton; | 62 | QPushButton *mAddButton; |
63 | QPushButton *mRemoveButton; | 63 | QPushButton *mRemoveButton; |
64 | }; | 64 | }; |
65 | 65 | ||
66 | class AddresseeWidget : public QWidget | 66 | class AddresseeWidget : public QWidget |
67 | { | 67 | { |
68 | Q_OBJECT | 68 | Q_OBJECT |
69 | 69 | ||
70 | public: | 70 | public: |
71 | AddresseeWidget( QWidget *parent, const char *name = 0 ); | 71 | AddresseeWidget( QWidget *parent, const char *name = 0 ); |
72 | ~AddresseeWidget(); | 72 | ~AddresseeWidget(); |
73 | 73 | ||
74 | void restoreSettings(); | 74 | void restoreSettings(); |
75 | void saveSettings(); | 75 | void saveSettings(); |
76 | 76 | ||
77 | signals: | 77 | signals: |