[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/nepomuk-kde/annotation/resourceeditor
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2009-09-17 16:36:55
Message-ID: 1253205415.369714.17238.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1024934 by trueg:
do annotate the resource directly instead of its pimo thing
M +2 -2 main.cpp
--- trunk/playground/base/nepomuk-kde/annotation/resourceeditor/main.cpp #1024933:1024934
@@ -56,11 +56,11 @@
Nepomuk::ResourceManager::instance()->init();
- Nepomuk::Thing thing = Nepomuk::Resource( args->url( 0 ) ).pimoThing();
+ Nepomuk::Resource res = Nepomuk::Resource( args->url( 0 ) );
KDialog dlg;
Nepomuk::ResourceEditor* re = new Nepomuk::ResourceEditor( &dlg );
- re->setResource( thing );
+ re->setResource( res );
dlg.setMainWidget( re );
dlg.setButtons( KDialog::Close );
dlg.setPlainCaption( thing.genericLabel() );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic