PythonQtWrapper_QAuthenticator.cpp
51 lines
| 1.4 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QAuthenticator.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qauthenticator.h> | ||||
QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator() | ||||
{ | ||||
return new QAuthenticator(); } | ||||
QAuthenticator* PythonQtWrapper_QAuthenticator::new_QAuthenticator(const QAuthenticator& other) | ||||
{ | ||||
return new QAuthenticator(other); } | ||||
bool PythonQtWrapper_QAuthenticator::isNull(QAuthenticator* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->isNull(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | bool PythonQtWrapper_QAuthenticator::operator_equal(QAuthenticator* theWrappedObject, const QAuthenticator& other) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return (*theWrappedObject)== other; | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QAuthenticator::setPassword(QAuthenticator* theWrappedObject, const QString& password) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setPassword(password); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QAuthenticator::password(QAuthenticator* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->password(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QAuthenticator::user(QAuthenticator* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->user(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QAuthenticator::setUser(QAuthenticator* theWrappedObject, const QString& user) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setUser(user); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QAuthenticator::realm(QAuthenticator* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->realm(); | ||
florianlink
|
r13 | } | ||