summaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2016-12-06 18:54:23 +0100
committerAnne Jan Brouwer <brouwer@annejan.com>2016-12-06 18:54:23 +0100
commite24dab682373dcbaadce2d76995069212627a022 (patch)
tree9af376fac48e933d688df8cbc98e62dfaffa2063 /mainwindow.cpp
parent5ba845a6cd1d0631ed2ba7d2400e1e0f651f186b (diff)
Missing documentation
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 8d884413..e6b84ac4 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -1550,15 +1550,30 @@ void MainWindow::showStatusMessage(QString msg, int timeout) {
ui->statusBar->showMessage(msg, timeout);
}
+/**
+ * @brief MainWindow::startReencryptPath disable ui elements and treeview
+ */
void MainWindow::startReencryptPath() {
enableUiElements(false);
ui->treeView->setDisabled(true);
}
+/**
+ * @brief MainWindow::endReencryptPath re-enable ui elements
+ */
void MainWindow::endReencryptPath() { enableUiElements(true); }
+/**
+ * @brief MainWindow::critical critical message popup wrapper.
+ * @param title
+ * @param msg
+ */
void MainWindow::critical(QString title, QString msg) {
QMessageBox::critical(this, title, msg);
}
+/**
+ * @brief MainWindow::setLastDecrypt set the last decrypted data
+ * @param msg
+ */
void MainWindow::setLastDecrypt(QString msg) { lastDecrypt = msg; }