diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-11-24 00:44:37 +0100 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-11-24 00:44:37 +0100 |
commit | 19e48a93df1eccf10c4b87de6d46b6f234a18639 (patch) | |
tree | ceec65013f3650c0f02135fb1ce9675f14db34a3 /util.h | |
parent | f0dbb325ac80d23c8e025885ef56117e9caabd81 (diff) |
This should fix about half
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -5,17 +5,18 @@ #include <QProcessEnvironment> class Util { -public: - static QString findBinaryInPath(QString); + public: + static QString findBinaryInPath(QString binary); static QString findPasswordStore(); - static QString normalizeFolderPath(QString); - static bool checkConfig(QString, QString, QString); + static QString normalizeFolderPath(QString path); + static bool checkConfig(QString passStore, QString passExecutable, + QString gpgExecutable); static void qSleep(int); -private: + private: static void initialiseEnvironment(); static QProcessEnvironment _env; static bool _envInitialised; }; -#endif // UTIL_H +#endif // UTIL_H_ |