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

import org.trinitydesktop.qt.TQt;

public class TQNetworkOperation extends TQObject  {
	protected TQNetworkOperation(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQNetworkOperation(int operation, String arg0, String arg1, String arg2) {
		super((Class) null);
		newTQNetworkOperation(operation,arg0,arg1,arg2);
	}
	private native void newTQNetworkOperation(int operation, String arg0, String arg1, String arg2);
	public TQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2) {
		super((Class) null);
		newTQNetworkOperation(operation,arg0,arg1,arg2);
	}
	private native void newTQNetworkOperation(int operation, byte[] arg0, byte[] arg1, byte[] arg2);
	public native void setState(int state);
	public native void setProtocolDetail(String detail);
	public native void setErrorCode(int ec);
	public native void setArg(int num, String arg);
	public native void setRawArg(int num, byte[] arg);
	public native int operation();
	public native int state();
	public native String arg(int num);
	public native byte[] rawArg(int num);
	public native String protocolDetail();
	public native int errorCode();
	public native void free();
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	/** 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();
}
