libqutim  0.3.1.0
qutim_sdk_0_3::PasswordDialog Class Referenceabstract

#include <passworddialog.h>

+ Inheritance diagram for qutim_sdk_0_3::PasswordDialog:

Classes

struct  SetTextArgument
 

Public Types

enum  DialogCode { Rejected, Accepted }
 

Public Member Functions

 PasswordDialog ()
 
virtual ~PasswordDialog ()
 
int exec ()
 
QString login () const
 
QString password () const
 
bool remember () const
 
int result () const
 
void setLoginEditVisible (bool allow)
 
void setSaveButtonVisible (bool allow)
 
virtual void setValidator (QValidator *validator)=0
 

Static Public Member Functions

static PasswordDialogrequest (Account *account)
 
static PasswordDialogrequest (const QString &windowTitle, const QString &description)
 

Protected Types

enum  PasswordDialogHook { SetTextHook = 1, SetShowSaveHook, SetShowLoginHook }
 

Protected Member Functions

void apply (const QString &login, const QString &password, bool remember)
 
void apply (const QString &password, bool remember)
 
void reject ()
 
virtual void setAccount (Account *account)=0
 
virtual void virtual_hook (int id, void *data)
 

Member Enumeration Documentation

Enumerator
Rejected 
Accepted 
Enumerator
SetTextHook 
SetShowSaveHook 
SetShowLoginHook 

Constructor & Destructor Documentation

qutim_sdk_0_3::PasswordDialog::PasswordDialog ( )
explicit
virtual qutim_sdk_0_3::PasswordDialog::~PasswordDialog ( )
virtual

Member Function Documentation

void qutim_sdk_0_3::PasswordDialog::apply ( const QString &  login,
const QString &  password,
bool  remember 
)
protected
void qutim_sdk_0_3::PasswordDialog::apply ( const QString &  password,
bool  remember 
)
protected
int qutim_sdk_0_3::PasswordDialog::exec ( )
QString qutim_sdk_0_3::PasswordDialog::login ( ) const
QString qutim_sdk_0_3::PasswordDialog::password ( ) const
void qutim_sdk_0_3::PasswordDialog::reject ( )
protected
bool qutim_sdk_0_3::PasswordDialog::remember ( ) const
static PasswordDialog* qutim_sdk_0_3::PasswordDialog::request ( Account account)
static
static PasswordDialog* qutim_sdk_0_3::PasswordDialog::request ( const QString &  windowTitle,
const QString &  description 
)
static
int qutim_sdk_0_3::PasswordDialog::result ( ) const
virtual void qutim_sdk_0_3::PasswordDialog::setAccount ( Account account)
protectedpure virtual
void qutim_sdk_0_3::PasswordDialog::setLoginEditVisible ( bool  allow)
void qutim_sdk_0_3::PasswordDialog::setSaveButtonVisible ( bool  allow)
virtual void qutim_sdk_0_3::PasswordDialog::setValidator ( QValidator *  validator)
pure virtual
virtual void qutim_sdk_0_3::PasswordDialog::virtual_hook ( int  id,
void *  data 
)
protectedvirtual

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

Generated by Doxygen