diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2016-06-09 22:56:55 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2016-06-09 22:56:55 +0200 |
commit | 35d29ba42d9df3c7778e5bc2311ca45afd2c4cc0 (patch) | |
tree | bb851caf66cdb01d38fb68607c5cfb9661a11a3b | |
parent | 41dc8573159794dddc93f1fedd338432690e314f (diff) |
Start at documenting password dialog
-rw-r--r-- | passworddialog.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/passworddialog.h b/passworddialog.h index 292f4ddb..3cee94c6 100644 --- a/passworddialog.h +++ b/passworddialog.h @@ -20,10 +20,29 @@ class PasswordDialog : public QDialog { public: explicit PasswordDialog(MainWindow *parent = 0); ~PasswordDialog(); - void setPassword(QString); + + /*! Sets content in the password field in the interface. + \param password the password as a QString + \sa getPassword + */ + void setPassword(QString password); + + /*! Returns the password as set in the password field in the interface. + \return password as a QString + \sa setPassword + */ QString getPassword(); + + /*! Sets content in the template for the interface. + \param template is the template as a QString + */ void setTemplate(QString); + + /*! Sets the file (name) in the interface. + \param file name as a QString + */ void setFile(QString); + void useTemplate(bool useTemplate); void templateAll(bool templateAll); |