summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/lib/slavemaster.h
authorzecke <zecke>2004-03-22 23:32:41 (UTC)
committer zecke <zecke>2004-03-22 23:32:41 (UTC)
commit428b687982966dc2efabaf6dbcc55ad0ea30aa10 (patch) (unidiff)
tree86da20abd2e4b97a59dc32e17996bde5ee74cc91 /noncore/graphics/opie-eye/lib/slavemaster.h
parent7ce623c6351646ce738a81e103632d73c5454ecc (diff)
downloadopie-428b687982966dc2efabaf6dbcc55ad0ea30aa10.zip
opie-428b687982966dc2efabaf6dbcc55ad0ea30aa10.tar.gz
opie-428b687982966dc2efabaf6dbcc55ad0ea30aa10.tar.bz2
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
Diffstat (limited to 'noncore/graphics/opie-eye/lib/slavemaster.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/lib/slavemaster.h43
1 files changed, 43 insertions, 0 deletions
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 @@
1#ifndef OPIE_EYE_SLAVE_MASTER_H
2#define OPIE_EYE_SLAVE_MASTER_H
3
4#include <iface/dirlister.h>
5#include <iface/slaveiface.h>
6
7#include <qobject.h>
8#include <qstring.h>
9#include <qsize.h>
10
11class SlaveMaster : public QObject {
12 Q_OBJECT
13 typedef QValueList<ImageInfo> ImageInfos;
14 typedef QValueList<PixmapInfo> PixmapInfos;
15public:
16 static SlaveMaster *self();
17
18 void thumbInfo( const QString& );
19 void imageInfo( const QString& );
20 void thumbNail( const QString&, int w, int h );
21 QImage image( const QString&, PDirLister::Factor, int );
22signals:
23 void sig_start();
24 void sig_end();
25
26 void sig_thumbInfo( const QString&, const QString& );
27 void sig_fullInfo( const QString&, const QString& );
28 void sig_thumbNail( const QString&, const QPixmap& );
29private slots:
30 void recieve( const QCString&, const QByteArray& );
31 void slotTimerStart();
32private:
33 SlaveMaster();
34 ~SlaveMaster();
35 static SlaveMaster *m_master;
36 bool m_started : 1;
37 QStringList m_inThumbInfo;
38 QStringList m_inImageInfo;
39 PixmapInfos m_inThumbNail;
40};
41
42
43#endif