~ubuntu-branches/ubuntu/saucy/kactivities/saucy-proposed

« back to all changes in this revision

Viewing changes to service/NepomukActivityManager.cpp

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2012-09-10 18:16:09 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20120910181609-hi2z431kx0t73ywd
Tags: 4:4.9.1-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#include <config-features.h>
21
21
 
22
 
#if !defined(HAVE_NEPOMUK) && !defined(Q_CC_MSVC) // krazy:skip
 
22
#if !defined(HAVE_NEPOMUK) && defined(__GNUC__) // krazy:skip
23
23
    #warning "No Nepomuk, disabling some activity related features"
24
24
#endif
25
25
 
282
282
    //         )
283
283
    //     );
284
284
 
285
 
    activityResource(activity).addIsRelated(Nepomuk::Resource(resource));
 
285
    activityResource(activity).addProperty(Soprano::Vocabulary::NAO::isRelated(), resource);
286
286
 
287
287
    if (m_currentActivity == activity)
288
288
        org::kde::KDirNotify::emitFilesAdded("activities:/current");