digiKam
vkontakte_grouplistjob.h
Go to the documentation of this file.
1
/* ============================================================
2
*
3
* This file is a part of digiKam project
4
* https://www.digikam.org
5
*
6
* Date : 2011-02-19
7
* Description : a tool to export images to VKontakte web service
8
*
9
* Copyright (C) 2011-2015 by Alexander Potashev <aspotashev at gmail dot com>
10
* Copyright (C) 2011-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
*
12
* This program is free software; you can redistribute it
13
* and/or modify it under the terms of the GNU General
14
* Public License as published by the Free Software Foundation;
15
* either version 2, or (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
21
*
22
* ============================================================ */
23
24
#ifndef DIGIKAM_VKONTAKTE_GROUPLISTJOB_H
25
#define DIGIKAM_VKONTAKTE_GROUPLISTJOB_H
26
27
// Local includes
28
29
#include "
vkontakte_jobs.h
"
30
#include "
vkontakte_groupinfo.h
"
31
32
namespace
Vkontakte
33
{
34
35
// https://vk.com/dev/groups.get
36
// TODO: for how many groups does this method work?
37
class
GroupListJob :
public
VkontakteJob
38
{
39
Q_OBJECT
40
41
public
:
42
43
// This class was never used, will be removed later
44
Q_DECL_DEPRECATED
explicit
GroupListJob(
const
QString& accessToken,
int
uid = -1,
bool
extended =
true
);
45
~GroupListJob();
46
47
QList<GroupInfoPtr>
list()
const
;
48
49
protected
:
50
51
GroupInfoPtr handleSingleData(
const
QVariant& data);
52
void
handleData(
const
QVariant& data)
override
;
53
54
private
:
55
56
class
Private;
57
Private*
const
d;
58
};
59
60
}
// namespace Vkontakte
61
62
#endif
// DIGIKAM_VKONTAKTE_GROUPLISTJOB_H
QList
Definition:
piwigotalker.h:48
vkontakte_groupinfo.h
vkontakte_jobs.h
core
dplugins
generic
webservices
vkontakte
backend
deprecated
vkontakte_grouplistjob.h
Generated by
1.9.1