~ubuntu-branches/ubuntu/precise/kde-runtime/precise-updates

« back to all changes in this revision

Viewing changes to nepomuk/services/storage/datamanagementmodel.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2014-11-20 15:46:42 UTC
  • mfrom: (18.1.5 precise-proposed)
  • Revision ID: package-import@ubuntu.com-20141120154642-hyesdbuvsk78ihtz
Tags: 4:4.8.5-0ubuntu0.3
* SECURITY UPDATE: Insufficient Input Validation By IO Slaves and
  Webkit Part
 - Add upstream_CVE-2014-8600.diff to escape protocol twice: once
   for i18n, and once for HTML
 - https://www.kde.org/info/security/advisory-20141113-1.txt
 - CVE-2014-8600
 - LP: #1393479

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef DATAMANAGEMENTMODEL_H
23
23
#define DATAMANAGEMENTMODEL_H
24
24
 
25
 
#include "lib/datamanagement.h"
 
25
#include "datamanagement.h"
26
26
 
27
27
#include <Soprano/FilterModel>
28
28
 
249
249
     * \param nodes A hash mapping value nodes as created via resolveNodes from the output of ClassAndPropertyTree::variantToNodeSet. Like \p resources
250
250
     *              this hash might contain empty values which refer to non-existing file resources. This cannot be empty.
251
251
     * \param app The calling application.
 
252
     *
 
253
     * \return A mapping from changed resources to actually newly added values.
252
254
     */
253
 
    void addProperty(const QHash<QUrl, QUrl>& resources, const QUrl& property, const QHash<Soprano::Node, Soprano::Node>& nodes, const QString& app);
 
255
    QHash<QUrl, QList<Soprano::Node> > addProperty(const QHash<QUrl, QUrl>& resources, const QUrl& property, const QHash<Soprano::Node, Soprano::Node>& nodes, const QString& app, bool signalPropertyChanged = false);
254
256
 
255
257
    /**
256
258
     * Removes the given resources without any additional checks. The provided list needs to contain already resolved valid resource URIs.