Kross
#include <form.h>
The FormFileWidget class provides access to a KFileWidget.
Definition at line 55 of file form.h.
FormFileWidget::FormFileWidget |
( |
QWidget * |
parent, |
|
|
const QString & |
startDirOrVariable |
|
) |
| |
FormFileWidget::~FormFileWidget |
( |
| ) |
|
|
virtual |
QString FormFileWidget::currentFilter |
( |
| ) |
const |
|
slot |
- Returns
- the current filter.
Definition at line 151 of file form.cpp.
QString FormFileWidget::currentMimeFilter |
( |
| ) |
const |
|
slot |
- Returns
- the current mimetype filter.
Definition at line 163 of file form.cpp.
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 |
- Returns
- the currently selected file.
Definition at line 179 of file form.cpp.
void Kross::FormFileWidget::selectionChanged |
( |
| ) |
|
|
signal |
Emitted when the user hilights one or more files in multiselection mode.
void FormFileWidget::setFilter |
( |
const QString & |
filter | ) |
|
|
slot |
Set the filter to filter
.
Definition at line 156 of file form.cpp.
void FormFileWidget::setMimeFilter |
( |
const QStringList & |
filter | ) |
|
|
slot |
Set the mimetype filter to filter
.
Definition at line 168 of file form.cpp.
void FormFileWidget::setMode |
( |
const QString & |
mode | ) |
|
|
slot |
Set the Mode the FormFileWidget should have to mode
.
Valid modes are "Other", "Opening" or "Saving".
Definition at line 144 of file form.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:54 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.