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/KMimeMagicResult.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/KMimeMagicResult.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KMimeMagicResult.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KMimeMagicResult.java b/tdejava/koala/org/trinitydesktop/koala/KMimeMagicResult.java new file mode 100644 index 00000000..e8e8ddfa --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KMimeMagicResult.java @@ -0,0 +1,49 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.QtSupport; + +/** + + May be removed in KDE 4.0. + Returned by KMimeMagic <code>find...Type</code> methods. + It contains the mimetype and the encoding of + the file or buffer read. + @short + +*/ +public class KMimeMagicResult implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected KMimeMagicResult(Class dummy){} + + public KMimeMagicResult() { + newKMimeMagicResult(); + } + private native void newKMimeMagicResult(); + /** + Retrieve the mimetype (e.g. "text/html") of the file or buffer parsed. + @short Retrieve the mimetype (e. + */ + public native String mimeType(); + /** + Retrieve the accuracy of the matching. + @short Retrieve the accuracy of the matching. + */ + public native int accuracy(); + /** + Returns whether the result is valid (i.e. mimetype not empty). + @short Returns whether the result is valid (i. + */ + public native boolean isValid(); + public native void setMimeType(String _mime); + public native void setAccuracy(int _accuracy); + public native void setInvalid(); + /** 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(); +} |