summaryrefslogtreecommitdiffstats
path: root/src/imitatepass.cpp
diff options
context:
space:
mode:
authortezeb <tezeb+github@outoftheblue.pl>2017-01-10 00:16:05 +0100
committertezeb <tezeb+github@outoftheblue.pl>2017-01-10 00:16:05 +0100
commitc3f44c2cd1adb36013cc54638e1fd507d5121ad5 (patch)
tree391451bbefb8e2c2c0a3990b018212d49de983c5 /src/imitatepass.cpp
parent0ce664c977155f70ccd6916faae92e945acf4a6d (diff)
fix interface for pass
Diffstat (limited to 'src/imitatepass.cpp')
-rw-r--r--src/imitatepass.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/imitatepass.cpp b/src/imitatepass.cpp
index 1a7f0331..a976fc6e 100644
--- a/src/imitatepass.cpp
+++ b/src/imitatepass.cpp
@@ -370,3 +370,22 @@ void ImitatePass::Copy(const QString src, const QString dest,
reencryptPath(destFileInfo.dir().path());
}
}
+
+/**
+ * @brief ImitatePass::executeGpg easy wrapper for running gpg commands
+ * @param args
+ */
+void ImitatePass::executeGpg(PROCESS id, const QStringList &args, QString input,
+ bool readStdout, bool readStderr) {
+ executeWrapper(id, QtPassSettings::getGpgExecutable(), args, input,
+ readStdout, readStderr);
+}
+/**
+ * @brief ImitatePass::executeGit easy wrapper for running git commands
+ * @param args
+ */
+void ImitatePass::executeGit(PROCESS id, const QStringList &args, QString input,
+ bool readStdout, bool readStderr) {
+ executeWrapper(id, QtPassSettings::getGitExecutable(), args, input,
+ readStdout, readStderr);
+}