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);
97 virtual void setclone(IWvStream *clone);
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(IWvStream *_cloned=NULL)
Constructs the stream, then calls setclone(_cloned).
virtual void execute()
The callback() function calls execute(), and then calls the user- specified callback if one is define...
the data structure used by pre_select()/post_select() and internally by select().