##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QAuthenticator.cpp
48 lines | 1.3 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QAuthenticator.h"
#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
{
return theWrappedObject->isNull();
}
bool PythonQtWrapper_QAuthenticator::operator_equal(QAuthenticator* theWrappedObject, const QAuthenticator& other) const
{
return *theWrappedObject == other;
}
QString PythonQtWrapper_QAuthenticator::password(QAuthenticator* theWrappedObject) const
{
return theWrappedObject->password();
}
QString PythonQtWrapper_QAuthenticator::realm(QAuthenticator* theWrappedObject) const
{
return theWrappedObject->realm();
}
void PythonQtWrapper_QAuthenticator::setPassword(QAuthenticator* theWrappedObject, const QString& password)
{
theWrappedObject->setPassword(password);
}
void PythonQtWrapper_QAuthenticator::setUser(QAuthenticator* theWrappedObject, const QString& user)
{
theWrappedObject->setUser(user);
}
QString PythonQtWrapper_QAuthenticator::user(QAuthenticator* theWrappedObject) const
{
return theWrappedObject->user();
}