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 /microkde/keditlistbox.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | microkde/keditlistbox.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/microkde/keditlistbox.h b/microkde/keditlistbox.h index 130d933..e43d958 100644 --- a/microkde/keditlistbox.h +++ b/microkde/keditlistbox.h | |||
@@ -20,8 +20,10 @@ | |||
20 | #ifndef KEDITLISTBOX_H | 20 | #ifndef KEDITLISTBOX_H |
21 | #define KEDITLISTBOX_H | 21 | #define KEDITLISTBOX_H |
22 | 22 | ||
23 | #include <qgroupbox.h> | 23 | #include <q3groupbox.h> |
24 | #include <qlistbox.h> | 24 | #include <q3listbox.h> |
25 | //Added by qt3to4: | ||
26 | #include <Q3StrList> | ||
25 | 27 | ||
26 | class KLineEdit; | 28 | class KLineEdit; |
27 | class KComboBox; | 29 | class KComboBox; |
@@ -36,7 +38,7 @@ class KEditListBoxPrivate; | |||
36 | * items into the listbox and pushbuttons to add and remove | 38 | * items into the listbox and pushbuttons to add and remove |
37 | * items from the listbox and two buttons to move items up and down. | 39 | * items from the listbox and two buttons to move items up and down. |
38 | */ | 40 | */ |
39 | class KEditListBox : public QGroupBox | 41 | class KEditListBox : public Q3GroupBox |
40 | { | 42 | { |
41 | Q_OBJECT | 43 | Q_OBJECT |
42 | 44 | ||
@@ -126,7 +128,7 @@ public: | |||
126 | /** | 128 | /** |
127 | * Return a pointer to the embedded QListBox. | 129 | * Return a pointer to the embedded QListBox. |
128 | */ | 130 | */ |
129 | QListBox* listBox() const { return m_listBox; } | 131 | Q3ListBox* listBox() const { return m_listBox; } |
130 | /** | 132 | /** |
131 | * Return a pointer to the embedded QLineEdit. | 133 | * Return a pointer to the embedded QLineEdit. |
132 | */ | 134 | */ |
@@ -159,11 +161,11 @@ public: | |||
159 | /** | 161 | /** |
160 | * See @ref QListBox::insertStringList() | 162 | * See @ref QListBox::insertStringList() |
161 | */ | 163 | */ |
162 | void insertStrList(const QStrList* list, int index=-1); | 164 | void insertStrList(const Q3StrList* list, int index=-1); |
163 | /** | 165 | /** |
164 | * See @ref QListBox::insertStrList() | 166 | * See @ref QListBox::insertStrList() |
165 | */ | 167 | */ |
166 | void insertStrList(const QStrList& list, int index=-1); | 168 | void insertStrList(const Q3StrList& list, int index=-1); |
167 | /** | 169 | /** |
168 | * See @ref QListBox::insertStrList() | 170 | * See @ref QListBox::insertStrList() |
169 | */ | 171 | */ |
@@ -207,7 +209,7 @@ public: | |||
207 | void typedSomething(const QString& text); | 209 | void typedSomething(const QString& text); |
208 | 210 | ||
209 | private: | 211 | private: |
210 | QListBox *m_listBox; | 212 | Q3ListBox *m_listBox; |
211 | QPushButton *servUpButton, *servDownButton; | 213 | QPushButton *servUpButton, *servDownButton; |
212 | QPushButton *servNewButton, *servRemoveButton; | 214 | QPushButton *servNewButton, *servRemoveButton; |
213 | KLineEdit *m_lineEdit; | 215 | KLineEdit *m_lineEdit; |