KIO
Go to the documentation of this file.
28 #include <QtCore/QTimer>
47 : KIO::
Job(*new MetaInfoJobPrivate)
54 if (d->items.isEmpty())
56 kDebug(7007) <<
"nothing to do for the MetaInfoJob\n";
61 kDebug(7007) <<
"starting MetaInfoJob\n";
65 QTimer::singleShot(0,
this, SLOT(start()));
72 void MetaInfoJob::start()
80 if (d->items.at( d->currentItem ) == item)
88 d->items.removeAll(item);
91 void MetaInfoJob::determineNextFile()
94 if (d->currentItem >= d->items.count() - 1)
96 kDebug(7007) <<
"finished MetaInfoJob\n";
102 d->succeeded =
false;
105 KFileItem item = d->items.at( d->currentItem );
128 KFileItem item = d->items.at( d->currentItem );
133 URL.setPath(item.
url().
path());
138 connect(job, SIGNAL(data(
KIO::Job*,QByteArray)),
139 this, SLOT(slotMetaInfo(
KIO::Job*,QByteArray)));
145 void MetaInfoJob::slotMetaInfo(
KIO::Job*,
const QByteArray &data)
153 KFileItem item = d->items.at( d->currentItem );
167 foreach (
const KUrl& url, items) {
176 #include "metainfojob.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 17:50:47 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.