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

List:       kde-commits
Subject:    [kdepim-runtime/akregator_port] krsslocal: added buildCollection to header file
From:       Alessandro Cosentino <cosenal () gmail ! com>
Date:       2012-03-31 15:16:46
Message-ID: 20120331151646.4052EA60DF () git ! kde ! org
[Download RAW message or body]

Git commit 273ee235554c2736cd11576603ecc99b084a7d87 by Alessandro Cosentino.
Committed on 18/07/2011 at 04:42.
Pushed by osterfeld into branch 'akregator_port'.

added buildCollection to header file

M  +10   -6    krsslocal/krsslocalresource.h

http://commits.kde.org/kdepim-runtime/273ee235554c2736cd11576603ecc99b084a7=
d87

diff --git a/krsslocal/krsslocalresource.h b/krsslocal/krsslocalresource.h
index 76d5145..b29ff2a 100644
--- a/krsslocal/krsslocalresource.h
+++ b/krsslocal/krsslocalresource.h
@@ -2,16 +2,20 @@
 #define KRSSLOCALRESOURCE_H
 =

 #include <akonadi/resourcebase.h>
+#include <boost/shared_ptr.hpp>
+#include <krssresource/opmlparser.h>
 =

-class krsslocalResource : public Akonadi::ResourceBase,
+class KRssLocalResource : public Akonadi::ResourceBase,
                            public Akonadi::AgentBase::Observer
 {
   Q_OBJECT
 =

   public:
-    krsslocalResource( const QString &id );
-    ~krsslocalResource();
-
+    KRssLocalResource( const QString &id );
+    ~KRssLocalResource();
+    Akonadi::Collection::List buildCollectionTree( QList<boost::shared_ptr=
<const KRssResource::ParsedNode> > listOfNodes, =

+ 				   Akonadi::Collection::List &list, Akonadi::Collection &parent);
+    =

   public Q_SLOTS:
     virtual void configure( WId windowId );
 =

@@ -19,14 +23,14 @@ class krsslocalResource : public Akonadi::ResourceBase,
     void retrieveCollections();
     void retrieveItems( const Akonadi::Collection &col );
     bool retrieveItem( const Akonadi::Item &item, const QSet<QByteArray> &=
parts );
-
+    =

   protected:
     virtual void aboutToQuit();
 =

     virtual void itemAdded( const Akonadi::Item &item, const Akonadi::Coll=
ection &collection );
     virtual void itemChanged( const Akonadi::Item &item, const QSet<QByteA=
rray> &parts );
     virtual void itemRemoved( const Akonadi::Item &item );
-    =

+       =

 };
 =

 #endif

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

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