/***************************************************************************
                            QNetworkOperation.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

/**
 See {@link QNetworkOperationSignals} for signals emitted by QNetworkOperation.

 See {@link QNetworkOperationEventHandling} for event handlers to override in subclasses of QNetworkOperation.

*/
public class QNetworkOperation extends QObject  {
	protected QNetworkOperation(Class dummy){super((Class) null);}

	private native void newQNetworkOperation( int operation, String arg0, String arg1, String arg2);
	public QNetworkOperation( int operation, String arg0, String arg1, String arg2) {
		super((Class) null);
		newQNetworkOperation( operation, arg0, arg1, arg2);
	}
	private native void newQNetworkOperation( int operation, byte[] arg0, byte[] arg1, byte[] arg2);
	public QNetworkOperation( int operation, byte[] arg0, byte[] arg1, byte[] arg2) {
		super((Class) null);
		newQNetworkOperation( operation, arg0, arg1, arg2);
	}
	protected native void finalize() throws InternalError;
	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();
}
