From kde-commits Sat Jul 31 22:26:29 2010 From: Vishesh Handa Date: Sat, 31 Jul 2010 22:26:29 +0000 To: kde-commits Subject: playground/base/nepomuk-kde/backupsync/lib Message-Id: <20100731222629.F3BDBAC783 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=128061513912799 SVN commit 1157699 by vhanda: Added misc.h/cpp. It contains convenience functions to merge a changeLog to a model. M +2 -1 CMakeLists.txt M +6 -0 identificationrequest.h A misc.cpp [License: GPL (v3+)] A misc.h [License: GPL (v3+)] --- trunk/playground/base/nepomuk-kde/backupsync/lib/CMakeLists.txt #1157698:1157699 @@ -18,7 +18,7 @@ include (KDE4Defaults) -set(SRCS resourcelog.cpp +set(SRCS misc.cpp resourcelog.cpp changelog.cpp changelogrecord.cpp identificationset.cpp @@ -80,5 +80,6 @@ simpleresource.h resourcelog.h graphwrapper_p.h + misc.h DESTINATION ${INCLUDE_INSTALL_DIR}/nepomuk COMPONENT Devel ) --- trunk/playground/base/nepomuk-kde/backupsync/lib/identificationrequest.h #1157698:1157699 @@ -64,6 +64,12 @@ * Utilizes the main model for identification */ IdentificationRequest( const SyncFile & sf, QObject* parent = 0 ); + + /** + * Creates an IdentificationRequest + * + * \param model Used to identifying the resources in the syncfile + */ IdentificationRequest( const SyncFile & sf, Soprano::Model* model = ResourceManager::instance()->mainModel(), QObject* parent = 0 ); /**