summaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
authortezeb <tezeb+github@outoftheblue.pl>2016-12-04 22:43:17 +0100
committertezeb <tezeb+github@outoftheblue.pl>2016-12-04 22:43:17 +0100
commitb11e71d331310c27fde3e53a098ba108bc8f0f61 (patch)
tree41b32b214ec97a11b131aab221bf687c59125e64 /mainwindow.h
parentaa0eb00e50d732a7fc00fd56b2c10d41a2053a7c (diff)
Use new executor in Pass
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 64abe785..f09d4e98 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -65,13 +65,13 @@ public slots:
void deselect();
private slots:
- void on_updateButton_clicked();
+ void on_updateButton_clicked(bool block = false);
void on_pushButton_clicked();
void on_treeView_clicked(const QModelIndex &index);
void on_treeView_doubleClicked(const QModelIndex &index);
void on_configButton_clicked();
- void readyRead(bool finished);
- void processFinished(int, QProcess::ExitStatus);
+ void readyRead(const QString &, const QString &);
+ void processFinished(int, const QString &, const QString &);
void processError(QProcess::ProcessError);
void clearClipboard();
void clearPanel(bool notify);
@@ -97,6 +97,9 @@ private slots:
void endReencryptPath();
void critical(QString, QString);
void setLastDecrypt(QString);
+ void passShowHandler(const QString &);
+
+ void processErrorExit(const QString &);
private:
QAction *actionAddPassword;
@@ -114,7 +117,6 @@ private:
QTimer clearClipboardTimer;
actionType currentAction;
QString lastDecrypt;
- QQueue<execQueueItem> *execQueue;
bool freshStart;
QDialog *keygen;
QString currentDir;
@@ -141,6 +143,8 @@ private:
void reencryptPath(QString dir);
void addToGridLayout(int position, const QString &field,
const QString &value);
+ void DisplayInTextBrowser(QString toShow, QString prefix = QString(),
+ QString postfix = QString());
};
#endif // MAINWINDOW_H_