summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QUrlOperator.java
blob: 495ccc78dd29a011dacc28233f8f762dfbb7da26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link QUrlOperatorSignals} for signals emitted by QUrlOperator
*/
public class QUrlOperator extends QObject implements QUrlInterface {
	protected QUrlOperator(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public QUrlOperator() {
		super((Class) null);
		newQUrlOperator();
	}
	private native void newQUrlOperator();
	public QUrlOperator(String urL) {
		super((Class) null);
		newQUrlOperator(urL);
	}
	private native void newQUrlOperator(String urL);
	public QUrlOperator(QUrlOperator url) {
		super((Class) null);
		newQUrlOperator(url);
	}
	private native void newQUrlOperator(QUrlOperator url);
	public QUrlOperator(QUrlOperator url, String relUrl, boolean checkSlash) {
		super((Class) null);
		newQUrlOperator(url,relUrl,checkSlash);
	}
	private native void newQUrlOperator(QUrlOperator url, String relUrl, boolean checkSlash);
	public QUrlOperator(QUrlOperator url, String relUrl) {
		super((Class) null);
		newQUrlOperator(url,relUrl);
	}
	private native void newQUrlOperator(QUrlOperator url, String relUrl);
	public native void setPath(String path);
	public native boolean cdUp();
	public native QNetworkOperation listChildren();
	public native QNetworkOperation mkdir(String dirname);
	public native QNetworkOperation remove(String filename);
	public native QNetworkOperation rename(String oldname, String newname);
	public native QNetworkOperation get(String location);
	public native QNetworkOperation get();
	public native QNetworkOperation put(byte[] data, String location);
	public native QNetworkOperation put(byte[] data);
	// QPtrList<QNetworkOperation> copy(const QString& arg1,const QString& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED
	// QPtrList<QNetworkOperation> copy(const QString& arg1,const QString& arg2,bool arg3); >>>> NOT CONVERTED
	// QPtrList<QNetworkOperation> copy(const QString& arg1,const QString& arg2); >>>> NOT CONVERTED
	public native void copy(String[] files, String dest, boolean move);
	public native void copy(String[] files, String dest);
	public native boolean isDir(boolean[] ok);
	public native boolean isDir();
	public native void setNameFilter(String nameFilter);
	public native String nameFilter();
	public native QUrlInfo info(String entry);
	public native void stop();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void reset();
	protected native boolean parse(String url);
	protected native boolean checkValid();
	protected native void clearEntries();
	protected native void getNetworkProtocol();
	protected native void deleteNetworkProtocol();
	/** 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();
	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 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 static native void decode(StringBuffer url);
	public static native void encode(StringBuffer url);
	public static native boolean isRelativeUrl(String url);
}