From 660c1fd7679c244004ed91cd491226a2a6dc4293 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 13 Oct 2009 20:48:38 +0000 Subject: restore functionality that ratings, comments and tags get stored after the user changed the values svn path=/trunk/KDE/kdebase/apps/; revision=1034884 --- src/panels/information/nepomukmassupdatejob_p.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/panels/information/nepomukmassupdatejob_p.h') diff --git a/src/panels/information/nepomukmassupdatejob_p.h b/src/panels/information/nepomukmassupdatejob_p.h index a19fa5ff9..659fbd4e8 100644 --- a/src/panels/information/nepomukmassupdatejob_p.h +++ b/src/panels/information/nepomukmassupdatejob_p.h @@ -17,8 +17,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ -#ifndef _NEPOMUK_MASS_UPDATE_JOB_H_ -#define _NEPOMUK_MASS_UPDATE_JOB_H_ +#ifndef NEPOMUK_MASS_UPDATE_JOB_H +#define NEPOMUK_MASS_UPDATE_JOB_H #include #include @@ -37,34 +37,34 @@ namespace Nepomuk { Q_OBJECT public: - MassUpdateJob( QObject* parent = 0 ); - ~MassUpdateJob(); + MassUpdateJob(QObject* parent = 0); + virtual ~MassUpdateJob(); /** * Set a list of files to change * This has the same effect as using setResources * with a list of manually created resources. */ - void setFiles( const KUrl::List& urls ); + void setFiles(const KUrl::List& urls); /** * Set a list of resources to change. */ - void setResources( const QList& ); + void setResources(const QList&); /** * Set the properties to change in the mass update. */ - void setProperties( const QList >& props ); + void setProperties(const QList >& props); /** * Actually start the job. */ void start(); - static MassUpdateJob* tagResources( const QList&, const QList& tags ); - static MassUpdateJob* commentResources( const QList&, const QString& comment ); - static MassUpdateJob* rateResources( const QList&, int rating ); + static MassUpdateJob* tagResources(const QList&, const QList& tags); + static MassUpdateJob* commentResources(const QList&, const QString& comment); + static MassUpdateJob* rateResources(const QList&, unsigned int rating); protected: bool doKill(); -- cgit v1.3