diff options
| author | Peter Penz <[email protected]> | 2009-10-13 20:48:38 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-10-13 20:48:38 +0000 |
| commit | 660c1fd7679c244004ed91cd491226a2a6dc4293 (patch) | |
| tree | 897c8513e897c352c0d04da25219170561add129 /src/panels/information/nepomukmassupdatejob_p.h | |
| parent | e94a11cd1d601e481ce459b16c36fba1e0fd9a54 (diff) | |
restore functionality that ratings, comments and tags get stored after the user changed the values
svn path=/trunk/KDE/kdebase/apps/; revision=1034884
Diffstat (limited to 'src/panels/information/nepomukmassupdatejob_p.h')
| -rw-r--r-- | src/panels/information/nepomukmassupdatejob_p.h | 20 |
1 files changed, 10 insertions, 10 deletions
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 <kjob.h> #include <kurl.h> @@ -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<Nepomuk::Resource>& ); + void setResources(const QList<Nepomuk::Resource>&); /** * Set the properties to change in the mass update. */ - void setProperties( const QList<QPair<QUrl,Nepomuk::Variant> >& props ); + void setProperties(const QList<QPair<QUrl,Nepomuk::Variant> >& props); /** * Actually start the job. */ void start(); - static MassUpdateJob* tagResources( const QList<Nepomuk::Resource>&, const QList<Nepomuk::Tag>& tags ); - 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); + static MassUpdateJob* commentResources(const QList<Nepomuk::Resource>&, const QString& comment); + static MassUpdateJob* rateResources(const QList<Nepomuk::Resource>&, unsigned int rating); protected: bool doKill(); |
