Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kio/kio
kio/kio
kio
kio
metainfojob.h
1
// -*- c++ -*-
2
// vim: ts=4 sw=4 et
3
/* This file is part of the KDE libraries
4
Copyright (C) 2001 Rolf Magnus <ramagnus@kde.org>
5
parts of this taken from previewjob.h
6
7
This library is free software; you can redistribute it and/or
8
modify it under the terms of the GNU Library General Public
9
License as published by the Free Software Foundation version 2.0.
10
11
This library is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
Library General Public License for more details.
15
16
You should have received a copy of the GNU Library General Public License
17
along with this library; see the file COPYING.LIB. If not, write to
18
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
Boston, MA 02110-1301, USA.
20
*/
21
22
#ifndef __kio_metainfojob_h__
23
#define __kio_metainfojob_h__
24
25
#include <kio/job.h>
26
#include <kfileitem.h>
27
28
namespace
KIO {
35
class
KIO_EXPORT
MetaInfoJob
:
public
KIO::Job
36
{
37
Q_OBJECT
38
public
:
44
MetaInfoJob
(
const
KFileItemList &items,
bool
deleteItems =
false
);
45
virtual
~
MetaInfoJob
();
46
52
void
removeItem(
const
KFileItem
*item );
53
60
static
TQStringList availablePlugins();
61
67
static
TQStringList supportedMimeTypes();
68
69
signals:
75
void
gotMetaInfo(
const
KFileItem
*item );
82
void
failed(
const
KFileItem
*item );
83
84
protected
:
85
void
getMetaInfo();
86
87
protected
slots:
88
virtual
void
slotResult(
KIO::Job
*job );
89
90
private
slots:
91
void
start();
92
void
slotMetaInfo(
KIO::Job
*,
const
TQByteArray &);
93
94
private
:
95
void
determineNextFile();
96
// void saveMetaInfo(const TQByteArray info);
97
98
private
:
99
struct
MetaInfoJobPrivate *d;
100
};
101
108
KIO_EXPORT
MetaInfoJob
*
fileMetaInfo
(
const
KFileItemList& items);
109
116
KIO_EXPORT
MetaInfoJob
*
fileMetaInfo
(
const
KURL::List& items);
117
}
118
119
#endif
kio/kio
Skip menu "kio/kio"
Main Page
Modules
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
kio/kio
Skip menu "kio/kio"
arts
dcop
dnssd
interfaces
interface
library
kspeech
ktexteditor
kabc
kate
kcmshell
kdecore
kded
kdefx
kdeprint
kdesu
kdeui
kdoctools
khtml
kimgio
kinit
kio
bookmarks
httpfilter
kfile
kio
kioexec
kpasswdserver
kssl
kioslave
http
kjs
kmdi
kmdi
knewstuff
kparts
krandr
kresources
kspell2
kunittest
kutils
kwallet
libkmid
libkscreensaver