kitchensync Library API Documentation

Threaded::ClientThread Class Reference

Client Thread. More...

#include <clientthread.h>

Inheritance diagram for Threaded::ClientThread:

QObject 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 ()

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 reciver  ) 
 

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.


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.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:19:00 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003