Nepomuk
Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
List of all members
Nepomuk::MassUpdateJob Class Reference
#include <Nepomuk/MassUpdateJob>
Inheritance diagram for Nepomuk::MassUpdateJob:
Public Member Functions | |
MassUpdateJob (QObject *parent=0) | |
~MassUpdateJob () | |
void | setFiles (const KUrl::List &urls) |
void | setProperties (const QList< QPair< QUrl, Nepomuk::Variant > > &props) |
void | setResources (const QList< Nepomuk::Resource > &) |
void | start () |
Static Public Member Functions | |
static MassUpdateJob * | commentResources (const QList< Nepomuk::Resource > &, const QString &comment) |
static MassUpdateJob * | rateResources (const QList< Nepomuk::Resource > &, int rating) |
static MassUpdateJob * | tagResources (const QList< Nepomuk::Resource > &, const QList< Nepomuk::Tag > &tags) |
Protected Member Functions | |
bool | doKill () |
bool | doResume () |
bool | doSuspend () |
Detailed Description
A KJob to set Nepomuk properties on a set of resources at once.
Definition at line 44 of file nepomukmassupdatejob.h.
Constructor & Destructor Documentation
Nepomuk::MassUpdateJob::MassUpdateJob | ( | QObject * | parent = 0 | ) |
Default constructor.
Normally there is no need to use this. Use tagResources(), rateResources(), or commentResources() instead.
Nepomuk::MassUpdateJob::~MassUpdateJob | ( | ) |
Destructor.
Member Function Documentation
|
static |
|
protected |
|
protected |
|
protected |
|
static |
void Nepomuk::MassUpdateJob::setFiles | ( | const KUrl::List & | urls | ) |
Set a list of files to change This has the same effect as using setResources with a list of manually created resources.
void Nepomuk::MassUpdateJob::setProperties | ( | const QList< QPair< QUrl, Nepomuk::Variant > > & | props | ) |
Set the properties to change in the mass update.
void Nepomuk::MassUpdateJob::setResources | ( | const QList< Nepomuk::Resource > & | ) |
Set a list of resources to change.
void Nepomuk::MassUpdateJob::start | ( | ) |
Actually start the job.
|
static |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.