MoleQueue  0.8.0
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
Prompt Class Reference

#include <authenticateresponse.h>

Public Member Functions

 Prompt (int id, const QString prompt)
 
 Prompt (const Prompt &p)
 
int id () const
 
QString prompt () const
 
void setUserResponse (const QString &response)
 
QString userResponse () const
 

Detailed Description

class used to model a UIT prompt.

Constructor & Destructor Documentation

Prompt ( int  id,
const QString  prompt 
)
Parameters
idThe prompt is provided by UIT.
promptThe prompt string for example "Password".

Member Function Documentation

int id ( ) const
Returns
The prompt ID
QString prompt ( ) const
Returns
The prompt to display to the user for example "Password".
void setUserResponse ( const QString &  response)
Parameters
Setthe value the user has entered for this prompt.
QString userResponse ( ) const
Returns
The value the user entered for this prompt.

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