Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdeio/tdeio
tdeio/tdeio
tdeio
tdeio
metainfojob.h
1
/* This file is part of the KDE libraries
2
Copyright (C) 2001 Rolf Magnus <ramagnus@kde.org>
3
parts of this taken from previewjob.h
4
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Library General Public
7
License as published by the Free Software Foundation version 2.0.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
13
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
Boston, MA 02110-1301, USA.
18
*/
19
20
#ifndef __tdeio_metainfojob_h__
21
#define __tdeio_metainfojob_h__
22
23
#include <tdeio/job.h>
24
#include <tdefileitem.h>
25
26
namespace
TDEIO {
33
class
TDEIO_EXPORT
MetaInfoJob
:
public
TDEIO::Job
34
{
35
Q_OBJECT
36
public
:
42
MetaInfoJob
(
const
KFileItemList &items,
bool
deleteItems =
false
);
43
virtual
~
MetaInfoJob
();
44
50
void
removeItem(
const
KFileItem
*item );
51
58
static
TQStringList availablePlugins();
59
65
static
TQStringList supportedMimeTypes();
66
67
signals:
73
void
gotMetaInfo(
const
KFileItem
*item );
80
void
failed(
const
KFileItem
*item );
81
82
protected
:
83
void
getMetaInfo();
84
85
protected
slots:
86
virtual
void
slotResult(
TDEIO::Job
*job );
87
88
private
slots:
89
void
start();
90
void
slotMetaInfo(
TDEIO::Job
*,
const
TQByteArray &);
91
92
private
:
93
void
determineNextFile();
94
// void saveMetaInfo(const TQByteArray info);
95
96
private
:
97
struct
MetaInfoJobPrivate *d;
98
};
99
106
TDEIO_EXPORT
MetaInfoJob
*
fileMetaInfo
(
const
KFileItemList& items);
107
114
TDEIO_EXPORT
MetaInfoJob
*
fileMetaInfo
(
const
KURL::List& items);
115
}
116
117
#endif
tdeio/tdeio
Skip menu "tdeio/tdeio"
Main Page
Modules
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
tdeio/tdeio
Skip menu "tdeio/tdeio"
arts
dcop
dnssd
interfaces
kspeech
interface
library
tdetexteditor
kate
kded
kdoctools
kimgio
kjs
libtdemid
libtdescreensaver
tdeabc
tdecmshell
tdecore
tdefx
tdehtml
tdeinit
tdeio
bookmarks
httpfilter
kpasswdserver
kssl
tdefile
tdeio
tdeioexec
tdeioslave
http
tdemdi
tdemdi
tdenewstuff
tdeparts
tdeprint
tderandr
tderesources
tdespell2
tdesu
tdeui
tdeunittest
tdeutils
tdewallet