QtPdCom  1.3.3
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
QtPdCom::LoginManagerPrivate Class Reference

#include <LoginManager_p.h>

Inheritance diagram for QtPdCom::LoginManagerPrivate:
Inheritance graph
[legend]
Collaboration diagram for QtPdCom::LoginManagerPrivate:
Collaboration graph
[legend]

Public Member Functions

 LoginManagerPrivate (const char *server_name, LoginManager *q)
 

Public Attributes

LoginManager *const q_ptr
 

Private Member Functions

std::string getAuthname () override
 
std::string getPassword () override
 
void completed (LoginResult success) override
 
void clearCredentials ()
 
 Q_DECLARE_PUBLIC (LoginManager)
 

Private Attributes

std::string username
 
std::string password
 
bool username_set = false
 
bool password_set = false
 
PdCom::SimpleLoginManager::LoginResult loginResult
 

Constructor & Destructor Documentation

◆ LoginManagerPrivate()

QtPdCom::LoginManagerPrivate::LoginManagerPrivate ( const char *  server_name,
LoginManager q 
)
inline

Member Function Documentation

◆ clearCredentials()

void LoginManagerPrivate::clearCredentials ( )
private

References password, password_set, username, and username_set.

Referenced by completed().

◆ completed()

void LoginManagerPrivate::completed ( LoginResult  success)
overrideprivate

References clearCredentials(), and loginResult.

◆ getAuthname()

std::string LoginManagerPrivate::getAuthname ( )
overrideprivate

References username, and username_set.

◆ getPassword()

std::string LoginManagerPrivate::getPassword ( )
overrideprivate

References password, and password_set.

◆ Q_DECLARE_PUBLIC()

QtPdCom::LoginManagerPrivate::Q_DECLARE_PUBLIC ( LoginManager  )
private

Member Data Documentation

◆ loginResult

PdCom::SimpleLoginManager::LoginResult QtPdCom::LoginManagerPrivate::loginResult
private
Initial value:
=
PdCom::SimpleLoginManager::LoginResult::Success

Referenced by completed().

◆ password

std::string QtPdCom::LoginManagerPrivate::password
private

Referenced by clearCredentials(), and getPassword().

◆ password_set

bool QtPdCom::LoginManagerPrivate::password_set = false
private

Referenced by clearCredentials(), and getPassword().

◆ q_ptr

LoginManager* const QtPdCom::LoginManagerPrivate::q_ptr

◆ username

std::string QtPdCom::LoginManagerPrivate::username
private

Referenced by clearCredentials(), and getAuthname().

◆ username_set

bool QtPdCom::LoginManagerPrivate::username_set = false
private

Referenced by clearCredentials(), and getAuthname().


The documentation for this class was generated from the following files: