Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SlaveReciever Class Reference

#include </home/clem/local/src/opie/noncore/graphics/opie-eye/slave/slavereciever.h>

Collaboration diagram for SlaveReciever:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Job { ImageInfoJob, FullImageInfoJob, ThumbNailJob }

Public Slots

void recieveAnswer (const QCString &, const QByteArray &)

Public Member Functions

 SlaveReciever (QObject *parent)
 ~SlaveReciever ()
PixmapList outPix () const
StringList outInf () const

Private Slots

void slotSend ()
void slotImageInfo ()
void slotThumbNail ()

Private Attributes

QTimer * m_inf
QTimer * m_pix
QTimer * m_out
StringList m_inList
StringList m_outList
PixmapList m_inPix
PixmapList m_outPix
int m_refs

Friends

QDataStreamoperator<< (QDataStream &, const PixmapInfo &)
QDataStreamoperator>> (QDataStream &, PixmapInfo &)
QDataStreamoperator<< (QDataStream &, const ImageInfo &)
QDataStreamoperator>> (QDataStream &, ImageInfo)

Member Enumeration Documentation

enum SlaveReciever::Job
 

Enumeration values:
ImageInfoJob 
FullImageInfoJob 
ThumbNailJob 

Definition at line 37 of file slavereciever.h.


Constructor & Destructor Documentation

SlaveReciever::SlaveReciever QObject *  parent  ) 
 

Definition at line 62 of file slavereciever.cpp.

References QMap< Key, T >::begin(), QMap< Key, T >::end(), QMap< Key, T >::insert(), m_inf, m_out, m_pix, slaveMap(), slaveObjects(), slotImageInfo(), slotSend(), and slotThumbNail().

SlaveReciever::~SlaveReciever  ) 
 

Definition at line 84 of file slavereciever.cpp.


Member Function Documentation

StringList SlaveReciever::outInf  )  const
 

Definition at line 147 of file slavereciever.cpp.

References m_outList.

Referenced by slotSend().

PixmapList SlaveReciever::outPix  )  const
 

Definition at line 143 of file slavereciever.cpp.

References m_outPix.

Referenced by slotSend().

void SlaveReciever::recieveAnswer const QCString ,
const QByteArray
[slot]
 

Definition at line 87 of file slavereciever.cpp.

References QValueList< T >::append(), stream::end, PixmapInfo::file, ImageInfo::file, PixmapInfo::height, inf(), IO_ReadOnly, QValueList< T >::isEmpty(), ImageInfo::kind, list, m_inf, m_inList, m_inPix, m_pix, m_refs, pix, qApp, QPEApplication::setKeepRunning(), stream, and PixmapInfo::width.

void SlaveReciever::slotImageInfo  )  [private, slot]
 

Definition at line 151 of file slavereciever.cpp.

References QValueList< T >::append(), QMap< Key, T >::begin(), QMap< Key, T >::end(), ImageInfo::file, QValueList< T >::first(), inf(), ImageInfo::info, QValueList< T >::isEmpty(), ImageInfo::kind, m_inf, m_inList, m_out, m_outList, QValueList< T >::remove(), and slaveObjects().

Referenced by SlaveReciever().

void SlaveReciever::slotSend  )  [private, slot]
 

Definition at line 205 of file slavereciever.cpp.

References QValueList< T >::begin(), QValueList< T >::clear(), QValueList< T >::end(), QValueList< T >::isEmpty(), m_out, m_outList, m_outPix, oendl, outInf(), outPix(), and owarn.

Referenced by SlaveReciever().

void SlaveReciever::slotThumbNail  )  [private, slot]
 

Definition at line 175 of file slavereciever.cpp.

References QValueList< T >::append(), QMap< Key, T >::begin(), QMap< Key, T >::end(), PixmapInfo::file, QValueList< T >::first(), PixmapInfo::height, inf(), QValueList< T >::isEmpty(), m_inPix, m_out, m_outPix, m_pix, owarn, SlaveInterface::pixmap(), PixmapInfo::pixmap, QValueList< T >::remove(), slaveObjects(), SlaveInterface::supports(), and PixmapInfo::width.

Referenced by SlaveReciever().


Friends And Related Function Documentation

QDataStream& operator<< QDataStream s,
const ImageInfo i
[friend]
 

Definition at line 37 of file slavemaster.cpp.

QDataStream& operator<< QDataStream s,
const PixmapInfo inf
[friend]
 

Definition at line 1229 of file launcherview.cpp.

QDataStream& operator>> QDataStream ,
ImageInfo 
[friend]
 

QDataStream& operator>> QDataStream s,
PixmapInfo inf
[friend]
 

Definition at line 1224 of file launcherview.cpp.


Member Data Documentation

QTimer* SlaveReciever::m_inf [private]
 

Definition at line 52 of file slavereciever.h.

Referenced by recieveAnswer(), SlaveReciever(), and slotImageInfo().

StringList SlaveReciever::m_inList [private]
 

Definition at line 53 of file slavereciever.h.

Referenced by recieveAnswer(), and slotImageInfo().

PixmapList SlaveReciever::m_inPix [private]
 

Definition at line 54 of file slavereciever.h.

Referenced by recieveAnswer(), and slotThumbNail().

QTimer * SlaveReciever::m_out [private]
 

Definition at line 52 of file slavereciever.h.

Referenced by SlaveReciever(), slotImageInfo(), slotSend(), and slotThumbNail().

StringList SlaveReciever::m_outList [private]
 

Definition at line 53 of file slavereciever.h.

Referenced by outInf(), slotImageInfo(), and slotSend().

PixmapList SlaveReciever::m_outPix [private]
 

Definition at line 54 of file slavereciever.h.

Referenced by outPix(), slotSend(), and slotThumbNail().

QTimer * SlaveReciever::m_pix [private]
 

Definition at line 52 of file slavereciever.h.

Referenced by recieveAnswer(), SlaveReciever(), and slotThumbNail().

int SlaveReciever::m_refs [private]
 

Definition at line 56 of file slavereciever.h.

Referenced by recieveAnswer().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:52:05 2005 for OPIE by  doxygen 1.4.2