mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
22 lines
583 B
C++
22 lines
583 B
C++
|
#include <QDebug>
|
||
|
#include <QMap>
|
||
|
#include <QString>
|
||
|
#include <QStringList>
|
||
|
#if QT_VERSION >= 0x050000
|
||
|
#include <QUrlQuery>
|
||
|
#endif
|
||
|
|
||
|
#include "o2surveymonkey.h"
|
||
|
#include "o2globals.h"
|
||
|
|
||
|
static const char *SMEndpoint = "https://api.surveymonkey.net/oauth/authorize";
|
||
|
static const char *SMTokenUrl = "https://api.surveymonkey.net/oauth/token";
|
||
|
static const quint16 SMLocalPort = 8000;
|
||
|
|
||
|
O2SurveyMonkey::O2SurveyMonkey(QObject *parent): O2(parent) {
|
||
|
setRequestUrl(SMEndpoint);
|
||
|
setTokenUrl(SMTokenUrl);
|
||
|
setLocalPort(SMLocalPort);
|
||
|
setIgnoreSslErrors(true); //needed on Mac
|
||
|
}
|