コード例 #1
0
ファイル: Nepomuk.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  \return A human-readble string.
 ///      </remarks>        <short>    \return A human-readble string.</short>
 public static string ErrorString(Nepomuk.ErrorCode code)
 {
     return (string) staticInterceptor.Invoke("errorString$", "errorString(Nepomuk::ErrorCode)", typeof(string), typeof(Nepomuk.ErrorCode), code);
 }
コード例 #2
0
ファイル: Nepomuk.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Used internally by Resource.
 ///  Converts a Variant into a literal value to be used in the RDF store.
 ///  Uses the language set in the current KDE session.
 ///      </remarks>        <short>    Used internally by Resource.</short>
 public static List<Soprano.Node> ValuesToRDFNodes(Nepomuk.Variant arg1)
 {
     return (List<Soprano.Node>) staticInterceptor.Invoke("valuesToRDFNodes#", "valuesToRDFNodes(const Nepomuk::Variant&)", typeof(List<Soprano.Node>), typeof(Nepomuk.Variant), arg1);
 }
コード例 #3
0
ファイル: Nepomuk_Variant.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Appends the value stored in \a v to the list in this
 ///  Variant. If this Variant contains a value with the same
 ///  simple type as \a v they are merged into a list. Otherwise
 ///  this Variant will contain one list of simple type v.simpleType()
 ///          </remarks>        <short>    Appends the value stored in \a v to the list in this  Variant.</short>
 public void Append(Nepomuk.Variant v)
 {
     interceptor.Invoke("append#", "append(const Nepomuk::Variant&)", typeof(void), typeof(Nepomuk.Variant), v);
 }
コード例 #4
0
ファイル: Nepomuk_Resource.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Add a value to property 'annotation'. 
 ///          </remarks>        <short>    Add a value to property 'annotation'.</short>
 public void AddAnnotation(Nepomuk.Resource value)
 {
     interceptor.Invoke("addAnnotation#", "addAnnotation(const Nepomuk::Resource&)", typeof(void), typeof(Nepomuk.Resource), value);
 }
コード例 #5
0
ファイル: Nepomuk_Types_Entity.cs プロジェクト: KDE/kimono
 //  operator QUrl(); >>>> NOT CONVERTED
 /// <remarks>
 ///  Default copy constructor.
 ///              </remarks>        <short>    Default copy constructor.</short>
 public Entity(Nepomuk.Types.Entity arg1)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Entity#", "Entity(const Nepomuk::Types::Entity&)", typeof(void), typeof(Nepomuk.Types.Entity), arg1);
 }
コード例 #6
0
ファイル: Nepomuk_Variant.cs プロジェクト: KDE/kimono
 public Variant(Nepomuk.Resource r)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Variant#", "Variant(const Nepomuk::Resource&)", typeof(void), typeof(Nepomuk.Resource), r);
 }
コード例 #7
0
ファイル: Nepomuk_Types_Property.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Check if this property is derived from another property. This is a recursive method which
 ///  does not only check direct child propertyes.
 ///  \return true if this property is derived from other, false otherwise.
 ///              </remarks>        <short>    Check if this property is derived from another property.</short>
 public bool IsSubPropertyOf(Nepomuk.Types.Property other)
 {
     return (bool) interceptor.Invoke("isSubPropertyOf#", "isSubPropertyOf(const Nepomuk::Types::Property&)", typeof(bool), typeof(Nepomuk.Types.Property), other);
 }
コード例 #8
0
ファイル: Nepomuk_Types_Class.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Default copy constructor
 ///              </remarks>        <short>    Default copy constructor              </short>
 public Class(Nepomuk.Types.Class arg1)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Class#", "Class(const Nepomuk::Types::Class&)", typeof(void), typeof(Nepomuk.Types.Class), arg1);
 }
コード例 #9
0
ファイル: Nepomuk_Resource.cs プロジェクト: KDE/kimono
 public Resource(Nepomuk.Resource arg1)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Resource#", "Resource(const Nepomuk::Resource&)", typeof(void), typeof(Nepomuk.Resource), arg1);
 }
コード例 #10
0
ファイル: Nepomuk_Resource.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Set a property of the resource.
 ///  \param uri The URI identifying the property.
 ///  \param value The value of the property (i.e. the object of the RDF triple(s))
 ///          </remarks>        <short>    Set a property of the resource.</short>
 public void SetProperty(QUrl uri, Nepomuk.Variant value)
 {
     interceptor.Invoke("setProperty##", "setProperty(const QUrl&, const Nepomuk::Variant&)", typeof(void), typeof(QUrl), uri, typeof(Nepomuk.Variant), value);
 }
コード例 #11
0
ファイル: Nepomuk_Resource.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Add a value to property 'Topic'. 
 ///          </remarks>        <short>    Add a value to property 'Topic'.</short>
 public void AddTopic(Nepomuk.Resource value)
 {
     interceptor.Invoke("addTopic#", "addTopic(const Nepomuk::Resource&)", typeof(void), typeof(Nepomuk.Resource), value);
 }
コード例 #12
0
ファイル: Nepomuk_Resource.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Add a value to property 'Tag'. Each Resource can be tagged with 
 ///  an arbitrary number of Tags. This allows a simple grouping of 
 ///  resources. 
 ///          </remarks>        <short>    Add a value to property 'Tag'.</short>
 public void AddTag(Nepomuk.Tag value)
 {
     interceptor.Invoke("addTag#", "addTag(const Nepomuk::Tag&)", typeof(void), typeof(Nepomuk.Tag), value);
 }
