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

import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;

public interface TDEBufferedIOSignals {
	/**
		 This signal gets sent whenever bytes are written from the buffer.
			@param nbytes the number of bytes sent.
		   		@short    This signal gets sent whenever bytes are written from the buffer.
	*/
	void bytesWritten(int nbytes);
	/**
		 This signal gets sent when the stream is closed. The <code>state</code> parameter
		 will give the current state, in OR-ed bits:

			<li>
			availRead:	read buffer contains data to be read
			</li>

			<li>
			dirtyWrite:	write buffer wasn't empty when the stream closed
			</li>

			<li>
			involuntary:	the stream wasn't closed due to user request
						(i.e., call to close). Probably remote end closed it
			</li>

			<li>
			delayed:	the stream was closed voluntarily by the user, but it
						happened only after the write buffer was emptied
			</li>

			<li>
			closedNow:	the stream was closed voluntarily by the user, by
						explicitly calling closeNow, which means the
						write buffer's contents may have been discarded
			</li>
				@param state the state (see function description)
		   		@short    This signal gets sent when the stream is closed.
	*/
	void closed(int state);
}
