QtPass  1.3.3
Multi-platform GUI for pass, the standard unix password manager.
realpass.h
Go to the documentation of this file.
1 #ifndef REALPASS_H
2 #define REALPASS_H
3 
4 #include "pass.h"
5 
10 class RealPass : public Pass {
11  void executePass(PROCESS id, const QStringList &args,
12  QString input = QString(), bool readStdout = true,
13  bool readStderr = true);
14 
15 public:
17  virtual ~RealPass() {}
18  virtual void GitInit() Q_DECL_OVERRIDE;
19  virtual void GitPull() Q_DECL_OVERRIDE;
20  virtual void GitPull_b() Q_DECL_OVERRIDE;
21  virtual void GitPush() Q_DECL_OVERRIDE;
22  virtual void Show(QString file) Q_DECL_OVERRIDE;
23  virtual void OtpGenerate(QString file) Q_DECL_OVERRIDE;
24  virtual void Insert(QString file, QString newValue,
25  bool overwrite = false) Q_DECL_OVERRIDE;
26  virtual void Remove(QString file, bool isDir = false) Q_DECL_OVERRIDE;
27  virtual void Init(QString path, const QList<UserInfo> &users) Q_DECL_OVERRIDE;
28 
29  // Pass interface
30 public:
31  void Move(const QString src, const QString dest,
32  const bool force = false) Q_DECL_OVERRIDE;
33  void Copy(const QString src, const QString dest,
34  const bool force = false) Q_DECL_OVERRIDE;
35 };
36 
37 #endif // REALPASS_H
RealPass::Init
virtual void Init(QString path, const QList< UserInfo > &users) Q_DECL_OVERRIDE
RealPass::Init initialize pass repository.
Definition: realpass.cpp:80
RealPass::~RealPass
virtual ~RealPass()
Definition: realpass.h:17
RealPass::GitPull
virtual void GitPull() Q_DECL_OVERRIDE
RealPass::GitPull pass git pull wrapper.
Definition: realpass.cpp:28
RealPass::GitPull_b
virtual void GitPull_b() Q_DECL_OVERRIDE
RealPass::GitInit pass git pull wrapper which blocks until process finishes.
Definition: realpass.cpp:21
RealPass::Remove
virtual void Remove(QString file, bool isDir=false) Q_DECL_OVERRIDE
RealPass::Remove pass remove wrapper.
Definition: realpass.cpp:70
RealPass::GitPush
virtual void GitPush() Q_DECL_OVERRIDE
RealPass::GitPush pass git push wrapper.
Definition: realpass.cpp:33
Enums::PROCESS
PROCESS
Definition: enums.h:16
RealPass::Copy
void Copy(const QString src, const QString dest, const bool force=false) Q_DECL_OVERRIDE
RealPass::Copy copy a file (or folder)
Definition: realpass.cpp:141
RealPass::OtpGenerate
virtual void OtpGenerate(QString file) Q_DECL_OVERRIDE
RealPass::OtpGenerate pass otp.
Definition: realpass.cpp:52
RealPass::GitInit
virtual void GitInit() Q_DECL_OVERRIDE
RealPass::GitInit pass git init wrapper.
Definition: realpass.cpp:15
RealPass::Move
void Move(const QString src, const QString dest, const bool force=false) Q_DECL_OVERRIDE
RealPass::Move move a file (or folder)
Definition: realpass.cpp:100
RealPass::RealPass
RealPass()
RealPass::Insert
virtual void Insert(QString file, QString newValue, bool overwrite=false) Q_DECL_OVERRIDE
RealPass::Insert pass insert.
Definition: realpass.cpp:59
RealPass
Wrapper for executing pass to handle the password-store.
Definition: realpass.h:10
UserInfo
Stores key info lines including validity, creation date and more.
Definition: userinfo.h:11
Pass
Acts as an abstraction for pass or pass imitation.
Definition: pass.h:25
RealPass::Show
virtual void Show(QString file) Q_DECL_OVERRIDE
RealPass::Show pass show.
Definition: realpass.cpp:44
pass.h