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

slavemaster.h

Go to the documentation of this file.
00001 #ifndef OPIE_EYE_SLAVE_MASTER_H
00002 #define OPIE_EYE_SLAVE_MASTER_H
00003 
00004 #include <iface/dirlister.h>
00005 #include <iface/slaveiface.h>
00006 
00007 #include <qobject.h>
00008 #include <qstring.h>
00009 #include <qsize.h>
00010 
00011 namespace SlaveHelper {
00017 void slaveConnectSignals( QObject* );
00018 }
00019 
00020 
00021 class SlaveMaster : public QObject {
00022     Q_OBJECT
00023     typedef QValueList<ImageInfo> ImageInfos;
00024     typedef QValueList<PixmapInfo> PixmapInfos;
00025 public:
00026     static SlaveMaster *self();
00027 
00028     void thumbInfo( const QString& );
00029     void imageInfo( const QString& );
00030     void thumbNail( const QString&, int w, int h );
00031     QImage  image( const QString&, PDirLister::Factor, int );
00032 signals:
00033     void sig_start();
00034     void sig_end();
00035 
00036     void sig_thumbInfo( const QString&, const QString& );
00037     void sig_fullInfo( const QString&, const QString& );
00038     void sig_thumbNail( const QString&, const QPixmap& );
00039 private slots:
00040     void recieve( const QCString&, const QByteArray& );
00041     void slotTimerStart();
00042 private:
00043     SlaveMaster();
00044     ~SlaveMaster();
00045     static SlaveMaster *m_master;
00046     bool m_started : 1;
00047     QStringList m_inThumbInfo;
00048     QStringList m_inImageInfo;
00049     PixmapInfos m_inThumbNail;
00050 };
00051 
00052 
00053 #endif

Generated on Sat Nov 5 16:17:30 2005 for OPIE by  doxygen 1.4.2