Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kfilewidget.h
Show First 20 Lines • Show All 340 Lines • ▼ Show 20 Line(s) | 160 | #endif | |||
---|---|---|---|---|---|
341 | * Returns the mode of the filedialog. | 341 | * Returns the mode of the filedialog. | ||
342 | * @see setMode() | 342 | * @see setMode() | ||
343 | */ | 343 | */ | ||
344 | KFile::Modes mode() const; | 344 | KFile::Modes mode() const; | ||
345 | 345 | | |||
346 | /** | 346 | /** | ||
347 | * Sets the text to be displayed in front of the selection. | 347 | * Sets the text to be displayed in front of the selection. | ||
348 | * | 348 | * | ||
349 | * The default is "Location". | 349 | * The default is "Name". | ||
350 | * Most useful if you want to make clear what | 350 | * Most useful if you want to make clear what | ||
351 | * the location is used for. | 351 | * the location is used for. | ||
352 | */ | 352 | */ | ||
353 | void setLocationLabel(const QString &text); | 353 | void setLocationLabel(const QString &text); | ||
354 | 354 | | |||
355 | /** | 355 | /** | ||
356 | * Sets the text to be displayed in front of the selection. | ||||
357 | * | ||||
358 | * The default is "Filter". | ||||
359 | * Most useful if you want to change the text to something more appropriate | ||||
360 | * for each of the various modes that the filewidget can be created with | ||||
361 | */ | ||||
362 | void setFilterLabel(const QString &text); | ||||
rkflx: Needs `@since` and possibly `@param`.
This addition to the API might also be worth mentioning… | |||||
363 | | ||||
364 | /** | ||||
356 | * Returns a pointer to the toolbar. | 365 | * Returns a pointer to the toolbar. | ||
357 | * | 366 | * | ||
358 | */ | 367 | */ | ||
359 | KToolBar *toolBar() const; | 368 | KToolBar *toolBar() const; | ||
360 | 369 | | |||
361 | /** | 370 | /** | ||
362 | * @returns a pointer to the OK-Button in the filedialog. | 371 | * @returns a pointer to the OK-Button in the filedialog. | ||
363 | * Note that the button is hidden and unconnected when using KFileWidget alone; | 372 | * Note that the button is hidden and unconnected when using KFileWidget alone; | ||
▲ Show 20 Lines • Show All 254 Lines • Show Last 20 Lines |
Needs @since and possibly @param.
This addition to the API might also be worth mentioning in the commit message.