Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdeio/tdeio
tdeio/tdeio
tdeio
tdeio
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 __tdeio_metainfojob_h__
23
#define __tdeio_metainfojob_h__
24
25
#include <tdeio/job.h>
26
#include <tdefileitem.h>
27
28
namespace
TDEIO {
35
class
TDEIO_EXPORT
MetaInfoJob
:
public
TDEIO::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(
TDEIO::Job
*job );
89
90
private
slots:
91
void
start();
92
void
slotMetaInfo(
TDEIO::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
TDEIO_EXPORT
MetaInfoJob
*
fileMetaInfo
(
const
KFileItemList& items);
109
116
TDEIO_EXPORT
MetaInfoJob
*
fileMetaInfo
(
const
KURL::List& items);
117
}
118
119
#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