|
| static auto | getInstance () -> QtPassSettings * |
| | Get the singleton instance.
|
| static auto | getVersion (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get saved application version.
|
| static void | setVersion (const QString &version) |
| | Save application version.
|
| static auto | getGeometry (const QByteArray &defaultValue=QVariant().toByteArray()) -> QByteArray |
| | Get saved window geometry.
|
| static void | setGeometry (const QByteArray &geometry) |
| | Save window geometry.
|
| static auto | getSavestate (const QByteArray &defaultValue=QVariant().toByteArray()) -> QByteArray |
| | Get saved window state.
|
| static void | setSavestate (const QByteArray &saveState) |
| | Save window state.
|
| static auto | getPos (const QPoint &defaultValue=QVariant().toPoint()) -> QPoint |
| | Get saved window position.
|
| static void | setPos (const QPoint &pos) |
| | Save window position.
|
| static auto | getSize (const QSize &defaultValue=QVariant().toSize()) -> QSize |
| | Get saved window size.
|
| static void | setSize (const QSize &size) |
| | Save window size.
|
| static auto | isMaximized (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get maximized state.
|
| static void | setMaximized (const bool &maximized) |
| | Save maximized state.
|
| static auto | getDialogGeometry (const QString &key, const QByteArray &defaultValue=QVariant().toByteArray()) -> QByteArray |
| | Get saved dialog geometry.
|
| static void | setDialogGeometry (const QString &key, const QByteArray &geometry) |
| | Save dialog geometry.
|
| static auto | getDialogPos (const QString &key, const QPoint &defaultValue=QVariant().toPoint()) -> QPoint |
| | Get saved dialog position.
|
| static void | setDialogPos (const QString &key, const QPoint &pos) |
| | Save dialog position.
|
| static auto | getDialogSize (const QString &key, const QSize &defaultValue=QVariant().toSize()) -> QSize |
| | Get saved dialog size.
|
| static void | setDialogSize (const QString &key, const QSize &size) |
| | Save dialog size.
|
| static auto | isDialogMaximized (const QString &key, const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get dialog maximized state.
|
| static void | setDialogMaximized (const QString &key, const bool &maximized) |
| | Save dialog maximized state.
|
| static auto | isUsePass (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to use pass (true) or GPG (false).
|
| static void | setUsePass (const bool &usePass) |
| | Save use pass setting.
|
| static auto | getClipBoardTypeRaw (const Enums::clipBoardType &defaultValue=Enums::CLIPBOARD_NEVER) -> int |
| | Get clipboard type preference.
|
| static auto | getClipBoardType (const Enums::clipBoardType &defaultValue=Enums::CLIPBOARD_NEVER) -> Enums::clipBoardType |
| | Get clipboard type as enum.
|
| static void | setClipBoardType (const int &clipBoardType) |
| | Save clipboard type.
|
| static auto | isUseSelection (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to use selection (X11) for clipboard.
|
| static void | setUseSelection (const bool &useSelection) |
| | Save use selection setting.
|
| static auto | isUseAutoclear (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to use autoclear for clipboard.
|
| static void | setUseAutoclear (const bool &useAutoclear) |
| | Save use autoclear setting.
|
| static auto | getAutoclearSeconds (const int &defaultValue=QVariant().toInt()) -> int |
| | Get autoclear delay in seconds.
|
| static void | setAutoclearSeconds (const int &autoClearSeconds) |
| | Save autoclear seconds.
|
| static auto | isUseAutoclearPanel (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to use panel autoclear.
|
| static void | setUseAutoclearPanel (const bool &useAutoclearPanel) |
| | Save use autoclear panel setting.
|
| static auto | getAutoclearPanelSeconds (const int &defaultValue=QVariant().toInt()) -> int |
| | Get panel autoclear delay in seconds.
|
| static void | setAutoclearPanelSeconds (const int &autoClearPanelSeconds) |
| | Save panel autoclear seconds.
|
| static auto | isHidePassword (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to hide password in UI.
|
| static void | setHidePassword (const bool &hidePassword) |
| | Save hide password setting.
|
| static auto | isHideContent (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to hide content (password + username).
|
| static void | setHideContent (const bool &hideContent) |
| | Save hide content setting.
|
| static auto | isUseMonospace (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to use monospace font.
|
| static void | setUseMonospace (const bool &useMonospace) |
| | Save use monospace setting.
|
| static auto | isDisplayAsIs (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to display password as-is (no modification).
|
| static void | setDisplayAsIs (const bool &displayAsIs) |
| | Save display as-is setting.
|
| static auto | isNoLineWrapping (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to disable line wrapping.
|
| static void | setNoLineWrapping (const bool &noLineWrapping) |
| | Save no line wrapping setting.
|
| static auto | isAddGPGId (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Get whether to auto-add GPG ID when receiving files.
|
| static void | setAddGPGId (const bool &addGPGId) |
| | Save add GPG ID setting.
|
| static auto | getPassStore (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get password store directory path.
|
| static void | setPassStore (const QString &passStore) |
| | Save password store path.
|
| static auto | getPassSigningKey (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get GPG signing key for pass.
|
| static void | setPassSigningKey (const QString &passSigningKey) |
| | Save GPG signing key.
|
|
static void | initExecutables () |
| | Initialize executable paths by auto-detecting them.
|
| static auto | getPassExecutable (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get pass executable path.
|
| static void | setPassExecutable (const QString &passExecutable) |
| | Save pass executable path.
|
| static auto | getGitExecutable (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get git executable path.
|
| static void | setGitExecutable (const QString &gitExecutable) |
| | Save git executable path.
|
| static auto | getGpgExecutable (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get GPG executable path.
|
| static void | setGpgExecutable (const QString &gpgExecutable) |
| | Save GPG executable path.
|
| static auto | getPwgenExecutable (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get pwgen executable path.
|
| static void | setPwgenExecutable (const QString &pwgenExecutable) |
| | Save pwgen executable path.
|
| static auto | getGpgHome (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get GPG home directory.
|
| static auto | isUseWebDav (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether WebDAV integration is enabled.
|
| static void | setUseWebDav (const bool &useWebDav) |
| | Save WebDAV integration flag.
|
| static auto | getWebDavUrl (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get WebDAV URL.
|
| static void | setWebDavUrl (const QString &webDavUrl) |
| | Save WebDAV URL.
|
| static auto | getWebDavUser (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get WebDAV username.
|
| static void | setWebDavUser (const QString &webDavUser) |
| | Save WebDAV username.
|
| static auto | getWebDavPassword (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get WebDAV password.
|
| static void | setWebDavPassword (const QString &webDavPassword) |
| | Save WebDAV password.
|
| static auto | getProfile (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get active profile name.
|
| static void | setProfile (const QString &profile) |
| | Save active profile name.
|
| static auto | isUseGit (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether Git integration is enabled.
|
| static void | setUseGit (const bool &useGit) |
| | Save Git integration flag.
|
| static auto | isUseGrepSearch (const bool &defaultValue=false) -> bool |
| | Check whether content search (pass grep) is enabled.
|
| static void | setUseGrepSearch (const bool &useGrepSearch) |
| | Save content search flag.
|
| static auto | isUseOtp (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether OTP support is enabled.
|
| static void | setUseOtp (const bool &useOtp) |
| | Save OTP support flag.
|
| static auto | isUseQrencode (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether qrencode support is enabled.
|
| static void | setUseQrencode (const bool &useQrencode) |
| | Save qrencode support flag.
|
| static auto | getQrencodeExecutable (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get qrencode executable path.
|
| static void | setQrencodeExecutable (const QString &qrencodeExecutable) |
| | Save qrencode executable path.
|
| static auto | isUsePwgen (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether pwgen support is enabled.
|
| static void | setUsePwgen (const bool &usePwgen) |
| | Save pwgen support flag.
|
| static auto | isAvoidCapitals (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether uppercase characters should be avoided.
|
| static void | setAvoidCapitals (const bool &avoidCapitals) |
| | Save uppercase avoidance flag.
|
| static auto | isAvoidNumbers (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether numeric characters should be avoided.
|
| static void | setAvoidNumbers (const bool &avoidNumbers) |
| | Save numeric avoidance flag.
|
| static auto | isLessRandom (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether less random password generation is enabled.
|
| static void | setLessRandom (const bool &lessRandom) |
| | Save less-random generation flag.
|
| static auto | isUseSymbols (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether symbol characters are enabled.
|
| static void | setUseSymbols (const bool &useSymbols) |
| | Save symbol usage flag.
|
| static auto | getPasswordConfiguration () -> PasswordConfiguration |
| | Get complete password generation configuration.
|
| static void | setPasswordConfiguration (const PasswordConfiguration &config) |
| | Save complete password generation configuration.
|
| static void | setPasswordLength (const int &passwordLength) |
| | Save password length setting.
|
| static void | setPasswordCharsSelection (const int &passwordCharsSelection) |
| | Save password character selection mode.
|
| static void | setPasswordChars (const QString &passwordChars) |
| | Save custom password characters.
|
| static auto | isUseTrayIcon (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether tray icon support is enabled.
|
| static void | setUseTrayIcon (const bool &useTrayIcon) |
| | Save tray icon support flag.
|
| static auto | isHideOnClose (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether closing the window hides the application.
|
| static void | setHideOnClose (const bool &hideOnClose) |
| | Save hide-on-close flag.
|
| static auto | isStartMinimized (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether application should start minimized.
|
| static void | setStartMinimized (const bool &startMinimized) |
| | Save start-minimized flag.
|
| static auto | isAlwaysOnTop (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether main window should stay always on top.
|
| static void | setAlwaysOnTop (const bool &alwaysOnTop) |
| | Save always-on-top flag.
|
| static auto | isAutoPull (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether automatic pull is enabled.
|
| static void | setAutoPull (const bool &autoPull) |
| | Save automatic pull flag.
|
| static auto | isAutoPush (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether automatic push is enabled.
|
| static void | setAutoPush (const bool &autoPush) |
| | Save automatic push flag.
|
| static auto | getPassTemplate (const QString &defaultValue=QVariant().toString()) -> QString |
| | Get pass entry template.
|
| static void | setPassTemplate (const QString &passTemplate) |
| | Save pass entry template.
|
| static auto | isUseTemplate (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether template usage is enabled.
|
| static void | setUseTemplate (const bool &useTemplate) |
| | Save template usage flag.
|
| static auto | isTemplateAllFields (const bool &defaultValue=QVariant().toBool()) -> bool |
| | Check whether template applies to all fields.
|
| static void | setTemplateAllFields (const bool &templateAllFields) |
| | Save template-all-fields flag.
|
| static auto | getProfiles () -> QHash< QString, QHash< QString, QString > > |
| | Get all configured profiles.
|
| static void | setProfiles (const QHash< QString, QHash< QString, QString > > &profiles) |
| | Save all configured profiles.
|
| static auto | getPass () -> Pass * |
| | Get currently active pass backend instance.
|
| static auto | getRealPass () -> RealPass * |
| | Get real pass backend instance.
|
| static auto | getImitatePass () -> ImitatePass * |
| | Get imitate pass backend instance.
|