From 428b687982966dc2efabaf6dbcc55ad0ea30aa10 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 22 Mar 2004 23:32:41 +0000 Subject: Initial Check in of the Eye Of Zilla. This ImageViewer features Image Infos, EXIF, Jpeg,Png,Gif support. It supports scaled loading of Jpegs. an smart image cache.... GUI needs some work and we need to find a bug in QCOP as well. TODO: Add Image Service for example Mailer Add ImageCanvas/Zoomer/Display --- (limited to 'noncore/graphics/opie-eye/lib/slavemaster.h') diff --git a/noncore/graphics/opie-eye/lib/slavemaster.h b/noncore/graphics/opie-eye/lib/slavemaster.h new file mode 100644 index 0000000..f5284a6 --- a/dev/null +++ b/noncore/graphics/opie-eye/lib/slavemaster.h @@ -0,0 +1,43 @@ +#ifndef OPIE_EYE_SLAVE_MASTER_H +#define OPIE_EYE_SLAVE_MASTER_H + +#include +#include + +#include +#include +#include + +class SlaveMaster : public QObject { + Q_OBJECT + typedef QValueList ImageInfos; + typedef QValueList PixmapInfos; +public: + static SlaveMaster *self(); + + void thumbInfo( const QString& ); + void imageInfo( const QString& ); + void thumbNail( const QString&, int w, int h ); + QImage image( const QString&, PDirLister::Factor, int ); +signals: + void sig_start(); + void sig_end(); + + void sig_thumbInfo( const QString&, const QString& ); + void sig_fullInfo( const QString&, const QString& ); + void sig_thumbNail( const QString&, const QPixmap& ); +private slots: + void recieve( const QCString&, const QByteArray& ); + void slotTimerStart(); +private: + SlaveMaster(); + ~SlaveMaster(); + static SlaveMaster *m_master; + bool m_started : 1; + QStringList m_inThumbInfo; + QStringList m_inImageInfo; + PixmapInfos m_inThumbNail; +}; + + +#endif -- cgit v0.9.0.2