##// END OF EJS Templates
added new tests for new PythonQt features...
added new tests for new PythonQt features git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@73 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r37:5bd99c632a3f
Show More
PythonQtWrapper_QAuthenticator.cpp
51 lines | 1.4 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QAuthenticator.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.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;
}
void PythonQtWrapper_QAuthenticator::setPassword(QAuthenticator* theWrappedObject, const QString& password)
{
theWrappedObject->setPassword(password);
}
QString PythonQtWrapper_QAuthenticator::password(QAuthenticator* theWrappedObject) const
{
return theWrappedObject->password();
}
QString PythonQtWrapper_QAuthenticator::user(QAuthenticator* theWrappedObject) const
{
return theWrappedObject->user();
}
void PythonQtWrapper_QAuthenticator::setUser(QAuthenticator* theWrappedObject, const QString& user)
{
theWrappedObject->setUser(user);
}
QString PythonQtWrapper_QAuthenticator::realm(QAuthenticator* theWrappedObject) const
{
return theWrappedObject->realm();
}