Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AuthWidget Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings/ppp/authwidget.h>

Collaboration diagram for AuthWidget:

Collaboration graph
[legend]
List of all members.

Public Slots

bool check ()
void save ()

Public Member Functions

 AuthWidget (PPPData *, QWidget *parent=0, bool isnewaccount=true, const char *name=0)
 ~AuthWidget ()

Private Slots

void authChanged (const QString &)
void showUsernamePassword (bool)
void showScriptWindow (bool)
void toggleEchoMode (bool)

Private Attributes

ScriptWidgetscriptWidget
PPPData_pppdata
bool isNewAccount
QGridLayout * layout
QComboBox * auth
QLabel * auth_l
QLabel * user_l
QLineEdit * userName
QLabel * pw_l
QLineEdit * passWord
QToolButton * hidePw
QCheckBox * store_password

Constructor & Destructor Documentation

AuthWidget::AuthWidget PPPData ,
QWidget *  parent = 0,
bool  isnewaccount = true,
const char *  name = 0
 

Definition at line 39 of file authwidget.cpp.

References _pppdata, add, auth, auth_l, AUTH_PAPCHAP, authChanged(), PPPData::authMethod(), hidePw, image0_data, isNewAccount, layout, passWord, pw_l, store_password, PPPData::storedPassword(), PPPData::storedUsername(), PPPData::storePassword(), toggleEchoMode(), tr, user_l, and userName.

AuthWidget::~AuthWidget  )  [inline]
 

Definition at line 19 of file authwidget.h.


Member Function Documentation

void AuthWidget::authChanged const QString  )  [private, slot]
 

Definition at line 147 of file authwidget.cpp.

References odebug, oendl, showScriptWindow(), showUsernamePassword(), and tr.

Referenced by AuthWidget().

bool AuthWidget::check  )  [slot]
 

Definition at line 125 of file authwidget.cpp.

References ScriptWidget::check(), scriptWidget, and tr.

Referenced by AccountWidget::doTab().

void AuthWidget::save  )  [slot]
 

Definition at line 137 of file authwidget.cpp.

References _pppdata, auth, passWord, ScriptWidget::save(), scriptWidget, PPPData::setAuthMethod(), PPPData::setStoredPassword(), PPPData::setStoredUsername(), PPPData::setStorePassword(), store_password, and userName.

Referenced by AccountWidget::doTab().

void AuthWidget::showScriptWindow bool   )  [private, slot]
 

Definition at line 184 of file authwidget.cpp.

References _pppdata, isNewAccount, layout, and scriptWidget.

Referenced by authChanged().

void AuthWidget::showUsernamePassword bool  show  )  [private, slot]
 

show

Definition at line 165 of file authwidget.cpp.

References hidePw, passWord, pw_l, store_password, user_l, and userName.

Referenced by authChanged().

void AuthWidget::toggleEchoMode bool   )  [private, slot]
 

Definition at line 197 of file authwidget.cpp.

References Dasher::Opts::Normal, and passWord.

Referenced by AuthWidget().


Member Data Documentation

PPPData* AuthWidget::_pppdata [private]
 

Definition at line 33 of file authwidget.h.

Referenced by AuthWidget(), save(), and showScriptWindow().

QComboBox* AuthWidget::auth [private]
 

Definition at line 36 of file authwidget.h.

Referenced by AuthWidget(), and save().

QLabel* AuthWidget::auth_l [private]
 

Definition at line 37 of file authwidget.h.

Referenced by AuthWidget().

QToolButton* AuthWidget::hidePw [private]
 

Definition at line 42 of file authwidget.h.

Referenced by AuthWidget(), and showUsernamePassword().

bool AuthWidget::isNewAccount [private]
 

Definition at line 34 of file authwidget.h.

Referenced by AuthWidget(), and showScriptWindow().

QGridLayout* AuthWidget::layout [private]
 

Definition at line 35 of file authwidget.h.

Referenced by AuthWidget(), and showScriptWindow().

QLineEdit* AuthWidget::passWord [private]
 

Definition at line 41 of file authwidget.h.

Referenced by AuthWidget(), save(), showUsernamePassword(), and toggleEchoMode().

QLabel* AuthWidget::pw_l [private]
 

Definition at line 40 of file authwidget.h.

Referenced by AuthWidget(), and showUsernamePassword().

ScriptWidget* AuthWidget::scriptWidget [private]
 

Definition at line 32 of file authwidget.h.

Referenced by check(), save(), and showScriptWindow().

QCheckBox* AuthWidget::store_password [private]
 

Definition at line 43 of file authwidget.h.

Referenced by AuthWidget(), save(), and showUsernamePassword().

QLabel* AuthWidget::user_l [private]
 

Definition at line 38 of file authwidget.h.

Referenced by AuthWidget(), and showUsernamePassword().

QLineEdit* AuthWidget::userName [private]
 

Definition at line 39 of file authwidget.h.

Referenced by AuthWidget(), save(), and showUsernamePassword().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:26:58 2005 for OPIE by  doxygen 1.4.2