diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/org/trinitydesktop/koala/KMimeSourceFactory.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KMimeSourceFactory.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KMimeSourceFactory.java | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KMimeSourceFactory.java b/tdejava/koala/org/trinitydesktop/koala/KMimeSourceFactory.java new file mode 100644 index 00000000..0e2534df --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KMimeSourceFactory.java @@ -0,0 +1,55 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.qt.TQMimeSourceFactory; + +/** + + An extension to TQMimeSourceFactory that uses TDEIconLoader to + find images. + Normally you don't have to instantiate this class at all, TDEApplication does that for + you automagically and sets TQMimeSourceFactory.setDefaultFactory(). + @author Peter Putzer <putzer@kde.org> + + @short An extension to TQMimeSourceFactory that uses TDEIconLoader to find images. + +*/ +public class KMimeSourceFactory extends TQMimeSourceFactory { + protected KMimeSourceFactory(Class dummy){super((Class) null);} + /** + Constructor. + @param loader is the iconloader used to find images. + @short Constructor. + */ + public KMimeSourceFactory(TDEIconLoader loader) { + super((Class) null); + newKMimeSourceFactory(loader); + } + private native void newKMimeSourceFactory(TDEIconLoader loader); + public KMimeSourceFactory() { + super((Class) null); + newKMimeSourceFactory(); + } + private native void newKMimeSourceFactory(); + /** + This function is maps an absolute or relative name for a resource to + the absolute one. + To load an icon, prepend the <code>category</code> name before the <code>icon</code> name, in the style + of \<category>|\<icon>. + Example: + <pre> "<img src=\"user|ksysv_start\"/>", "<img src="\desktop|trash\">", ... + </pre> + @param abs_or_rel_name is the absolute or relative pathname. + @param context is the path of the context object for the queried resource. Almost always empty. + @short This function is maps an absolute or relative name for a resource to the absolute one. + */ + public native String makeAbsolute(String abs_or_rel_name, String context); + /** 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(); +} |