1
/****************************************************************************
3
** Copyright (C) 2015 Canonical Ltd.
5
** Contact: Renato Araujo Oliveira Filho <renato.filho@canonical.com>
7
** This program/library is free software; you can redistribute it and/or
8
** modify it under the terms of the GNU Lesser General Public License
9
** version 2.1 as published by the Free Software Foundation.
11
** This program/library is distributed in the hope that it will be useful,
12
** but WITHOUT ANY WARRANTY; without even the implied warranty of
13
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
** Lesser General Public License for more details.
16
** You should have received a copy of the GNU Lesser General Public
17
** License along with this program/library; if not, write to the Free
18
** Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21
****************************************************************************/
23
#ifndef GOOGLECONTACTGRUOPMAP_H
24
#define GOOGLECONTACTGRUOPMAP_H
34
#include <QtNetwork/QNetworkAccessManager>
38
class GContactGroupMap: public QObject
43
explicit GContactGroupMap(const QString &authToken, QObject *parent = 0);
52
void onRequestFinished(QNetworkReply *reply);
55
QScopedPointer<QNetworkAccessManager> mNetworkAccessManager;
57
QMap<QString, QString> mGroups;
60
#endif // GOOGLECONTACTGRUOPMAP_H