6#ifndef __WVQTSTREAMCLONE_H
7#define __WVQTSTREAMCLONE_H
11#include <qsocketnotifier.h>
13#include <qmetaobject.h>
14#include "wvstreamclone.h"
39 bool pending_callback;
41 bool select_in_progress;
43 QIntDict<QSocketNotifier> notify_readable;
44 QIntDict<QSocketNotifier> notify_writable;
45 QIntDict<QSocketNotifier> notify_exception;
70 void set_timeout(
int msec_timeout);
81 void qt_begin_event_loop_hook();
85 void select_timer_expired();
87 void fd_readable(
int fd);
89 void fd_writable(
int fd);
91 void fd_exception(
int fd);
94 virtual void execute();
Wraps another WvStream and attaches it to the normal Qt event loop.
WvQtStreamClone(IWvStream *_cloned=NULL, int msec_timeout=-1)
WvQtStreamClone takes ownership of the stream you give it just like WvStreamClone.
virtual void setclone(IWvStream *clone)
WvStreamClone takes ownership of the given stream; it will WVRELEASE() the stream when you setclone()...
WvStreamClone simply forwards all requests to the "cloned" stream.