kitchensync Library API Documentation

Threaded::ClientThread Class Reference

Client Thread. More...

#include <clientthread.h>

Inheritance diagram for Threaded::ClientThread:

Inheritance graph
[legend]
Collaboration diagram for Threaded::ClientThread:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { TerminatedEvent = 46666, FinishedEvent = TerminatedEvent+1, ErrorEvent = TerminatedEvent+2, ProgressEvent = TerminatedEvent+3 }
enum  Command {
  Connect, Disconnect, ReadSyncees, WriteSyncees,
  TerminateThread
}

Public Member Functions

 ClientThread (QObject *)
 ~ClientThread ()
void run ()

Friends

class ClientManager

Detailed Description

Client Thread.

The Worker OBEX client thread. Note that this QObject is only accessed from the client thread. It is used to report events from the working thread. This QObject will be the parent of all QObjects in the working thread. It is in no way connected to the QObject in the main thread.

Definition at line 44 of file clientthread.h.


Member Enumeration Documentation

anonymous enum
 

Event numbers for the custom event.

Definition at line 51 of file clientthread.h.

enum Threaded::ClientThread::Command
 

Possible commands for the worker.

Definition at line 59 of file clientthread.h.


Constructor & Destructor Documentation

ClientThread::ClientThread QObject  ) 
 

Constructor.

Definition at line 38 of file clientthread.cpp.

ClientThread::~ClientThread  ) 
 

Destructor.

Definition at line 48 of file clientthread.cpp.


Member Function Documentation

void ClientThread::run  ) 
 

Worker function of QThread.

It runs the requests and posts events.

Definition at line 56 of file clientthread.cpp.


Friends And Related Function Documentation

friend class ClientManager [friend]
 

The class has to access several private variables.

Definition at line 125 of file clientthread.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Aug 23 18:20:25 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003