Kross
Kross::FormFileWidget Class Reference
The FormFileWidget class provides access to a KFileWidget. More...
#include <form.h>
Inheritance diagram for Kross::FormFileWidget:

Public Types | |
enum | Mode { Other = 0, Opening, Saving } |
Public Slots | |
QString | currentFilter () const |
QString | currentMimeFilter () const |
QString | selectedFile () const |
void | setFilter (const QString &filter) |
void | setMimeFilter (const QStringList &filter) |
void | setMode (const QString &mode) |
Signals | |
void | fileHighlighted (const QString &) |
void | fileSelected (const QString &file) |
void | filterChanged (const QString &filter) |
void | selectionChanged () |
Public Member Functions | |
FormFileWidget (QWidget *parent, const QString &startDirOrVariable) | |
virtual | ~FormFileWidget () |
Detailed Description
The FormFileWidget class provides access to a KFileWidget.
Definition at line 55 of file form.h.
Member Enumeration Documentation
The Mode the FormFileWidget could have.
Constructor & Destructor Documentation
Member Function Documentation
QString FormFileWidget::currentFilter | ( | ) | const [slot] |
QString FormFileWidget::currentMimeFilter | ( | ) | const [slot] |
void Kross::FormFileWidget::fileHighlighted | ( | const QString & | ) | [signal] |
Emitted when the user highlights a file.
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::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().
QString FormFileWidget::selectedFile | ( | ) | const [slot] |
void Kross::FormFileWidget::selectionChanged | ( | ) | [signal] |
Emitted when the user hilights one or more files in multiselection mode.
void FormFileWidget::setFilter | ( | const QString & | filter | ) | [slot] |
void FormFileWidget::setMimeFilter | ( | const QStringList & | filter | ) | [slot] |
void FormFileWidget::setMode | ( | const QString & | mode | ) | [slot] |
Set the Mode the FormFileWidget should have to mode
.
Valid modes are "Other", "Opening" or "Saving".
The documentation for this class was generated from the following files: