.TH "KIO::DataSlave" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KIO::DataSlave \- This class provides a high performance implementation for the data url scheme (rfc2397).  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <dataslave.h>\fP
.PP
Inherits KIO::Slave.
.PP
Inherited by \fBKIO::DataProtocol\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBsetHost\fP (const \fBQString\fP &host, int port, const \fBQString\fP &user, const \fBQString\fP &passwd)"
.br
.ti -1c
.RI "virtual void \fBsetConfig\fP (const \fBMetaData\fP &config)"
.br
.ti -1c
.RI "virtual void \fBsuspend\fP ()"
.br
.ti -1c
.RI "virtual void \fBresume\fP ()"
.br
.ti -1c
.RI "virtual bool \fBsuspended\fP ()"
.br
.ti -1c
.RI "virtual void \fBsend\fP (int cmd, const \fBQByteArray\fP &arr=\fBQByteArray\fP())"
.br
.ti -1c
.RI "virtual void \fBhold\fP (const \fBKURL\fP &url)"
.br
.ti -1c
.RI "virtual void \fBget\fP (const \fBKURL\fP &url)=0"
.br
.ti -1c
.RI "virtual void \fBmimetype\fP (const \fBKURL\fP &url)=0"
.br
.in -1c
.SS "Protected Types"

.in +1c
.ti -1c
.RI "typedef \fBQValueList\fP< \fBQueueStruct\fP > \fBDispatchQueue\fP"
.br
.ti -1c
.RI "enum \fBQueueType\fP { \fBQueue_mimeType\fP =  1, \fBQueue_totalSize\fP, \fBQueue_sendMetaData\fP, \fBQueue_data\fP, \fBQueue_finished\fP }"
.br
.in -1c
.SS "Protected Slots"

.in +1c
.ti -1c
.RI "void \fBdispatchNext\fP ()"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBsetAllMetaData\fP (const \fBMetaData\fP &)"
.br
.ti -1c
.RI "void \fBsendMetaData\fP ()"
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "\fBDispatchQueue\fP \fBdispatchQueue\fP"
.br
.in -1c
.SS "Classes"

.in +1c
.ti -1c
.RI "struct \fBQueueStruct\fP"
.br
.RI "\fIstructure for queueing. \fP"
.in -1c
.SH "Detailed Description"
.PP 
This class provides a high performance implementation for the data url scheme (rfc2397). 
.PP
Definition at line 49 of file dataslave.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBKIO::DataSlave::QueueType\fP\fC [protected]\fP"
.PP
identifiers of functions to be queued 
.PP
Definition at line 85 of file dataslave.h.
.SH "Member Function Documentation"
.PP 
.SS "void DataSlave::setAllMetaData (const \fBMetaData\fP &)\fC [protected]\fP"
.PP
Sets metadata. 
.PP
Definition at line 163 of file dataslave.cpp.
.SS "void DataSlave::sendMetaData ()\fC [protected]\fP"
.PP
Sends metadata set with setAllMetaData. 
.PP
Definition at line 167 of file dataslave.cpp.
.PP
Referenced by dispatchNext().
.SS "void DataSlave::dispatchNext ()\fC [protected, slot]\fP"
.PP
dispatches next queued method. 
.PP
Does nothing if there are no queued methods.
.PP
Definition at line 99 of file dataslave.cpp.
.PP
References KIO::DataSlave::QueueStruct::ba, QValueList::empty(), QValueList::front(), QValueList::pop_front(), KIO::DataSlave::QueueStruct::s, sendMetaData(), KIO::DataSlave::QueueStruct::size, QTimer::stop(), and KIO::DataSlave::QueueStruct::type.

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
