You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
2.8 KiB
80 lines
2.8 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.qt;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.Qt;
|
||
15 years ago
|
|
||
13 years ago
|
public class TQUrl implements QtSupport, TQUrlInterface {
|
||
15 years ago
|
private long _qt;
|
||
|
private boolean _allocatedInJavaWorld = true;
|
||
13 years ago
|
protected TQUrl(Class dummy){}
|
||
15 years ago
|
|
||
13 years ago
|
public TQUrl() {
|
||
|
newTQUrl();
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQUrl();
|
||
|
public TQUrl(String url) {
|
||
|
newTQUrl(url);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQUrl(String url);
|
||
|
public TQUrl(TQUrlInterface url) {
|
||
|
newTQUrl(url);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQUrl(TQUrlInterface url);
|
||
|
public TQUrl(TQUrlInterface url, String relUrl, boolean checkSlash) {
|
||
|
newTQUrl(url,relUrl,checkSlash);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQUrl(TQUrlInterface url, String relUrl, boolean checkSlash);
|
||
|
public TQUrl(TQUrlInterface url, String relUrl) {
|
||
|
newTQUrl(url,relUrl);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQUrl(TQUrlInterface url, String relUrl);
|
||
15 years ago
|
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();
|
||
13 years ago
|
public native boolean op_equals(TQUrlInterface url);
|
||
15 years ago
|
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();
|
||
|
}
|