Changeset View
Changeset View
Standalone View
Standalone View
src/kcompletionbox.h
Show First 20 Lines • Show All 202 Lines • ▼ Show 20 Line(s) | |||||
203 | protected: | 203 | protected: | ||
204 | /** | 204 | /** | ||
205 | * This calculates the size of the dropdown and the relative position of the top | 205 | * This calculates the size of the dropdown and the relative position of the top | ||
206 | * left corner with respect to the parent widget. This matches the geometry and position | 206 | * left corner with respect to the parent widget. This matches the geometry and position | ||
207 | * normally used by K/QComboBox when used with one. | 207 | * normally used by K/QComboBox when used with one. | ||
208 | */ | 208 | */ | ||
209 | QRect calculateGeometry() const; | 209 | QRect calculateGeometry() const; | ||
210 | 210 | | |||
211 | #if KCOMPLETION_ENABLE_DEPRECATED_SINCE(5, 0) | ||||
211 | /** | 212 | /** | ||
212 | * @deprecated since 5.0, use resizeAndReposition instead. | 213 | * @deprecated since 5.0, use resizeAndReposition instead. | ||
213 | */ | 214 | */ | ||
214 | #ifndef KCOMPLETION_NO_DEPRECATED | 215 | KCOMPLETION_DEPRECATED_VERSION(5, 0, "Use KCompletionBox::resizeAndReposition()") | ||
215 | KCOMPLETION_DEPRECATED void sizeAndPosition() | 216 | void sizeAndPosition() | ||
216 | { | 217 | { | ||
217 | resizeAndReposition(); | 218 | resizeAndReposition(); | ||
218 | } | 219 | } | ||
219 | #endif | 220 | #endif | ||
220 | 221 | | |||
221 | /** | 222 | /** | ||
222 | * This properly resizes and repositions the listbox. | 223 | * This properly resizes and repositions the listbox. | ||
223 | * | 224 | * | ||
Show All 30 Lines |