コード例 #13
0
ファイル: Nepomuk_Resource.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Add a value to property 'isRelated'. 
 ///          </remarks>        <short>    Add a value to property 'isRelated'.</short>
 public void AddIsRelated(Nepomuk.Resource value)
 {
     interceptor.Invoke("addIsRelated#", "addIsRelated(const Nepomuk::Resource&)", typeof(void), typeof(Nepomuk.Resource), value);
 }
コード例 #14
0
ファイル: Nepomuk.cs プロジェクト: KDE/kimono
 public static Soprano.Node ValueToRDFNode(Nepomuk.Variant arg1)
 {
     return (Soprano.Node) staticInterceptor.Invoke("valueToRDFNode#", "valueToRDFNode(const Nepomuk::Variant&)", typeof(Soprano.Node), typeof(Nepomuk.Variant), arg1);
 }
コード例 #15
0
ファイル: Nepomuk_ResourceManager.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Retrieve a list of all resources that have property \a uri defined with a value of \a v.
 ///  This includes Resources that are not synced yet so it might
 ///  not represent exactly the state as in the RDF store.
 ///  \param uri The URI identifying the property. If this URI does
 ///             not include a namespace the default namespace is
 ///             prepended.
 ///  \param v The value all returned resources should have set as properts \a uri.
 ///          </remarks>        <short>    Retrieve a list of all resources that have property \a uri defined with a value of \a v.</short>
 public List<Nepomuk.Resource> AllResourcesWithProperty(QUrl uri, Nepomuk.Variant v)
 {
     return (List<Nepomuk.Resource>) interceptor.Invoke("allResourcesWithProperty##", "allResourcesWithProperty(const QUrl&, const Nepomuk::Variant&)", typeof(List<Nepomuk.Resource>), typeof(QUrl), uri, typeof(Nepomuk.Variant), v);
 }
コード例 #16
0
ファイル: Nepomuk_Types_Class.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Check if this class is derived from another class. This is a recursive method which
 ///  does not only check direct child classes.
 ///  \return true if this class is derived from other, false otherwise.
 ///              </remarks>        <short>    Check if this class is derived from another class.</short>
 public bool IsSubClassOf(Nepomuk.Types.Class other)
 {
     return (bool) interceptor.Invoke("isSubClassOf#", "isSubClassOf(const Nepomuk::Types::Class&)", typeof(bool), typeof(Nepomuk.Types.Class), other);
 }
コード例 #17
0
ファイル: Nepomuk_TagWidget.cs プロジェクト: KDE/kimono
 public void SetTaggedResource(Nepomuk.Resource resource)
 {
     interceptor.Invoke("setTaggedResource#", "setTaggedResource(const Nepomuk::Resource&)", typeof(void), typeof(Nepomuk.Resource), resource);
 }
コード例 #18
0
ファイル: Nepomuk_Thing.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Copy constructor.
 ///          </remarks>        <short>    Copy constructor.</short>
 public Thing(Nepomuk.Thing other)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Thing#", "Thing(const Nepomuk::Thing&)", typeof(void), typeof(Nepomuk.Thing), other);
 }
コード例 #19
0
ファイル: Nepomuk_TagWidget.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Creates a new TagWidget for resource. The assigned tags are loaded
 ///  instantly.
 ///          </remarks>        <short>    Creates a new TagWidget for resource.</short>
 public TagWidget(Nepomuk.Resource resource, QWidget parent)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("TagWidget##", "TagWidget(const Nepomuk::Resource&, QWidget*)", typeof(void), typeof(Nepomuk.Resource), resource, typeof(QWidget), parent);
 }
コード例 #20
0
ファイル: Nepomuk_Types_Ontology.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Default copy constructor
 ///              </remarks>        <short>    Default copy constructor              </short>
 public Ontology(Nepomuk.Types.Ontology arg1)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Ontology#", "Ontology(const Nepomuk::Types::Ontology&)", typeof(void), typeof(Nepomuk.Types.Ontology), arg1);
 }
コード例 #21
0
ファイル: Nepomuk_TagWidget.cs プロジェクト: KDE/kimono
 public TagWidget(Nepomuk.Resource resource)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("TagWidget#", "TagWidget(const Nepomuk::Resource&)", typeof(void), typeof(Nepomuk.Resource), resource);
 }
コード例 #22
0
ファイル: Nepomuk_Variant.cs プロジェクト: KDE/kimono
 public void Append(Nepomuk.Resource r)
 {
     interceptor.Invoke("append#", "append(const Nepomuk::Resource&)", typeof(void), typeof(Nepomuk.Resource), r);
 }
コード例 #23
0
ファイル: Nepomuk_Types_Literal.cs プロジェクト: KDE/kimono
 public Literal(Nepomuk.Types.Literal arg1)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Literal#", "Literal(const Nepomuk::Types::Literal&)", typeof(void), typeof(Nepomuk.Types.Literal), arg1);
 }
コード例 #24
0
ファイル: Nepomuk_Variant.cs プロジェクト: KDE/kimono
 public Variant(Nepomuk.Variant other)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Variant#", "Variant(const Nepomuk::Variant&)", typeof(void), typeof(Nepomuk.Variant), other);
 }
コード例 #25
0
ファイル: Nepomuk_Tag.cs プロジェクト: KDE/kimono
 /// <remarks>
 ///  Default copy constructor
 ///          </remarks>        <short>    Default copy constructor          </short>
 public Tag(Nepomuk.Tag arg1)
     : this((Type) null)
 {
     CreateProxy();
     interceptor.Invoke("Tag#", "Tag(const Nepomuk::Tag&)", typeof(void), typeof(Nepomuk.Tag), arg1);
 }