You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
46 lines
1.3 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
|
package org.kde.koala;
|
||
|
|
||
|
import org.kde.qt.QMetaObject;
|
||
|
import org.kde.qt.QtSupport;
|
||
|
|
||
|
public interface KBufferedIOSignals {
|
||
|
/**
|
||
|
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);
|
||
|
}
|