Commit d813b782 authored by Mike Salmela's avatar Mike Salmela Committed by Raine Makelainen

[vault] Reduce qtaround usage. Fixes JB#49328

Contributes to jb#48218
Use QCommandLineParser for commandline arguments.
Remove qtaround calls from copy and json operations.
parent 2bbd9a4c
This diff is collapsed.
......@@ -8,25 +8,16 @@
* @par License: LGPL 2.1
#include <memory>
#include <QString>
#include <QVariantMap>
namespace qtaround { namespace sys { class GetOpt; }}
namespace vault { namespace unit {
typedef std::unique_ptr<qtaround::sys::GetOpt> options_uptr;
options_uptr getopt();
int execute(options_uptr, QVariantMap const &info);
int execute(QVariantMap const &info);
int runProcess(const QString &program, const QStringList &args);
QString optValue(const QString &arg);
#endif // _CUTES_UNIT_HPP_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment