1
/* Copyright 2011 Pankaj Bhambhani <pankajb64@gmail.com>
3
This library is free software; you can redistribute it and/or modify
4
it under the terms of the GNU Library General Public License as published
5
by the Free Software Foundation; either version 2 of the License or
6
( at your option ) version 3 or, at the discretion of KDE e.V.
7
( which shall act as a proxy as in section 14 of the GPLv3 ), any later version.
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
Boston, MA 02110-1301, USA.
19
#ifndef POSTSLISTJOB_H
20
#define POSTSLISTJOB_H
22
#include "listjobbase.h"
25
class LIBKFACEBOOK_EXPORT PostsListJob : public ListJobBase
29
PostsListJob( const QString &accessToken );
30
QList<PostInfoPtr> posts() const;
31
int numEntries() const;
34
void handleItem( const QVariant& item );
37
QList<PostInfoPtr> mPosts;