OSB_GUI::DlgLogin Class Reference

Inheritance diagram for OSB_GUI::DlgLogin:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::DlgLogin:

Collaboration graph
[legend]
List of all members.

Detailed Description

Dialog to login into a OSB GUI application.

Definition at line 74 of file dlglogin.h.

Public Member Functions

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::DlgLogin::DlgLogin ( QWidget parent = 0,
const char *  name = 0,
bool  modal = false,
WFlags  fl = 0 
)

Constructor with Qt arguments.


Member Function Documentation

void OSB_GUI::DlgLogin::clear (  )  [private, slot]

Clear the widgets.

int OSB_GUI::DlgLogin::exec (  )  [private]

Hide inherited dialog execution function.

int OSB_GUI::DlgLogin::exec ( const OSB_DB::Session session,
OSB_LIB::OsbUser user 
)

Login the OSB user.

Parameters:
session Database session to use.
user Gets the user data.
Returns:
The dialog result: if QDialog::Accepted the user was logged in successfully.

void OSB_GUI::DlgLogin::login (  )  [private, slot]

Login the user.

Accepts the dialog if the login is successful,
else clears the widgets for the next try.


Member Data Documentation

int OSB_GUI::DlgLogin::loginCnt_ [private]

Number of invalid logins.

Definition at line 117 of file dlglogin.h.

const OSB_DB::Session* OSB_GUI::DlgLogin::session_ [private]

Database session to use.

Definition at line 113 of file dlglogin.h.

OSB_LIB::OsbUser* OSB_GUI::DlgLogin::user_ [private]

OSB user to login.

Definition at line 115 of file dlglogin.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:18:42 2006 for OSB Library by  doxygen 1.4.7