[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/nepomuk/services/queryservice
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2010-09-22 13:55:04
Message-ID: 20100922135504.A25D7AC888 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1178248 by trueg:

Register QList<QUrl> which is used in queued connections

 M  +5 -0      queryservice.cpp  


--- trunk/KDE/kdebase/runtime/nepomuk/services/queryservice/queryservice.cpp #1178247:1178248
@@ -36,6 +36,7 @@
 #include <Nepomuk/Query/Query>
 #include <Nepomuk/Query/QueryParser>
 
+Q_DECLARE_METATYPE( QList<QUrl> )
 
 NEPOMUK_EXPORT_SERVICE( Nepomuk::Query::QueryService, "nepomukqueryservice" )
 
@@ -49,7 +50,11 @@
     s_searchThreadPool = new QThreadPool( this );
     s_searchThreadPool->setMaxThreadCount( 10 );
 
+    // register types used in the DBus adaptor
     Nepomuk::Query::registerDBusTypes();
+
+    // register type used to communicate removeEntries between threads
+    qRegisterMetaType<QList<QUrl> >();
 }
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic