metainfojob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef __kio_metainfojob_h__
00025 #define __kio_metainfojob_h__
00026
00027 #include <kio/job.h>
00028
00029 namespace KIO {
00033 class MetaInfoJob : public KIO::Job
00034 {
00035 Q_OBJECT
00036 public:
00042 MetaInfoJob(const KFileItemList &items, bool deleteItems = false);
00043 virtual ~MetaInfoJob();
00044
00050 void removeItem( const KFileItem *item );
00051
00057 static QStringList availablePlugins();
00058
00063 static QStringList supportedMimeTypes();
00064
00065 signals:
00070 void gotMetaInfo( const KFileItem *item );
00076 void failed( const KFileItem *item );
00077
00078 protected:
00079 void getMetaInfo();
00080
00081 protected slots:
00082 virtual void slotResult( KIO::Job *job );
00083
00084 private slots:
00085 void start();
00086 void slotMetaInfo(KIO::Job *, const QByteArray &);
00087
00088 private:
00089 void determineNextFile();
00090
00091
00092 private:
00093 struct MetaInfoJobPrivate *d;
00094 };
00095
00105 MetaInfoJob* fileMetaInfo(const KFileItemList& items);
00106
00110 MetaInfoJob* fileMetaInfo(const KURL::List& items);
00111 };
00112
00113 #endif
This file is part of the documentation for kdelibs Version 3.1.0.