• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

metainfojob.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // vim: ts=4 sw=4 et
00003 /*  This file is part of the KDE libraries
00004     Copyright (C) 2001 Rolf Magnus <ramagnus@kde.org>
00005     parts of this taken from previewjob.h
00006 
00007     This library is free software; you can redistribute it and/or
00008     modify it under the terms of the GNU Library General Public
00009     License as published by the Free Software Foundation version 2.0.
00010 
00011     This library is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014     Library General Public License for more details.
00015 
00016     You should have received a copy of the GNU Library General Public License
00017     along with this library; see the file COPYING.LIB.  If not, write to
00018     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019     Boston, MA 02110-1301, USA.
00020 */
00021 
00022 #ifndef __kio_metainfojob_h__
00023 #define __kio_metainfojob_h__
00024 
00025 #include <kio/job.h>
00026 #include <kfileitem.h>
00027 
00028 namespace KIO {
00035     class KIO_EXPORT MetaInfoJob : public KIO::Job
00036     {
00037         Q_OBJECT
00038     public:
00044         MetaInfoJob(const KFileItemList &items, bool deleteItems = false);
00045         virtual ~MetaInfoJob();
00046 
00052         void removeItem( const KFileItem *item );
00053 
00060         static QStringList availablePlugins();
00061 
00067         static QStringList supportedMimeTypes();
00068 
00069     signals:
00075         void gotMetaInfo( const KFileItem *item );
00082         void failed( const KFileItem *item );
00083 
00084     protected:
00085         void getMetaInfo();
00086 
00087     protected slots:
00088         virtual void slotResult( KIO::Job *job );
00089 
00090     private slots:
00091         void start();
00092         void slotMetaInfo(KIO::Job *, const QByteArray &);
00093 
00094     private:
00095         void determineNextFile();
00096 //        void saveMetaInfo(const QByteArray info);
00097 
00098     private:
00099         struct MetaInfoJobPrivate *d;
00100     };
00101 
00108     KIO_EXPORT MetaInfoJob* fileMetaInfo(const KFileItemList& items);
00109 
00116     KIO_EXPORT MetaInfoJob* fileMetaInfo(const KURL::List& items);
00117 }
00118 
00119 #endif

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal