diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /kdejava/koala/org/kde/koala/KFileFilterCombo.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdejava/koala/org/kde/koala/KFileFilterCombo.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KFileFilterCombo.java | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KFileFilterCombo.java b/kdejava/koala/org/kde/koala/KFileFilterCombo.java new file mode 100644 index 00000000..9b54c41b --- /dev/null +++ b/kdejava/koala/org/kde/koala/KFileFilterCombo.java @@ -0,0 +1,84 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.QObject; +import org.kde.qt.QEvent; +import org.kde.qt.QWidget; + +/** + See {@link KFileFilterComboSignals} for signals emitted by KFileFilterCombo +*/ +public class KFileFilterCombo extends KComboBox { + protected KFileFilterCombo(Class dummy){super((Class) null);} + public native QMetaObject metaObject(); + public native String className(); + public KFileFilterCombo(QWidget parent, String name) { + super((Class) null); + newKFileFilterCombo(parent,name); + } + private native void newKFileFilterCombo(QWidget parent, String name); + public KFileFilterCombo(QWidget parent) { + super((Class) null); + newKFileFilterCombo(parent); + } + private native void newKFileFilterCombo(QWidget 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(QObject o, QEvent 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(); +} |