Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::FetchHTMLThread Class Reference

Thread to fetch a file over TCP network traffic. More...

#include <threads.h>

Inheritance diagram for VIEW::FetchHTMLThread:

VIEW::BALLThread List of all members.

Public Member Functions

void setURL (const String &text) throw ()
virtual void run ()
 Overloaded from QThread::run(), overload again in derived classes!
virtual void abort ()
void setFilename (const String &file_name)
const StringgetFilename () const
TCPTransfergetTCPTransfer ()
std::stringstream & getStream ()

Protected Attributes

String url_
String file_name_
TCPTransfer tcp_
std::stringstream stream_

Detailed Description

Thread to fetch a file over TCP network traffic.

The result can either be stored in a file or in a stringstream. This is the default, if no filename is given.