File indexing completed on 2025-01-19 03:55:40
0001 #include <QDebug> 0002 #include <QMap> 0003 #include <QString> 0004 #include <QStringList> 0005 #if QT_VERSION >= 0x050000 0006 #include <QUrlQuery> 0007 #endif 0008 0009 #include "o2surveymonkey.h" 0010 0011 static const char *SMEndpoint = "https://api.surveymonkey.net/oauth/authorize"; 0012 static const char *SMTokenUrl = "https://api.surveymonkey.net/oauth/token"; 0013 static const quint16 SMLocalPort = 8000; 0014 0015 O2SurveyMonkey::O2SurveyMonkey(QObject *parent): O2(parent) { 0016 setRequestUrl(SMEndpoint); 0017 setTokenUrl(SMTokenUrl); 0018 setLocalPort(SMLocalPort); 0019 setIgnoreSslErrors(true); //needed on Mac 0020 } 0021 0022 #include "moc_o2surveymonkey.cpp"