Diffstat (limited to 'kaddressbook/jumpbuttonbar.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/jumpbuttonbar.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/kaddressbook/jumpbuttonbar.h b/kaddressbook/jumpbuttonbar.h index d534f2b..0589812 100644 --- a/kaddressbook/jumpbuttonbar.h +++ b/kaddressbook/jumpbuttonbar.h | |||
@@ -21,21 +21,24 @@ | |||
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 JUMPBUTTONBAR_H | 24 | #ifndef JUMPBUTTONBAR_H |
25 | #define JUMPBUTTONBAR_H | 25 | #define JUMPBUTTONBAR_H |
26 | 26 | ||
27 | #include <qsizepolicy.h> | 27 | #include <qsizepolicy.h> |
28 | #include <qwidget.h> | 28 | #include <qwidget.h> |
29 | #include <qptrlist.h> | 29 | #include <q3ptrlist.h> |
30 | #include <qstringlist.h> | 30 | #include <qstringlist.h> |
31 | //Added by qt3to4: | ||
32 | #include <QResizeEvent> | ||
33 | #include <Q3GridLayout> | ||
31 | 34 | ||
32 | class QChar; | 35 | class QChar; |
33 | class QGridLayout; | 36 | class Q3GridLayout; |
34 | class QResizeEvent; | 37 | class QResizeEvent; |
35 | class QPushButton; | 38 | class QPushButton; |
36 | class JumpButton; | 39 | class JumpButton; |
37 | 40 | ||
38 | namespace KABC { | 41 | namespace KABC { |
39 | class Field; | 42 | class Field; |
40 | } | 43 | } |
41 | 44 | ||
@@ -71,14 +74,14 @@ class JumpButtonBar : public QWidget | |||
71 | protected slots: | 74 | protected slots: |
72 | void letterClicked(); | 75 | void letterClicked(); |
73 | 76 | ||
74 | private: | 77 | private: |
75 | void sortListLocaleAware( QStringList &list ); | 78 | void sortListLocaleAware( QStringList &list ); |
76 | 79 | ||
77 | KABCore *mCore; | 80 | KABCore *mCore; |
78 | 81 | ||
79 | QGridLayout *mButtonLayout; | 82 | Q3GridLayout *mButtonLayout; |
80 | QStringList mCharacters; | 83 | QStringList mCharacters; |
81 | QPtrList<JumpButton> mButtons; | 84 | Q3PtrList<JumpButton> mButtons; |
82 | }; | 85 | }; |
83 | 86 | ||
84 | #endif | 87 | #endif |