summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/lib/slavemaster.h
Unidiff
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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/lib/slavemaster.h b/noncore/graphics/opie-eye/lib/slavemaster.h
index f5284a6..98c3403 100644
--- a/noncore/graphics/opie-eye/lib/slavemaster.h
+++ b/noncore/graphics/opie-eye/lib/slavemaster.h
@@ -1,22 +1,32 @@
1#ifndef OPIE_EYE_SLAVE_MASTER_H 1#ifndef OPIE_EYE_SLAVE_MASTER_H
2#define OPIE_EYE_SLAVE_MASTER_H 2#define OPIE_EYE_SLAVE_MASTER_H
3 3
4#include <iface/dirlister.h> 4#include <iface/dirlister.h>
5#include <iface/slaveiface.h> 5#include <iface/slaveiface.h>
6 6
7#include <qobject.h> 7#include <qobject.h>
8#include <qstring.h> 8#include <qstring.h>
9#include <qsize.h> 9#include <qsize.h>
10 10
11namespace SlaveHelper {
12/**
13 * Small Helper to create a SlaveMaster
14 * and to connect its' signals to the
15 * object. To use the object as a proxy
16 */
17void slaveConnectSignals( QObject* );
18}
19
20
11class SlaveMaster : public QObject { 21class SlaveMaster : public QObject {
12 Q_OBJECT 22 Q_OBJECT
13 typedef QValueList<ImageInfo> ImageInfos; 23 typedef QValueList<ImageInfo> ImageInfos;
14 typedef QValueList<PixmapInfo> PixmapInfos; 24 typedef QValueList<PixmapInfo> PixmapInfos;
15public: 25public:
16 static SlaveMaster *self(); 26 static SlaveMaster *self();
17 27
18 void thumbInfo( const QString& ); 28 void thumbInfo( const QString& );
19 void imageInfo( const QString& ); 29 void imageInfo( const QString& );
20 void thumbNail( const QString&, int w, int h ); 30 void thumbNail( const QString&, int w, int h );
21 QImage image( const QString&, PDirLister::Factor, int ); 31 QImage image( const QString&, PDirLister::Factor, int );
22signals: 32signals: