mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Fix kqoauth tracked files
.. remove them from git when we shouldn't track them .. no need for multiple .gitignore files
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,14 +1,20 @@
|
||||
Makefile
|
||||
.qmake.stash
|
||||
*.o
|
||||
*.so.*
|
||||
*.so
|
||||
*.a
|
||||
|
||||
# old skool
|
||||
.svn
|
||||
*.pri
|
||||
*.prl
|
||||
|
||||
# osx noise
|
||||
.DS_Store
|
||||
profile
|
||||
|
||||
moc_*
|
||||
moc/
|
||||
obj/
|
||||
lib/
|
||||
|
||||
17
kqoauth/.gitignore
vendored
17
kqoauth/.gitignore
vendored
@@ -1,17 +0,0 @@
|
||||
# ignore Qt/moc files
|
||||
moc_*
|
||||
.qmake.stash
|
||||
|
||||
# ignore other object files
|
||||
*.o
|
||||
|
||||
# shared libs
|
||||
*.so
|
||||
*.so.*
|
||||
*.prl
|
||||
|
||||
#static libs
|
||||
*.a
|
||||
|
||||
# ignore qmake-generated Makefile
|
||||
Makefile
|
||||
@@ -1,6 +0,0 @@
|
||||
QMAKE_PRL_BUILD_DIR = /home/markl/Projects/Live/GoldenCheetah/kqoauth
|
||||
QMAKE_PRO_INPUT = kqoauth.pro
|
||||
QMAKE_PRL_TARGET = libkqoauth.a
|
||||
QMAKE_PRL_CONFIG = lex yacc exceptions depend_includepath testcase_targets import_plugins import_qpa_plugin qt warn_on release link_prl incremental qpa no_mocdepend release qt_no_framework linux unix posix gcc create_prl static have_target staticlib thread opengl moc resources
|
||||
QMAKE_PRL_VERSION = 0.97
|
||||
QMAKE_PRL_LIBS = -lssl -lcrypto -L/home/markl/QT/Qt5.4.0/5.4/gcc_64/lib -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
|
||||
@@ -1,127 +0,0 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'kqoauthauthreplyserver.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "kqoauthauthreplyserver.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'kqoauthauthreplyserver.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.4.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_KQOAuthAuthReplyServer_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata[72];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_KQOAuthAuthReplyServer_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_KQOAuthAuthReplyServer_t qt_meta_stringdata_KQOAuthAuthReplyServer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 22), // "KQOAuthAuthReplyServer"
|
||||
QT_MOC_LITERAL(1, 23, 20), // "verificationReceived"
|
||||
QT_MOC_LITERAL(2, 44, 0), // ""
|
||||
QT_MOC_LITERAL(3, 45, 26) // "QMultiMap<QString,QString>"
|
||||
|
||||
},
|
||||
"KQOAuthAuthReplyServer\0verificationReceived\0"
|
||||
"\0QMultiMap<QString,QString>"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_KQOAuthAuthReplyServer[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void KQOAuthAuthReplyServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
KQOAuthAuthReplyServer *_t = static_cast<KQOAuthAuthReplyServer *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->verificationReceived((*reinterpret_cast< QMultiMap<QString,QString>(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (KQOAuthAuthReplyServer::*_t)(QMultiMap<QString,QString> );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthAuthReplyServer::verificationReceived)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject KQOAuthAuthReplyServer::staticMetaObject = {
|
||||
{ &QTcpServer::staticMetaObject, qt_meta_stringdata_KQOAuthAuthReplyServer.data,
|
||||
qt_meta_data_KQOAuthAuthReplyServer, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *KQOAuthAuthReplyServer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *KQOAuthAuthReplyServer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_KQOAuthAuthReplyServer.stringdata))
|
||||
return static_cast<void*>(const_cast< KQOAuthAuthReplyServer*>(this));
|
||||
return QTcpServer::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int KQOAuthAuthReplyServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QTcpServer::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void KQOAuthAuthReplyServer::verificationReceived(QMultiMap<QString,QString> _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -1,115 +0,0 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'kqoauthauthreplyserver_p.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "kqoauthauthreplyserver_p.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'kqoauthauthreplyserver_p.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.4.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_KQOAuthAuthReplyServerPrivate_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata[65];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_KQOAuthAuthReplyServerPrivate_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_KQOAuthAuthReplyServerPrivate_t qt_meta_stringdata_KQOAuthAuthReplyServerPrivate = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 29), // "KQOAuthAuthReplyServerPrivate"
|
||||
QT_MOC_LITERAL(1, 30, 20), // "onIncomingConnection"
|
||||
QT_MOC_LITERAL(2, 51, 0), // ""
|
||||
QT_MOC_LITERAL(3, 52, 12) // "onBytesReady"
|
||||
|
||||
},
|
||||
"KQOAuthAuthReplyServerPrivate\0"
|
||||
"onIncomingConnection\0\0onBytesReady"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_KQOAuthAuthReplyServerPrivate[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 24, 2, 0x0a /* Public */,
|
||||
3, 0, 25, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void KQOAuthAuthReplyServerPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
KQOAuthAuthReplyServerPrivate *_t = static_cast<KQOAuthAuthReplyServerPrivate *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->onIncomingConnection(); break;
|
||||
case 1: _t->onBytesReady(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject KQOAuthAuthReplyServerPrivate::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_KQOAuthAuthReplyServerPrivate.data,
|
||||
qt_meta_data_KQOAuthAuthReplyServerPrivate, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *KQOAuthAuthReplyServerPrivate::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *KQOAuthAuthReplyServerPrivate::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_KQOAuthAuthReplyServerPrivate.stringdata))
|
||||
return static_cast<void*>(const_cast< KQOAuthAuthReplyServerPrivate*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int KQOAuthAuthReplyServerPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -1,316 +0,0 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'kqoauthmanager.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "kqoauthmanager.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'kqoauthmanager.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.4.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_KQOAuthManager_t {
|
||||
QByteArrayData data[27];
|
||||
char stringdata[445];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_KQOAuthManager_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_KQOAuthManager_t qt_meta_stringdata_KQOAuthManager = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "KQOAuthManager"
|
||||
QT_MOC_LITERAL(1, 15, 12), // "requestReady"
|
||||
QT_MOC_LITERAL(2, 28, 0), // ""
|
||||
QT_MOC_LITERAL(3, 29, 12), // "networkReply"
|
||||
QT_MOC_LITERAL(4, 42, 22), // "authorizedRequestReady"
|
||||
QT_MOC_LITERAL(5, 65, 2), // "id"
|
||||
QT_MOC_LITERAL(6, 68, 26), // "authorizationPageRequested"
|
||||
QT_MOC_LITERAL(7, 95, 7), // "pageUrl"
|
||||
QT_MOC_LITERAL(8, 103, 13), // "receivedToken"
|
||||
QT_MOC_LITERAL(9, 117, 11), // "oauth_token"
|
||||
QT_MOC_LITERAL(10, 129, 18), // "oauth_token_secret"
|
||||
QT_MOC_LITERAL(11, 148, 22), // "temporaryTokenReceived"
|
||||
QT_MOC_LITERAL(12, 171, 21), // "authorizationReceived"
|
||||
QT_MOC_LITERAL(13, 193, 14), // "oauth_verifier"
|
||||
QT_MOC_LITERAL(14, 208, 19), // "accessTokenReceived"
|
||||
QT_MOC_LITERAL(15, 228, 21), // "authorizedRequestDone"
|
||||
QT_MOC_LITERAL(16, 250, 22), // "onRequestReplyReceived"
|
||||
QT_MOC_LITERAL(17, 273, 14), // "QNetworkReply*"
|
||||
QT_MOC_LITERAL(18, 288, 5), // "reply"
|
||||
QT_MOC_LITERAL(19, 294, 32), // "onAuthorizedRequestReplyReceived"
|
||||
QT_MOC_LITERAL(20, 327, 22), // "onVerificationReceived"
|
||||
QT_MOC_LITERAL(21, 350, 26), // "QMultiMap<QString,QString>"
|
||||
QT_MOC_LITERAL(22, 377, 8), // "response"
|
||||
QT_MOC_LITERAL(23, 386, 9), // "slotError"
|
||||
QT_MOC_LITERAL(24, 396, 27), // "QNetworkReply::NetworkError"
|
||||
QT_MOC_LITERAL(25, 424, 5), // "error"
|
||||
QT_MOC_LITERAL(26, 430, 14) // "requestTimeout"
|
||||
|
||||
},
|
||||
"KQOAuthManager\0requestReady\0\0networkReply\0"
|
||||
"authorizedRequestReady\0id\0"
|
||||
"authorizationPageRequested\0pageUrl\0"
|
||||
"receivedToken\0oauth_token\0oauth_token_secret\0"
|
||||
"temporaryTokenReceived\0authorizationReceived\0"
|
||||
"oauth_verifier\0accessTokenReceived\0"
|
||||
"authorizedRequestDone\0onRequestReplyReceived\0"
|
||||
"QNetworkReply*\0reply\0"
|
||||
"onAuthorizedRequestReplyReceived\0"
|
||||
"onVerificationReceived\0"
|
||||
"QMultiMap<QString,QString>\0response\0"
|
||||
"slotError\0QNetworkReply::NetworkError\0"
|
||||
"error\0requestTimeout"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_KQOAuthManager[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
13, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
8, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 79, 2, 0x06 /* Public */,
|
||||
4, 2, 82, 2, 0x06 /* Public */,
|
||||
6, 1, 87, 2, 0x06 /* Public */,
|
||||
8, 2, 90, 2, 0x06 /* Public */,
|
||||
11, 2, 95, 2, 0x06 /* Public */,
|
||||
12, 2, 100, 2, 0x06 /* Public */,
|
||||
14, 2, 105, 2, 0x06 /* Public */,
|
||||
15, 0, 110, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
16, 1, 111, 2, 0x08 /* Private */,
|
||||
19, 1, 114, 2, 0x08 /* Private */,
|
||||
20, 1, 117, 2, 0x08 /* Private */,
|
||||
23, 1, 120, 2, 0x08 /* Private */,
|
||||
26, 0, 123, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QByteArray, 3,
|
||||
QMetaType::Void, QMetaType::QByteArray, QMetaType::Int, 3, 5,
|
||||
QMetaType::Void, QMetaType::QUrl, 7,
|
||||
QMetaType::Void, QMetaType::QString, QMetaType::QString, 9, 10,
|
||||
QMetaType::Void, QMetaType::QString, QMetaType::QString, 9, 10,
|
||||
QMetaType::Void, QMetaType::QString, QMetaType::QString, 9, 13,
|
||||
QMetaType::Void, QMetaType::QString, QMetaType::QString, 9, 10,
|
||||
QMetaType::Void,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, 0x80000000 | 17, 18,
|
||||
QMetaType::Void, 0x80000000 | 17, 18,
|
||||
QMetaType::Void, 0x80000000 | 21, 22,
|
||||
QMetaType::Void, 0x80000000 | 24, 25,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void KQOAuthManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
KQOAuthManager *_t = static_cast<KQOAuthManager *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->requestReady((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
|
||||
case 1: _t->authorizedRequestReady((*reinterpret_cast< QByteArray(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 2: _t->authorizationPageRequested((*reinterpret_cast< QUrl(*)>(_a[1]))); break;
|
||||
case 3: _t->receivedToken((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 4: _t->temporaryTokenReceived((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 5: _t->authorizationReceived((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 6: _t->accessTokenReceived((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 7: _t->authorizedRequestDone(); break;
|
||||
case 8: _t->onRequestReplyReceived((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
|
||||
case 9: _t->onAuthorizedRequestReplyReceived((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
|
||||
case 10: _t->onVerificationReceived((*reinterpret_cast< QMultiMap<QString,QString>(*)>(_a[1]))); break;
|
||||
case 11: _t->slotError((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break;
|
||||
case 12: _t->requestTimeout(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 8:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break;
|
||||
}
|
||||
break;
|
||||
case 9:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break;
|
||||
}
|
||||
break;
|
||||
case 11:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkReply::NetworkError >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (KQOAuthManager::*_t)(QByteArray );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthManager::requestReady)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (KQOAuthManager::*_t)(QByteArray , int );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthManager::authorizedRequestReady)) {
|
||||
*result = 1;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (KQOAuthManager::*_t)(QUrl );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthManager::authorizationPageRequested)) {
|
||||
*result = 2;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (KQOAuthManager::*_t)(QString , QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthManager::receivedToken)) {
|
||||
*result = 3;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (KQOAuthManager::*_t)(QString , QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthManager::temporaryTokenReceived)) {
|
||||
*result = 4;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (KQOAuthManager::*_t)(QString , QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthManager::authorizationReceived)) {
|
||||
*result = 5;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (KQOAuthManager::*_t)(QString , QString );
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthManager::accessTokenReceived)) {
|
||||
*result = 6;
|
||||
}
|
||||
}
|
||||
{
|
||||
typedef void (KQOAuthManager::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthManager::authorizedRequestDone)) {
|
||||
*result = 7;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const QMetaObject KQOAuthManager::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_KQOAuthManager.data,
|
||||
qt_meta_data_KQOAuthManager, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *KQOAuthManager::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *KQOAuthManager::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_KQOAuthManager.stringdata))
|
||||
return static_cast<void*>(const_cast< KQOAuthManager*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int KQOAuthManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 13)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 13;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 13)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 13;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void KQOAuthManager::requestReady(QByteArray _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void KQOAuthManager::authorizedRequestReady(QByteArray _t1, int _t2)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void KQOAuthManager::authorizationPageRequested(QUrl _t1)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void KQOAuthManager::receivedToken(QString _t1, QString _t2)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void KQOAuthManager::temporaryTokenReceived(QString _t1, QString _t2)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void KQOAuthManager::authorizationReceived(QString _t1, QString _t2)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void KQOAuthManager::accessTokenReceived(QString _t1, QString _t2)
|
||||
{
|
||||
void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
void KQOAuthManager::authorizedRequestDone()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -1,125 +0,0 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'kqoauthrequest.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "kqoauthrequest.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'kqoauthrequest.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.4.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_KQOAuthRequest_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata[32];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_KQOAuthRequest_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_KQOAuthRequest_t qt_meta_stringdata_KQOAuthRequest = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "KQOAuthRequest"
|
||||
QT_MOC_LITERAL(1, 15, 15), // "requestTimedout"
|
||||
QT_MOC_LITERAL(2, 31, 0) // ""
|
||||
|
||||
},
|
||||
"KQOAuthRequest\0requestTimedout\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_KQOAuthRequest[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void KQOAuthRequest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
KQOAuthRequest *_t = static_cast<KQOAuthRequest *>(_o);
|
||||
switch (_id) {
|
||||
case 0: _t->requestTimedout(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
void **func = reinterpret_cast<void **>(_a[1]);
|
||||
{
|
||||
typedef void (KQOAuthRequest::*_t)();
|
||||
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KQOAuthRequest::requestTimedout)) {
|
||||
*result = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject KQOAuthRequest::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_KQOAuthRequest.data,
|
||||
qt_meta_data_KQOAuthRequest, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *KQOAuthRequest::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *KQOAuthRequest::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_KQOAuthRequest.stringdata))
|
||||
return static_cast<void*>(const_cast< KQOAuthRequest*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int KQOAuthRequest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void KQOAuthRequest::requestTimedout()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -1,89 +0,0 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'kqoauthrequest_xauth.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include "kqoauthrequest_xauth.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'kqoauthrequest_xauth.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.4.0. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
struct qt_meta_stringdata_KQOAuthRequest_XAuth_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata[21];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_KQOAuthRequest_XAuth_t, stringdata) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_KQOAuthRequest_XAuth_t qt_meta_stringdata_KQOAuthRequest_XAuth = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 20) // "KQOAuthRequest_XAuth"
|
||||
|
||||
},
|
||||
"KQOAuthRequest_XAuth"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_KQOAuthRequest_XAuth[] = {
|
||||
|
||||
// content:
|
||||
7, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void KQOAuthRequest_XAuth::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
const QMetaObject KQOAuthRequest_XAuth::staticMetaObject = {
|
||||
{ &KQOAuthRequest::staticMetaObject, qt_meta_stringdata_KQOAuthRequest_XAuth.data,
|
||||
qt_meta_data_KQOAuthRequest_XAuth, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
|
||||
};
|
||||
|
||||
|
||||
const QMetaObject *KQOAuthRequest_XAuth::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *KQOAuthRequest_XAuth::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return Q_NULLPTR;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_KQOAuthRequest_XAuth.stringdata))
|
||||
return static_cast<void*>(const_cast< KQOAuthRequest_XAuth*>(this));
|
||||
return KQOAuthRequest::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int KQOAuthRequest_XAuth::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = KQOAuthRequest::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
Reference in New Issue
Block a user