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

PinDialog Class Reference

PIN input graphical widget. More...

Collaboration diagram for PinDialog:

Collaboration graph
[legend]
List of all members.

Signals

void passwordEntered (const QString &)
 emitted when we press the Enter button
void skip ()
 emitted when we press the Skip button

Public Member Functions

 PinDialog (QWidget *parent=0, const char *name=0, WFlags fl=0)
 Constructs a PinDialog widget, and initializes things.
 ~PinDialog ()
 nothing to do
void clear ()
void setPrompt (const QString &)

Protected Member Functions

bool eventFilter (QObject *, QEvent *)
 Record the pressed numbers, and the Skip and Enter commands.

Private Member Functions

void input (QString)

Private Attributes

QString text

Friends

class PinPlugin

Detailed Description

PIN input graphical widget.

Inherits the PinDialogBase class defined originally in pinDialogBase.ui interface file.

See also:
PinDlg and PinDialog (the class generated from the .ui file) It comes from the original PIN locking code in Opie :

http://dudu.dyn.2-h.org/opiedoxydoc/library_2password_8cpp-source.html

Definition at line 56 of file pin.cpp.


Constructor & Destructor Documentation

PinDialog::PinDialog QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Constructs a PinDialog widget, and initializes things.

Definition at line 84 of file pin.cpp.

References f, and oApp.

PinDialog::~PinDialog  ) 
 

nothing to do

Definition at line 113 of file pin.cpp.


Member Function Documentation

void PinDialog::clear  ) 
 

Definition at line 148 of file pin.cpp.

References input(), and text.

Referenced by PinDlg::reset().

bool PinDialog::eventFilter QObject *  ,
QEvent * 
[protected]
 

Record the pressed numbers, and the Skip and Enter commands.

Definition at line 119 of file pin.cpp.

References FALSE, input(), isSkip, l, passwordEntered(), skip(), text, and TRUE.

void PinDialog::input QString   )  [private]
 

Definition at line 137 of file pin.cpp.

References text.

Referenced by clear(), and eventFilter().

void PinDialog::passwordEntered const QString  )  [signal]
 

emitted when we press the Enter button

Referenced by eventFilter().

void PinDialog::setPrompt const QString  ) 
 

Definition at line 143 of file pin.cpp.

Referenced by PinPlugin::getPIN().

void PinDialog::skip  )  [signal]
 

emitted when we press the Skip button

Referenced by eventFilter().


Friends And Related Function Documentation

friend class PinPlugin [friend]
 

Definition at line 78 of file pin.cpp.


Member Data Documentation

QString PinDialog::text [private]
 

Definition at line 79 of file pin.cpp.

Referenced by PinPlugin::authenticate(), clear(), eventFilter(), PinPlugin::getPIN(), and input().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:44:43 2005 for OPIE by  doxygen 1.4.2