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

List:       kde-commits
Subject:    playground/pim/akonadi/akonaditemplateloader
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2009-12-30 17:49:24
Message-ID: 1262195364.672243.5392.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1067827 by skelly:

Update for changes in ETM.

 M  +4 -2      akonaditemplateloader.cpp  


--- trunk/playground/pim/akonadi/akonaditemplateloader/akonaditemplateloader.cpp \
#1067826:1067827 @@ -20,7 +20,7 @@
 #include "akonaditemplateloader.h"
 
 #include <akonadi/collection.h>
-#include <akonadi/monitor.h>
+#include <akonadi/changerecorder.h>
 #include <akonadi/session.h>
 #include <akonadi/itemfetchscope.h>
 #include <akonadi/entitytreemodel.h>
@@ -40,8 +40,10 @@
 
   Session *session = new Session( QByteArray( "AkonadiTemplateLoader-" ) + \
QByteArray::number( qrand() ), parent );  
-  m_model = new EntityTreeModel( session, monitor, parent );
+  monitor->setSession( session );
 
+  m_model = new EntityTreeModel( monitor, parent );
+
 }
 
 Grantlee::MutableTemplate AkonadiTemplateLoader::loadMutableByName( const QString \
&name ) const


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

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