being replaced by the new ontology from the nepomukians
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862108
This commit is contained in:
parent
e7e0914a11
commit
66ddad6aac
@ -1,5 +1,7 @@
|
|||||||
find_package(KDE4 REQUIRED)
|
find_package(KDE4 REQUIRED)
|
||||||
|
find_package(Nepomuk REQUIRED)
|
||||||
include (KDE4Defaults)
|
include (KDE4Defaults)
|
||||||
|
include(NepomukMacros)
|
||||||
|
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${KDEBASE_WORKSPACE_SOURCE_DIR}/libs ${CMAKE_CURRENT_SOURCE_DIR}/.. ${KDE4_INCLUDES})
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${KDEBASE_WORKSPACE_SOURCE_DIR}/libs ${CMAKE_CURRENT_SOURCE_DIR}/.. ${KDE4_INCLUDES})
|
||||||
if(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
|
if(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
|
||||||
@ -92,6 +94,14 @@ set(plasma_LIB_SRCS
|
|||||||
widgets/webcontent.cpp
|
widgets/webcontent.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
#NEPOMUK_GENERATE_FROM_ONTOLOGY(
|
||||||
|
# nwc.nrl
|
||||||
|
# ${metadata_test_BINARY_DIR}
|
||||||
|
# TEST_HEADERS
|
||||||
|
# TEST_SOURCES
|
||||||
|
# TEST_INCLUDES
|
||||||
|
#)
|
||||||
|
|
||||||
kde4_add_ui_files (
|
kde4_add_ui_files (
|
||||||
plasma_LIB_SRCS
|
plasma_LIB_SRCS
|
||||||
appletbrowser/kcategorizeditemsviewbase.ui
|
appletbrowser/kcategorizeditemsviewbase.ui
|
||||||
@ -294,13 +304,3 @@ install(FILES
|
|||||||
|
|
||||||
install(FILES scripting/plasmoids.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
|
install(FILES scripting/plasmoids.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
|
||||||
|
|
||||||
# Nepomuk integration
|
|
||||||
configure_file(ontology/workspace.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/workspace.desktop)
|
|
||||||
|
|
||||||
install(FILES
|
|
||||||
ontology/workspace.trig
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/workspace.desktop
|
|
||||||
DESTINATION
|
|
||||||
${DATA_INSTALL_DIR}/nepomuk/ontologies
|
|
||||||
)
|
|
||||||
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Name=Workspace Context Ontology
|
|
||||||
URL=http://plasma.kde.org/ontologies/workspacecontext#
|
|
||||||
Path=${DATA_INSTALL_DIR}/nepomuk/ontologies/workspace.trig
|
|
||||||
MimeType=application/x-trig
|
|
||||||
Type=Data
|
|
@ -1,33 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE rdf:RDF [
|
|
||||||
<!ENTITY workspacecontext 'http://plasma.kde.org/ontologies/workspacecontext#'>
|
|
||||||
<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
|
|
||||||
<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
|
|
||||||
<!ENTITY xs 'http://www.w3.org/2001/XMLSchema#'>
|
|
||||||
<!ENTITY nie 'http://www.semanticdesktop.org/ontologies/2007/01/19/nie/#'>
|
|
||||||
]>
|
|
||||||
<rdf:RDF
|
|
||||||
xmlns:semn="&workspacecontext;"
|
|
||||||
xmlns:rdf="&rdf;"
|
|
||||||
xmlns:rdfs="&rdfs;"
|
|
||||||
xmlns:xs="&xs;"
|
|
||||||
xmlns:nie="&nie;"
|
|
||||||
>
|
|
||||||
<rdfs:Class rdf:about="&workspacecontext;Context"
|
|
||||||
rdfs:comment="Represents a workspace context, such as a user project or activity"
|
|
||||||
rdfs:label="WorkspaceContext">
|
|
||||||
<rdfs:subClassOf rdf:resource="&nie;InformationElement"/>
|
|
||||||
</rdfs:Class>
|
|
||||||
<rdf:Property rdf:about="&workspacecontext;name"
|
|
||||||
rdfs:comment="A workspace context name"
|
|
||||||
rdfs:label="name">
|
|
||||||
<rdfs:domain rdf:resource="&workspacecontext;Context"/>
|
|
||||||
<rdfs:range rdf:resource="&xs;string"/>
|
|
||||||
</rdf:Property>
|
|
||||||
<rdf:Property rdf:about="&workspacecontext;isActive"
|
|
||||||
rdfs:comment="Is this context the active one?"
|
|
||||||
rdfs:label="isActive">
|
|
||||||
<rdfs:domain rdf:resource="&workspacecontext;Context"/>
|
|
||||||
<rdfs:range rdf:resource="&xs;boolean"/>
|
|
||||||
</rdf:Property>
|
|
||||||
</rdf:RDF>
|
|
@ -1,44 +0,0 @@
|
|||||||
@prefix workspacecontext: <http://plasma.kde.org/ontologies/workspacecontext#> .
|
|
||||||
@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
|
|
||||||
@prefix nao: <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
|
|
||||||
@prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
|
|
||||||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
||||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
||||||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
||||||
|
|
||||||
semn: {
|
|
||||||
semn:Context
|
|
||||||
a rdfs:Context ;
|
|
||||||
rdfs:comment "Represents a workspace context, such as a user project or activity." ;
|
|
||||||
rdfs:label "Context" ;
|
|
||||||
rdfs:subClassOf nie:InformationElement .
|
|
||||||
|
|
||||||
semn:name
|
|
||||||
a rdf:Property ;
|
|
||||||
rdfs:comment "A workspace context name.";
|
|
||||||
rdfs:label "name" ;
|
|
||||||
rdfs:domain workspacecontext:Context ;
|
|
||||||
rdfs:range xsd:string .
|
|
||||||
|
|
||||||
semn:name
|
|
||||||
a rdf:Property ;
|
|
||||||
rdfs:comment "Is this context the active one?";
|
|
||||||
rdfs:label "isActive" ;
|
|
||||||
rdfs:domain workspacecontext:Context ;
|
|
||||||
rdfs:range xsd:boolean .
|
|
||||||
}
|
|
||||||
|
|
||||||
<http://plasma.kde.org/ontologies/workspacecontext_metadata#> {
|
|
||||||
workspacecontext:
|
|
||||||
a <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#Ontology> ;
|
|
||||||
nao:creator "http://www.dfki.uni-kl.de/~mylka" ;
|
|
||||||
nao:hasDefaultNamespace "http://plasma.kde.org/ontologies/workspacecontext#" ;
|
|
||||||
nao:hasDefaultNamespaceAbbreviation "workspacecontext" ;
|
|
||||||
nao:status "Unstable" ;
|
|
||||||
nao:updatable "0 " ;
|
|
||||||
nao:version "0.1" .
|
|
||||||
|
|
||||||
<http://plasma.kde.org/ontologies/workspacecontext_metadata#>
|
|
||||||
a nrl:GraphMetadata ;
|
|
||||||
nrl:coreGraphMetadataFor workspacecontext: .
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user