1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQObject;
import org.kde.qt.TQEvent;
import org.kde.qt.TQWidget;
/**
See {@link KFileFilterComboSignals} for signals emitted by KFileFilterCombo
*/
public class KFileFilterCombo extends KComboBox {
protected KFileFilterCombo(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public KFileFilterCombo(TQWidget parent, String name) {
super((Class) null);
newKFileFilterCombo(parent,name);
}
private native void newKFileFilterCombo(TQWidget parent, String name);
public KFileFilterCombo(TQWidget parent) {
super((Class) null);
newKFileFilterCombo(parent);
}
private native void newKFileFilterCombo(TQWidget parent);
public KFileFilterCombo() {
super((Class) null);
newKFileFilterCombo();
}
private native void newKFileFilterCombo();
public native void setFilter(String filter);
/**
@return 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.
@short
*/
public native String currentFilter();
/**
Sets the current filter. Filter must match one of the filter items
passed before to this widget.
@short Sets the current filter.
*/
public native void setCurrentFilter(String filter);
/**
Sets a list of mimetypes.
If <code>defaultType</code> is set, it will be set as the current item.
Otherwise, a first item showing all the mimetypes will be created.
@short Sets a list of mimetypes.
*/
public native void setMimeFilter(String[] types, String defaultType);
/**
@return true if the filter's first item is the list of all mimetypes
@short
*/
public native boolean showsAllTypes();
/**
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")
@short This method allows you to set a default-filter, that is used when an empty filter is set.
@see #defaultFilter
*/
public native void setDefaultFilter(String filter);
/**
@return the default filter, used when an empty filter is set.
@short
@see #setDefaultFilter
*/
public native String defaultFilter();
public native boolean eventFilter(TQObject o, TQEvent e);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
}
|