QtPass  1.2.0-pre
Multi-platform GUI for pass, the standard unix password manager.
Public Slots | Public Member Functions | List of all members
PasswordDialog Class Reference

PasswordDialog Handles the inserting and editing of passwords. More...

#include <passworddialog.h>

+ Inheritance diagram for PasswordDialog:
+ Collaboration diagram for PasswordDialog:

Public Slots

void setPass (const QString &output)
 

Public Member Functions

 PasswordDialog (const passwordConfiguration &passConfig, QWidget *parent=0)
 PasswordDialog::PasswordDialog basic constructor. More...
 
 ~PasswordDialog ()
 PasswordDialog::~PasswordDialog basic destructor. More...
 
void setPassword (QString password)
 Sets content in the password field in the interface. More...
 
QString getPassword ()
 Returns the password as set in the password field in the interface. More...
 
void setTemplate (QString)
 Sets content in the template for the interface. More...
 
void setFile (QString)
 Sets the file (name) in the interface. More...
 
void useTemplate (bool useTemplate)
 PasswordDialog::useTemplate basic setter for use in PasswordDialog::useTemplate templating. More...
 
void templateAll (bool templateAll)
 PasswordDialog::templateAll basic setter for use in PasswordDialog::setPassword templating all tokenisable lines. More...
 
void setLength (int l)
 PasswordDialog::setLength PasswordDialog::setLength password length. More...
 
void setPasswordCharTemplate (int t)
 PasswordDialog::setPasswordCharTemplate PasswordDialog::setPasswordCharTemplate chose the template style. More...
 
void usePwgen (bool usePwgen)
 PasswordDialog::usePwgen PasswordDialog::usePwgen don't use own password generator. More...
 

Detailed Description

PasswordDialog Handles the inserting and editing of passwords.

Includes templated views.

Definition at line 19 of file passworddialog.h.

Constructor & Destructor Documentation

◆ PasswordDialog()

PasswordDialog::PasswordDialog ( const passwordConfiguration passConfig,
QWidget *  parent = 0 
)
explicit

PasswordDialog::PasswordDialog basic constructor.

Parameters
passConfigconfiguration constant
parent

Definition at line 14 of file passworddialog.cpp.

+ Here is the call graph for this function:

◆ ~PasswordDialog()

PasswordDialog::~PasswordDialog ( )

PasswordDialog::~PasswordDialog basic destructor.

Definition at line 27 of file passworddialog.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ getPassword()

QString PasswordDialog::getPassword ( )

Returns the password as set in the password field in the interface.

PasswordDialog::getPassword join the (templated) fields to a QString for writing back.

Returns
password as a QString
See also
setPassword
Returns
collappsed password.

Definition at line 110 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ setFile()

void PasswordDialog::setFile ( QString  file)

Sets the file (name) in the interface.

PasswordDialog::setFile show which (password) file we are editing.

Parameters
filename as a QString
file

Definition at line 148 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ setLength()

void PasswordDialog::setLength ( int  l)

PasswordDialog::setLength PasswordDialog::setLength password length.

Parameters
l

Definition at line 171 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ setPass

void PasswordDialog::setPass ( const QString &  output)
slot

Definition at line 192 of file passworddialog.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPassword()

void PasswordDialog::setPassword ( QString  password)

Sets content in the password field in the interface.

PasswordDialog::setPassword populate the (templated) fields.

Parameters
passwordthe password as a QString
See also
getPassword
Parameters
password

Definition at line 60 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ setPasswordCharTemplate()

void PasswordDialog::setPasswordCharTemplate ( int  t)

PasswordDialog::setPasswordCharTemplate PasswordDialog::setPasswordCharTemplate chose the template style.

Parameters
t

Definition at line 178 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ setTemplate()

void PasswordDialog::setTemplate ( QString  rawFields)

Sets content in the template for the interface.

PasswordDialog::setTemplate set the template and create the fields.

Parameters
rawFieldsis the template as a QString
rawFields

Definition at line 130 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ templateAll()

void PasswordDialog::templateAll ( bool  templateAll)

PasswordDialog::templateAll basic setter for use in PasswordDialog::setPassword templating all tokenisable lines.

Parameters
templateAll

Definition at line 157 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ usePwgen()

void PasswordDialog::usePwgen ( bool  usePwgen)

PasswordDialog::usePwgen PasswordDialog::usePwgen don't use own password generator.

Parameters
usePwgen

Definition at line 187 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ useTemplate()

void PasswordDialog::useTemplate ( bool  useTemplate)

PasswordDialog::useTemplate basic setter for use in PasswordDialog::useTemplate templating.

Parameters
useTemplate

Definition at line 164 of file passworddialog.cpp.

+ Here is the caller graph for this function:

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