org.kde.koala
public class KFileFilterCombo extends KComboBox
Constructor Summary | |
---|---|
protected | KFileFilterCombo(Class dummy) |
KFileFilterCombo(QWidget parent, String name) | |
KFileFilterCombo(QWidget parent) | |
KFileFilterCombo() |
Method Summary | |
---|---|
String | className() |
String | currentFilter() |
String | defaultFilter() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
boolean | eventFilter(QObject o, QEvent e) |
protected void | finalize() Deletes the wrapped C++ instance |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
void | setCurrentFilter(String filter)
Sets the current filter. |
void | setDefaultFilter(String filter)
This method allows you to set a default-filter, that is used when an
empty filter is set. |
void | setFilter(String filter) |
void | setMimeFilter(String[] types, String defaultType)
Sets a list of mimetypes.
|
boolean | showsAllTypes() |
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.
UNKNOWN:
UNKNOWN: Sets the current filter.
See Also: KFileFilterCombo
UNKNOWN: This method allows you to set a default-filter, that is used when an empty filter is set.
defaultType
is set, it will be set as the current item.
Otherwise, a first item showing all the mimetypes will be created.UNKNOWN: Sets a list of mimetypes.
Returns: true if the filter's first item is the list of all mimetypes
UNKNOWN: