MoleQueue  0.8.0
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()

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

Member Function Documentation

◆ id()

int id ( ) const
Returns
The prompt ID

◆ prompt()

QString prompt ( ) const
Returns
The prompt to display to the user for example "Password".

◆ setUserResponse()

void setUserResponse ( const QString &  response)
Parameters
Setthe value the user has entered for this prompt.

◆ userResponse()

QString userResponse ( ) const
Returns
The value the user entered for this prompt.

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