Kross
Kross::FormFileWidget Class Reference
#include <form.h>
Inheritance diagram for Kross::FormFileWidget:

Detailed Description
The FormFileWidget class provides access to a KFileWidget.Definition at line 34 of file form.h.
Public Types | |
| enum | Mode { Other = 0, Opening, Saving } |
Public Slots | |
| void | setMode (const QString &mode) |
| QString | currentFilter () const |
| void | setFilter (const QString &filter) |
| QString | currentMimeFilter () const |
| void | setMimeFilter (const QStringList &filter) |
| QString | selectedFile () const |
Signals | |
| void | fileSelected (const QString &file) |
| void | fileHighlighted (const QString &) |
| void | selectionChanged () |
| void | filterChanged (const QString &filter) |
Public Member Functions | |
| FormFileWidget (QWidget *parent, const QString &startDirOrVariable) | |
| virtual | ~FormFileWidget () |
Member Enumeration Documentation
The Mode the FormFileWidget could have.
Constructor & Destructor Documentation
Member Function Documentation
| void FormFileWidget::setMode | ( | const QString & | mode | ) | [slot] |
Set the Mode the FormFileWidget should have to mode .
Valid modes are "Other", "Opening" or "Saving".
| QString FormFileWidget::currentFilter | ( | ) | const [slot] |
| void FormFileWidget::setFilter | ( | const QString & | filter | ) | [slot] |
| QString FormFileWidget::currentMimeFilter | ( | ) | const [slot] |
| void FormFileWidget::setMimeFilter | ( | const QStringList & | filter | ) | [slot] |
| QString FormFileWidget::selectedFile | ( | ) | const [slot] |
| void Kross::FormFileWidget::fileSelected | ( | const QString & | file | ) | [signal] |
Emitted when the user selects a file.
It is only emitted in single- selection mode.
| void Kross::FormFileWidget::fileHighlighted | ( | const QString & | ) | [signal] |
Emitted when the user highlights a file.
| void Kross::FormFileWidget::selectionChanged | ( | ) | [signal] |
Emitted when the user hilights one or more files in multiselection mode.
| void Kross::FormFileWidget::filterChanged | ( | const QString & | filter | ) | [signal] |
Emitted when the filter changed, i.e.
the user entered an own filter or chose one of the predefined set via setFilter().
The documentation for this class was generated from the following files:
KDE 4.0 API Reference