|
|
| KFileFilterCombo (QWidget *parent= 0, const char *name= 0)
| KFileFilterCombo |
| ~KFileFilterCombo ()
| ~KFileFilterCombo |
| void setFilter (const QString& filter)
| setFilter |
| QString currentFilter ()
| currentFilter |
[const]
Returns: the current filter, either something like "*.cpp *.h" or the current mimetype, like "text/html", or a list of those, like " "text/html text/plain image/png", all separated with one space.
| void setMimeFilter ( const QStringList& types, const QString& defaultType )
| setMimeFilter |
Sets a list of mimetypes.
If defaultType is set, it will be set as the current item.
Otherwise, a first item showing all the mimetypes will be created.
| bool showsAllTypes ()
| showsAllTypes |
[const]
Returns: true if the filter's first item is the list of all mimetypes
| void setDefaultFilter ( const QString& filter )
| setDefaultFilter |
This method allows you to set a default-filter, that is used when an empty filter is set. Make sure you call this before calling setFilter().
By default, this is set to i18n("*|All Files")
See also: defaultFilter
| QString defaultFilter ()
| defaultFilter |
[const]
Returns: the default filter, used when an empty filter is set.
See also: setDefaultFilter
| bool eventFilter ( QObject *o, QEvent *e )
| eventFilter |
[protected virtual]
Reimplemented from KComboBox.
| QStringList filters | filters |
[protected]
| bool m_allTypes | m_allTypes |
[protected]
| void filterChanged ()
| filterChanged |
[signal]
| void virtual_hook ( int id, void* data )
| virtual_hook |
[protected virtual]
Reimplemented from KComboBox.
| Generated by: dfaure on faure on Tue Apr 16 08:50:13 2002, using kdoc 2.0a53. |