~ubuntu-branches/ubuntu/utopic/nepomuk-core/utopic

« back to all changes in this revision

Viewing changes to libnepomukcore/resource/tools.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-07-26 22:43:09 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120726224309-pf2v1e78ee7uljjp
Tags: 4:4.9.0a-0ubuntu1
* Use direct build-depends versions rather than kde-sc-dev-latest
* New upstream release
* New symbols, rename libnepomukcore4 to libnepomukcore4abi and enable Debian ABI manager

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "variant.h"
28
28
#include "nepomuk_export.h"
29
29
 
30
 
#include <soprano/node.h>
31
 
 
32
 
#include <kdemacros.h>
 
30
#include <Soprano/Node>
33
31
 
34
32
namespace Nepomuk2 {
35
 
    /**
36
 
     * Used internally by Resource.
37
 
     * Converts a Variant into a literal value to be used in the RDF store.
38
 
     *
39
 
     * \deprecated Use Nepomuk2::Varaint::toNodeList()
40
 
     */
41
 
    KDE_DEPRECATED NEPOMUK_EXPORT QList<Soprano::Node> valuesToRDFNodes( const Variant& );
42
 
 
43
 
    /**
44
 
     * Used internally by Resource.
45
 
     * Converts a non-list Variant into a Soprano::Node.
46
 
     *
47
 
     * \deprecated Use Nepomuk2::Varaint::toNode()
48
 
     */
49
 
    KDE_DEPRECATED NEPOMUK_EXPORT Soprano::Node valueToRDFNode( const Variant& );
50
33
 
51
34
    /**
52
35
     * Used internally by Resource.
76
59
            rl.append( Resource( r ) );
77
60
        return rl;
78
61
    }
79
 
 
80
 
    /**
81
 
     * \deprecated Use Variant::fromNode() instead.
82
 
     */
83
 
    KDE_DEPRECATED NEPOMUK_EXPORT Variant RDFLiteralToValue( const Soprano::Node& node );
84
 
 
85
 
    /**
86
 
     * \deprecated Has no effect anymore.
87
 
     */
88
 
    KDE_DEPRECATED NEPOMUK_EXPORT void setDefaultRepository( const QString& s );
89
 
 
90
 
    /**
91
 
     * \return The name of the default Nepomuk repository ("main").
92
 
     *
93
 
     * \deprecated Use Nepomuk2::ResourceManager::mainModel()
94
 
     */
95
 
    KDE_DEPRECATED NEPOMUK_EXPORT QString defaultGraph();
96
 
 
97
 
    /**
98
 
     * \deprecated Use Soprano::Vocabulary::RDF::type()
99
 
     */
100
 
    KDE_DEPRECATED NEPOMUK_EXPORT QString typePredicate();
101
 
 
102
 
    /**
103
 
     * \deprecated Use Soprano::Vocabulary::RDF::rdfNamepace()
104
 
     */
105
 
    KDE_DEPRECATED NEPOMUK_EXPORT QString rdfNamepace();
106
 
 
107
 
    /**
108
 
     * \deprecated Use Soprano::Vocabulary::RDFS::rdfsNamepace()
109
 
     */
110
 
    KDE_DEPRECATED NEPOMUK_EXPORT QString rdfsNamespace();
111
 
 
112
 
    /**
113
 
     * \deprecated Use Soprano::Vocabulary::NRL::nrlNamepace()
114
 
     */
115
 
    KDE_DEPRECATED NEPOMUK_EXPORT QString nrlNamespace();
116
 
 
117
 
    /**
118
 
     * \deprecated Use Soprano::Vocabulary::NAO::naoNamepace()
119
 
     */
120
 
    KDE_DEPRECATED NEPOMUK_EXPORT QString naoNamespace();
121
62
}
122
63
 
123
64
#endif