//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

/**
 See {@link TQUrlOperatorSignals} for signals emitted by TQUrlOperator
*/
public class TQUrlOperator extends TQObject implements TQUrlInterface {
	protected TQUrlOperator(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQUrlOperator() {
		super((Class) null);
		newTQUrlOperator();
	}
	private native void newTQUrlOperator();
	public TQUrlOperator(String urL) {
		super((Class) null);
		newTQUrlOperator(urL);
	}
	private native void newTQUrlOperator(String urL);
	public TQUrlOperator(TQUrlOperator url) {
		super((Class) null);
		newTQUrlOperator(url);
	}
	private native void newTQUrlOperator(TQUrlOperator url);
	public TQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash) {
		super((Class) null);
		newTQUrlOperator(url,relUrl,checkSlash);
	}
	private native void newTQUrlOperator(TQUrlOperator url, String relUrl, boolean checkSlash);
	public TQUrlOperator(TQUrlOperator url, String relUrl) {
		super((Class) null);
		newTQUrlOperator(url,relUrl);
	}
	private native void newTQUrlOperator(TQUrlOperator url, String relUrl);
	public native void setPath(String path);
	public native boolean cdUp();
	public native TQNetworkOperation listChildren();
	public native TQNetworkOperation mkdir(String dirname);
	public native TQNetworkOperation remove(String filename);
	public native TQNetworkOperation rename(String oldname, String newname);
	public native TQNetworkOperation get(String location);
	public native TQNetworkOperation get();
	public native TQNetworkOperation put(byte[] data, String location);
	public native TQNetworkOperation put(byte[] data);
	// TQPtrList<TQNetworkOperation> copy(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4); >>>> NOT CONVERTED
	// TQPtrList<TQNetworkOperation> copy(const TQString& arg1,const TQString& arg2,bool arg3); >>>> NOT CONVERTED
	// TQPtrList<TQNetworkOperation> copy(const TQString& arg1,const TQString& 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 TQUrlInfo 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(TQUrlInterface 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);
}
