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 /qtjava/javalib/org/kde/qt/QUrl.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 'qtjava/javalib/org/kde/qt/QUrl.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QUrl.java | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QUrl.java b/qtjava/javalib/org/kde/qt/QUrl.java new file mode 100644 index 00000000..0dd13f90 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QUrl.java @@ -0,0 +1,79 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QUrl implements QtSupport, QUrlInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected QUrl(Class dummy){} + + public QUrl() { + newQUrl(); + } + private native void newQUrl(); + public QUrl(String url) { + newQUrl(url); + } + private native void newQUrl(String url); + public QUrl(QUrlInterface url) { + newQUrl(url); + } + private native void newQUrl(QUrlInterface url); + public QUrl(QUrlInterface url, String relUrl, boolean checkSlash) { + newQUrl(url,relUrl,checkSlash); + } + private native void newQUrl(QUrlInterface url, String relUrl, boolean checkSlash); + public QUrl(QUrlInterface url, String relUrl) { + newQUrl(url,relUrl); + } + private native void newQUrl(QUrlInterface url, String relUrl); + public native String protocol(); + public native void setProtocol(String protocol); + public native String user(); + public native void setUser(String user); + public native boolean hasUser(); + public native String password(); + public native void setPassword(String pass); + public native boolean hasPassword(); + public native String host(); + public native void setHost(String user); + public native boolean hasHost(); + public native int port(); + public native void setPort(int port); + public native boolean hasPort(); + public native String path(boolean correct); + public native String path(); + public native void setPath(String path); + public native boolean hasPath(); + public native void setEncodedPathAndQuery(String enc); + public native String encodedPathAndQuery(); + public native void setQuery(String txt); + public native String query(); + public native String ref(); + public native void setRef(String txt); + public native boolean hasRef(); + public native boolean isValid(); + public native boolean isLocalFile(); + public native void addPath(String path); + public native void setFileName(String txt); + public native String fileName(); + public native String dirPath(); + public native boolean op_equals(QUrlInterface url); + public native boolean op_equals(String url); + public native String toString(boolean encodedPath, boolean forcePrependProtocol); + public native String toString(boolean encodedPath); + public native String toString(); + public native boolean cdUp(); + public static native void decode(StringBuffer url); + public static native void encode(StringBuffer url); + public static native boolean isRelativeUrl(String url); + protected native void reset(); + protected native boolean parse(String url); + /** 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(); +} |