diff options
author | Anne Jan Brouwer <ajbrouwer@totalactivemedia.nl> | 2014-07-31 18:05:41 +0200 |
---|---|---|
committer | Anne Jan Brouwer <ajbrouwer@totalactivemedia.nl> | 2014-07-31 18:05:41 +0200 |
commit | 93df95f743290f9cc94fb752abd6b72cdf236cef (patch) | |
tree | bd02c2779a2ec5c94c0ffce191b9f73624b0968f /dialog.cpp | |
parent | 4a8fa48c29f8283c3905baa187b2908890e31024 (diff) |
settings and shit
Diffstat (limited to 'dialog.cpp')
-rw-r--r-- | dialog.cpp | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/dialog.cpp b/dialog.cpp new file mode 100644 index 00000000..4e6fdb63 --- /dev/null +++ b/dialog.cpp @@ -0,0 +1,57 @@ +#include "dialog.h" +#include "ui_dialog.h" + +/** + * @brief Dialog::Dialog + * @param parent + */ +Dialog::Dialog(QWidget *parent) : + QDialog(parent), + ui(new Ui::Dialog) +{ + ui->setupUi(this); +} + +/** + * @brief Dialog::~Dialog + */ +Dialog::~Dialog() +{ + delete ui; +} + +/** + * @brief Dialog::setPassPath + * @param path + */ +void Dialog::setPassPath(QString path) { + ui->passPath->setText(path); +} + +/** + * @brief Dialog::setGitPath + * @param path + */ +void Dialog::setGitPath(QString path) { + ui->gitPath->setText(path); +} + +/** + * @brief Dialog::setGpgPath + * @param path + */ +void Dialog::setGpgPath(QString path) { + ui->gpgPath->setText(path); +} + +QString Dialog::getPassPath() { + return ui->passPath->text(); +} + +QString Dialog::getGitPath() { + return ui->gitPath->text(); +} + +QString Dialog::getGpgPath() { + return ui->gpgPath->text(); +} |