#include <accountinfo.h>
class NokiaAccount::AccountInfo : public QObject, public QObject |
Class holds the data associated with the current account.
Public Member Functions | |
---|---|
AccountInfo(QObject *) | |
AccountInfo(const AccountInfo &, QObject *) | |
AccountInfo(const AccountInfoData &, QObject *) | |
AccountInfo(QByteArray &) | |
~AccountInfo() | |
QString | emailAddress() |
bool | emailVerified() |
QString | mobilePhoneNumber() |
bool | mobilePhoneVerified() |
QByteArray | serialize() |
void | setEmailAddress(const QString &) |
void | setMobilePhoneNumber(const QString &) |
QString | userName() |
Inherited Attributes | |
---|---|
QObject::d_ptr | |
QObject::objectName | |
QObject::staticQtMetaObject |
Inherited Functions | |
---|---|
QObject::QObject(QObjectPrivate &,QObject *) | |
QObject::blockSignals(bool) | |
QObject::childEvent(QChildEvent *) | |
QObject::children()const | |
QObject::connect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &,Qt::ConnectionType) | |
QObject::connect(const QObject *,const char *,const QObject *,const char *,Qt::ConnectionType) | |
QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType)const | |
QObject::connectNotify(const char *) | |
QObject::customEvent(QEvent *) | |
QObject::deleteLater | |
QObject::destroyed | |
QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &) | |
QObject::disconnect(const QObject *,const char *) | |
QObject::disconnect(const QObject *,const char *,const QObject *,const char *) | |
QObject::disconnect(const char *,const QObject *,const char *) | |
QObject::disconnectNotify(const char *) | |
QObject::dumpObjectInfo() | |
QObject::dumpObjectTree() | |
QObject::dynamicPropertyNames()const | |
QObject::event(QEvent *) | |
QObject::eventFilter(QObject *,QEvent *) | |
QObject::findChild(const QString &)const | |
QObject::findChildren(const QRegExp &)const | |
QObject::findChildren(const QString &)const | |
QObject::inherits(const char *)const | |
QObject::installEventFilter(QObject *) | |
QObject::isWidgetType()const | |
QObject::killTimer(int) | |
QObject::moveToThread(QThread *) | |
QObject::objectName()const | |
QObject::parent()const | |
QObject::property(const char *)const | |
QObject::receivers(const char *)const | |
QObject::registerUserData() | |
QObject::removeEventFilter(QObject *) | |
QObject::sender()const | |
QObject::senderSignalIndex()const | |
QObject::setObjectName(const QString &) | |
QObject::setParent(QObject *) | |
QObject::setProperty(const char *,const QVariant &) | |
QObject::setUserData(uint,QObjectUserData *) | |
QObject::signalsBlocked()const | |
QObject::startTimer(int) | |
QObject::thread()const | |
QObject::timerEvent(QTimerEvent *) | |
QObject::userData(uint)const | |
QObject::~QObject() |
The AccountInfo class stores the account details like account holder's mobile number, email address and username. Setters and getters are available for the same. It also keeps track if the email address and phone number have been verified.
AccountInfo | ( | QObject * | parent = 0 | ) |
Constructor
Constructor.
AccountInfo | ( | const AccountInfoData & | accountInfoData, |
QObject * | parent = 0 | ||
) |
Constructor
Constructor.
AccountInfo | ( | QByteArray & | aSerializedData | ) |
Destructor
QString | emailAddress | ( | ) | const |
Getter for the email address.
bool | emailVerified | ( | ) | const |
Getter for the email verification status.
APIs to check if the email id and phone number has been verified.
QString | mobilePhoneNumber | ( | ) | const |
Getter for the phone number.
bool | mobilePhoneVerified | ( | ) | const |
Getter for the phone number verification status.
void | setEmailAddress | ( | const QString & | emailAddress | ) |
Setter for the email address.
Getter and Setter for the account email id.
Parameters | |
---|---|
emailAddress | Takes a QString for the email address. |