QtPass $ENV{QTPASS_VERSION}
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
QtPassSettings Class Reference

Singleton settings manager implementation. More...

#include <qtpasssettings.h>

+ Inheritance diagram for QtPassSettings:
+ Collaboration diagram for QtPassSettings:

Static Public Member Functions

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 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.
 

Detailed Description

Singleton settings manager implementation.

Singleton that stores QtPass settings, handles persistence and defaults.

Implementation of QtPassSettings singleton. Handles persistence using QSettings with support for portable mode (qtpass.ini next to executable).

See also
qtpasssettings.h

QtPassSettings manages all application configuration including:

Uses QSettings for persistence with a singleton pattern. All getters accept a default value returned when setting is not yet saved.

Examples
/home/runner/work/QtPass/QtPass/src/pass.cpp, /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp, and /home/runner/work/QtPass/QtPass/src/util.cpp.

Definition at line 35 of file qtpasssettings.h.

Member Function Documentation

◆ getAutoclearPanelSeconds()

auto QtPassSettings::getAutoclearPanelSeconds ( const int &  defaultValue = QVariant().toInt()) -> int
static

Get panel autoclear delay in seconds.

Parameters
defaultValueInteger returned if not saved.
Returns
Seconds before panel is cleared.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 355 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getAutoclearSeconds()

auto QtPassSettings::getAutoclearSeconds ( const int &  defaultValue = QVariant().toInt()) -> int
static

Get autoclear delay in seconds.

Parameters
defaultValueInteger returned if not saved.
Returns
Seconds before clipboard is cleared.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 335 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getClipBoardType()

auto QtPassSettings::getClipBoardType ( const Enums::clipBoardType defaultValue = Enums::CLIPBOARD_NEVER) -> Enums::clipBoardType
static

Get clipboard type as enum.

Parameters
defaultValueDefault value returned if not saved.
Returns
Clipboard type as Enums::clipBoardType.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 309 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getClipBoardTypeRaw()

auto QtPassSettings::getClipBoardTypeRaw ( const Enums::clipBoardType defaultValue = Enums::CLIPBOARD_NEVER) -> int
static

Get clipboard type preference.

Parameters
defaultValueDefault value returned if not saved.
Returns
Clipboard type as Enums::clipBoardType.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 302 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getDialogGeometry()

auto QtPassSettings::getDialogGeometry ( const QString &  key,
const QByteArray &  defaultValue = QVariant().toByteArray() 
) -> QByteArray
static

Get saved dialog geometry.

Parameters
keyDialog identifier (e.g., "usersDialog").
defaultValueByte array returned if not saved.
Returns
Dialog geometry as QByteArray.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 247 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getDialogPos()

auto QtPassSettings::getDialogPos ( const QString &  key,
const QPoint &  defaultValue = QVariant().toPoint() 
) -> QPoint
static

Get saved dialog position.

Parameters
keyDialog identifier.
defaultValuePoint returned if not saved.
Returns
Dialog position as QPoint.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 260 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getDialogSize()

auto QtPassSettings::getDialogSize ( const QString &  key,
const QSize &  defaultValue = QVariant().toSize() 
) -> QSize
static

Get saved dialog size.

Parameters
keyDialog identifier.
defaultValueSize returned if not saved.
Returns
Dialog size as QSize.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 270 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getGeometry()

auto QtPassSettings::getGeometry ( const QByteArray &  defaultValue = QVariant().toByteArray()) -> QByteArray
static

Get saved window geometry.

Parameters
defaultValueByte array returned if no geometry saved.
Returns
Window geometry as QByteArray.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 194 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getGitExecutable()

auto QtPassSettings::getGitExecutable ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get git executable path.

Parameters
defaultValueString returned if not saved.
Returns
Path to git executable.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/imitatepass.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 503 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getGpgExecutable()

auto QtPassSettings::getGpgExecutable ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get GPG executable path.

Parameters
defaultValueString returned if not saved.
Returns
Path to GPG executable.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/imitatepass.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 512 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getGpgHome()

auto QtPassSettings::getGpgHome ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get GPG home directory.

Parameters
defaultValueString returned if not saved.
Returns
Path to the GPG home directory.
Examples
/home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 531 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getImitatePass()

auto QtPassSettings::getImitatePass ( ) -> ImitatePass *
static

Get imitate pass backend instance.

Returns
Pointer to imitate pass backend.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 782 of file qtpasssettings.cpp.

◆ getInstance()

auto QtPassSettings::getInstance ( ) -> QtPassSettings *
static

Get the singleton instance.

Returns
Pointer to the QtPassSettings instance.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 47 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getPass()

auto QtPassSettings::getPass ( ) -> Pass *
static

Get currently active pass backend instance.

Returns
Pointer to pass backend.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 171 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getPassExecutable()

auto QtPassSettings::getPassExecutable ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get pass executable path.

Parameters
defaultValueString returned if not saved.
Returns
Path to pass executable.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp, and /home/runner/work/QtPass/QtPass/src/util.cpp.

Definition at line 494 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getPassSigningKey()

auto QtPassSettings::getPassSigningKey ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get GPG signing key for pass.

Parameters
defaultValueString returned if not saved.
Returns
GPG key ID.
Examples
/home/runner/work/QtPass/QtPass/src/imitatepass.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 460 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getPassStore()

auto QtPassSettings::getPassStore ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get password store directory path.

Parameters
defaultValueString returned if not saved.
Returns
Path to password store.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/imitatepass.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp, and /home/runner/work/QtPass/QtPass/src/util.cpp.

Definition at line 433 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getPassTemplate()

auto QtPassSettings::getPassTemplate ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get pass entry template.

Parameters
defaultValueString returned if not saved.
Returns
Pass template.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 748 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getPasswordConfiguration()

auto QtPassSettings::getPasswordConfiguration ( ) -> PasswordConfiguration
static

Get complete password generation configuration.

Returns
Password generation configuration.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 74 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getPos()

auto QtPassSettings::getPos ( const QPoint &  defaultValue = QVariant().toPoint()) -> QPoint
static

Get saved window position.

Parameters
defaultValuePoint returned if no position saved.
Returns
Window position as QPoint.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 213 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getProfile()

auto QtPassSettings::getProfile ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get active profile name.

Parameters
defaultValueString returned if not saved.
Returns
Active profile name.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 573 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getProfiles()

auto QtPassSettings::getProfiles ( ) -> QHash<QString, QHash<QString, QString>>
static

Get all configured profiles.

Returns
Profile map keyed by profile name.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 116 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getPwgenExecutable()

auto QtPassSettings::getPwgenExecutable ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get pwgen executable path.

Parameters
defaultValueString returned if not saved.
Returns
Path to pwgen executable.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 521 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getQrencodeExecutable()

auto QtPassSettings::getQrencodeExecutable ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get qrencode executable path.

Parameters
defaultValueString returned if not saved.
Returns
Path to qrencode executable.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 626 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getRealPass()

auto QtPassSettings::getRealPass ( ) -> RealPass *
static

Get real pass backend instance.

Returns
Pointer to real pass backend.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 776 of file qtpasssettings.cpp.

◆ getSavestate()

auto QtPassSettings::getSavestate ( const QByteArray &  defaultValue = QVariant().toByteArray()) -> QByteArray
static

Get saved window state.

Parameters
defaultValueByte array returned if no state saved.
Returns
Window state as QByteArray.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 203 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getSize()

auto QtPassSettings::getSize ( const QSize &  defaultValue = QVariant().toSize()) -> QSize
static

Get saved window size.

Parameters
defaultValueSize returned if no size saved.
Returns
Window size as QSize.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 231 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getVersion()

auto QtPassSettings::getVersion ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get saved application version.

Parameters
defaultValueString returned if no version saved.
Returns
Application version string.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 185 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ getWebDavPassword()

auto QtPassSettings::getWebDavPassword ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get WebDAV password.

Parameters
defaultValueString returned if not saved.
Returns
WebDAV password.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 564 of file qtpasssettings.cpp.

◆ getWebDavUrl()

auto QtPassSettings::getWebDavUrl ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get WebDAV URL.

Parameters
defaultValueString returned if not saved.
Returns
WebDAV URL.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 546 of file qtpasssettings.cpp.

◆ getWebDavUser()

auto QtPassSettings::getWebDavUser ( const QString &  defaultValue = QVariant().toString()) -> QString
static

Get WebDAV username.

Parameters
defaultValueString returned if not saved.
Returns
WebDAV username.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 555 of file qtpasssettings.cpp.

◆ initExecutables()

void QtPassSettings::initExecutables ( )
static

Initialize executable paths by auto-detecting them.

Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 477 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isAddGPGId()

auto QtPassSettings::isAddGPGId ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to auto-add GPG ID when receiving files.

Parameters
defaultValueBoolean returned if not saved.
Returns
true if auto-adding is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/imitatepass.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 411 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isAlwaysOnTop()

auto QtPassSettings::isAlwaysOnTop ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether main window should stay always on top.

Parameters
defaultValueValue returned if not saved.
Returns
True if always-on-top is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 721 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isAutoPull()

auto QtPassSettings::isAutoPull ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether automatic pull is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if automatic pull is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/imitatepass.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 730 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isAutoPush()

auto QtPassSettings::isAutoPush ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether automatic push is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if automatic push is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/imitatepass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 739 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isAvoidCapitals()

auto QtPassSettings::isAvoidCapitals ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether uppercase characters should be avoided.

Parameters
defaultValueValue returned if not saved.
Returns
True if uppercase characters are avoided.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 646 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isAvoidNumbers()

auto QtPassSettings::isAvoidNumbers ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether numeric characters should be avoided.

Parameters
defaultValueValue returned if not saved.
Returns
True if numeric characters are avoided.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 655 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isDialogMaximized()

auto QtPassSettings::isDialogMaximized ( const QString &  key,
const bool &  defaultValue = QVariant().toBool() 
) -> bool
static

Get dialog maximized state.

Parameters
keyDialog identifier.
defaultValueBoolean returned if not saved.
Returns
true if dialog is maximized.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 280 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isDisplayAsIs()

auto QtPassSettings::isDisplayAsIs ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to display password as-is (no modification).

Parameters
defaultValueBoolean returned if not saved.
Returns
true if displaying as-is.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 393 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isHideContent()

auto QtPassSettings::isHideContent ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to hide content (password + username).

Parameters
defaultValueBoolean returned if not saved.
Returns
true if content is hidden.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 375 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isHideOnClose()

auto QtPassSettings::isHideOnClose ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether closing the window hides the application.

Parameters
defaultValueValue returned if not saved.
Returns
True if close action hides the application.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 703 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isHidePassword()

auto QtPassSettings::isHidePassword ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to hide password in UI.

Parameters
defaultValueBoolean returned if not saved.
Returns
true if password is hidden.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 366 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isLessRandom()

auto QtPassSettings::isLessRandom ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether less random password generation is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if less random generation is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 664 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isMaximized()

auto QtPassSettings::isMaximized ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get maximized state.

Parameters
defaultValueBoolean returned if not saved.
Returns
true if window is maximized.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 238 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isNoLineWrapping()

auto QtPassSettings::isNoLineWrapping ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to disable line wrapping.

Parameters
defaultValueBoolean returned if not saved.
Returns
true if line wrapping disabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 402 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isStartMinimized()

auto QtPassSettings::isStartMinimized ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether application should start minimized.

Parameters
defaultValueValue returned if not saved.
Returns
True if application should start minimized.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 712 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isTemplateAllFields()

auto QtPassSettings::isTemplateAllFields ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether template applies to all fields.

Parameters
defaultValueValue returned if not saved.
Returns
True if template applies to all fields.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 766 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseAutoclear()

auto QtPassSettings::isUseAutoclear ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to use autoclear for clipboard.

Parameters
defaultValueBoolean returned if not saved.
Returns
true if autoclear is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 326 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseAutoclearPanel()

auto QtPassSettings::isUseAutoclearPanel ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to use panel autoclear.

Parameters
defaultValueBoolean returned if not saved.
Returns
true if panel autoclear is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 345 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseGit()

auto QtPassSettings::isUseGit ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether Git integration is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if Git integration is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/imitatepass.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 592 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseMonospace()

auto QtPassSettings::isUseMonospace ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to use monospace font.

Parameters
defaultValueBoolean returned if not saved.
Returns
true if using monospace font.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 384 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseOtp()

auto QtPassSettings::isUseOtp ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether OTP support is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if OTP support is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 608 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUsePass()

auto QtPassSettings::isUsePass ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to use pass (true) or GPG (false).

Parameters
defaultValueBoolean returned if not saved (defaults to false).
Returns
true if using pass, false if using GPG.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp, and /home/runner/work/QtPass/QtPass/src/util.cpp.

Definition at line 292 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUsePwgen()

auto QtPassSettings::isUsePwgen ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether pwgen support is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if pwgen support is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 637 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseQrencode()

auto QtPassSettings::isUseQrencode ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether qrencode support is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if qrencode support is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 616 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseSelection()

auto QtPassSettings::isUseSelection ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Get whether to use selection (X11) for clipboard.

Parameters
defaultValueBoolean returned if not saved.
Returns
true if using selection.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 317 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseSymbols()

auto QtPassSettings::isUseSymbols ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether symbol characters are enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if symbol characters are enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/pass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 673 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseTemplate()

auto QtPassSettings::isUseTemplate ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether template usage is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if template usage is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 757 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseTrayIcon()

auto QtPassSettings::isUseTrayIcon ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether tray icon support is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if tray icon support is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 694 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ isUseWebDav()

auto QtPassSettings::isUseWebDav ( const bool &  defaultValue = QVariant().toBool()) -> bool
static

Check whether WebDAV integration is enabled.

Parameters
defaultValueValue returned if not saved.
Returns
True if WebDAV is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/imitatepass.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 537 of file qtpasssettings.cpp.

+ Here is the caller graph for this function:

◆ setAddGPGId()

void QtPassSettings::setAddGPGId ( const bool &  addGPGId)
static

Save add GPG ID setting.

Parameters
addGPGIdtrue to auto-add GPG IDs.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 416 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setAlwaysOnTop()

void QtPassSettings::setAlwaysOnTop ( const bool &  alwaysOnTop)
static

Save always-on-top flag.

Parameters
alwaysOnTopWhether always-on-top should be enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 726 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setAutoclearPanelSeconds()

void QtPassSettings::setAutoclearPanelSeconds ( const int &  autoClearPanelSeconds)
static

Save panel autoclear seconds.

Parameters
autoClearPanelSecondsSeconds to wait before clearing panel.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 360 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAutoclearSeconds()

void QtPassSettings::setAutoclearSeconds ( const int &  autoClearSeconds)
static

Save autoclear seconds.

Parameters
autoClearSecondsSeconds to wait before clearing.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 340 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAutoPull()

void QtPassSettings::setAutoPull ( const bool &  autoPull)
static

Save automatic pull flag.

Parameters
autoPullWhether automatic pull should be enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 735 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setAutoPush()

void QtPassSettings::setAutoPush ( const bool &  autoPush)
static

Save automatic push flag.

Parameters
autoPushWhether automatic push should be enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 744 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setAvoidCapitals()

void QtPassSettings::setAvoidCapitals ( const bool &  avoidCapitals)
static

Save uppercase avoidance flag.

Parameters
avoidCapitalsWhether uppercase characters should be avoided.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 651 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setAvoidNumbers()

void QtPassSettings::setAvoidNumbers ( const bool &  avoidNumbers)
static

Save numeric avoidance flag.

Parameters
avoidNumbersWhether numeric characters should be avoided.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 660 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setClipBoardType()

void QtPassSettings::setClipBoardType ( const int &  clipBoardType)
static

Save clipboard type.

Parameters
clipBoardTypeClipboard type to save.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 313 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setDialogGeometry()

void QtPassSettings::setDialogGeometry ( const QString &  key,
const QByteArray &  geometry 
)
static

Save dialog geometry.

Parameters
keyDialog identifier.
geometryDialog geometry to save.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 254 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setDialogMaximized()

void QtPassSettings::setDialogMaximized ( const QString &  key,
const bool &  maximized 
)
static

Save dialog maximized state.

Parameters
keyDialog identifier.
maximizedMaximized state to save.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 286 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setDialogPos()

void QtPassSettings::setDialogPos ( const QString &  key,
const QPoint &  pos 
)
static

Save dialog position.

Parameters
keyDialog identifier.
posDialog position to save.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 266 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setDialogSize()

void QtPassSettings::setDialogSize ( const QString &  key,
const QSize &  size 
)
static

Save dialog size.

Parameters
keyDialog identifier.
sizeDialog size to save.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 276 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setDisplayAsIs()

void QtPassSettings::setDisplayAsIs ( const bool &  displayAsIs)
static

Save display as-is setting.

Parameters
displayAsIstrue to display unmodified.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 398 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setGeometry()

void QtPassSettings::setGeometry ( const QByteArray &  geometry)
static

Save window geometry.

Parameters
geometryWindow geometry to save.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 199 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setGitExecutable()

void QtPassSettings::setGitExecutable ( const QString &  gitExecutable)
static

Save git executable path.

Parameters
gitExecutablePath to git.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 508 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setGpgExecutable()

void QtPassSettings::setGpgExecutable ( const QString &  gpgExecutable)
static

Save GPG executable path.

Parameters
gpgExecutablePath to GPG executable.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 517 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setHideContent()

void QtPassSettings::setHideContent ( const bool &  hideContent)
static

Save hide content setting.

Parameters
hideContenttrue to hide content.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 380 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setHideOnClose()

void QtPassSettings::setHideOnClose ( const bool &  hideOnClose)
static

Save hide-on-close flag.

Parameters
hideOnCloseWhether close action should hide the application.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 708 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setHidePassword()

void QtPassSettings::setHidePassword ( const bool &  hidePassword)
static

Save hide password setting.

Parameters
hidePasswordtrue to hide password.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 371 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setLessRandom()

void QtPassSettings::setLessRandom ( const bool &  lessRandom)
static

Save less-random generation flag.

Parameters
lessRandomWhether less-random generation is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 669 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setMaximized()

void QtPassSettings::setMaximized ( const bool &  maximized)
static

Save maximized state.

Parameters
maximizedMaximized state to save.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 243 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setNoLineWrapping()

void QtPassSettings::setNoLineWrapping ( const bool &  noLineWrapping)
static

Save no line wrapping setting.

Parameters
noLineWrappingtrue to disable wrapping.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 407 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setPassExecutable()

void QtPassSettings::setPassExecutable ( const QString &  passExecutable)
static

Save pass executable path.

Parameters
passExecutablePath to pass.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 499 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPassSigningKey()

void QtPassSettings::setPassSigningKey ( const QString &  passSigningKey)
static

Save GPG signing key.

Parameters
passSigningKeyKey ID to use for signing.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 465 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setPassStore()

void QtPassSettings::setPassStore ( const QString &  passStore)
static

Save password store path.

Parameters
passStorePath to password store.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 456 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPassTemplate()

void QtPassSettings::setPassTemplate ( const QString &  passTemplate)
static

Save pass entry template.

Parameters
passTemplatePass template.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 753 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPasswordChars()

void QtPassSettings::setPasswordChars ( const QString &  passwordChars)
static

Save custom password characters.

Parameters
passwordCharsCustom characters used for password generation.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 690 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setPasswordCharsselection()

void QtPassSettings::setPasswordCharsselection ( const int &  passwordCharsSelection)
static

Save password character selection mode.

Parameters
passwordCharsSelectionPassword character selection mode.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 685 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setPasswordConfiguration()

void QtPassSettings::setPasswordConfiguration ( const PasswordConfiguration config)
static

Save complete password generation configuration.

Parameters
configPassword generation configuration.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 94 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setPasswordLength()

void QtPassSettings::setPasswordLength ( const int &  passwordLength)
static

Save password length setting.

Parameters
passwordLengthPassword length.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 682 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setPos()

void QtPassSettings::setPos ( const QPoint &  pos)
static

Save window position.

Parameters
posWindow position to save.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 225 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setProfile()

void QtPassSettings::setProfile ( const QString &  profile)
static

Save active profile name.

Parameters
profileProfile name.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 578 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setProfiles()

void QtPassSettings::setProfiles ( const QHash< QString, QHash< QString, QString > > &  profiles)
static

Save all configured profiles.

Parameters
profilesProfile map keyed by profile name.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 156 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setPwgenExecutable()

void QtPassSettings::setPwgenExecutable ( const QString &  pwgenExecutable)
static

Save pwgen executable path.

Parameters
pwgenExecutablePath to pwgen.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 527 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setQrencodeExecutable()

void QtPassSettings::setQrencodeExecutable ( const QString &  qrencodeExecutable)
static

Save qrencode executable path.

Parameters
qrencodeExecutablePath to qrencode executable.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 632 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setSavestate()

void QtPassSettings::setSavestate ( const QByteArray &  saveState)
static

Save window state.

Parameters
saveStateWindow state to save.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 209 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSize()

void QtPassSettings::setSize ( const QSize &  size)
static

Save window size.

Parameters
sizeWindow size to save.
Examples
/home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 234 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setStartMinimized()

void QtPassSettings::setStartMinimized ( const bool &  startMinimized)
static

Save start-minimized flag.

Parameters
startMinimizedWhether application should start minimized.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 717 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setTemplateAllFields()

void QtPassSettings::setTemplateAllFields ( const bool &  templateAllFields)
static

Save template-all-fields flag.

Parameters
templateAllFieldsWhether template should apply to all fields.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 771 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseAutoclear()

void QtPassSettings::setUseAutoclear ( const bool &  useAutoclear)
static

Save use autoclear setting.

Parameters
useAutocleartrue to enable autoclear.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 331 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseAutoclearPanel()

void QtPassSettings::setUseAutoclearPanel ( const bool &  useAutoclearPanel)
static

Save use autoclear panel setting.

Parameters
useAutoclearPaneltrue to enable panel autoclear.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 350 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseGit()

void QtPassSettings::setUseGit ( const bool &  useGit)
static

Save Git integration flag.

Parameters
useGitWhether to enable Git integration.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 604 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseMonospace()

void QtPassSettings::setUseMonospace ( const bool &  useMonospace)
static

Save use monospace setting.

Parameters
useMonospacetrue to use monospace font.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 389 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseOtp()

void QtPassSettings::setUseOtp ( const bool &  useOtp)
static

Save OTP support flag.

Parameters
useOtpWhether to enable OTP support.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 612 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUsePass()

void QtPassSettings::setUsePass ( const bool &  usePass)
static

Save use pass setting.

Parameters
usePasstrue to use pass, false for GPG.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, /home/runner/work/QtPass/QtPass/src/mainwindow.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 297 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setUsePwgen()

void QtPassSettings::setUsePwgen ( const bool &  usePwgen)
static

Save pwgen support flag.

Parameters
usePwgenWhether to enable pwgen support.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 642 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setUseQrencode()

void QtPassSettings::setUseQrencode ( const bool &  useQrencode)
static

Save qrencode support flag.

Parameters
useQrencodeWhether to enable qrencode support.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 622 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseSelection()

void QtPassSettings::setUseSelection ( const bool &  useSelection)
static

Save use selection setting.

Parameters
useSelectiontrue to use selection.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 322 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseSymbols()

void QtPassSettings::setUseSymbols ( const bool &  useSymbols)
static

Save symbol usage flag.

Parameters
useSymbolsWhether symbol characters are enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 678 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseTemplate()

void QtPassSettings::setUseTemplate ( const bool &  useTemplate)
static

Save template usage flag.

Parameters
useTemplateWhether template usage should be enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 762 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseTrayIcon()

void QtPassSettings::setUseTrayIcon ( const bool &  useTrayIcon)
static

Save tray icon support flag.

Parameters
useTrayIconWhether tray icon support is enabled.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 699 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setUseWebDav()

void QtPassSettings::setUseWebDav ( const bool &  useWebDav)
static

Save WebDAV integration flag.

Parameters
useWebDavWhether to enable WebDAV.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 542 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setVersion()

void QtPassSettings::setVersion ( const QString &  version)
static

Save application version.

Parameters
versionVersion string to save.
Examples
/home/runner/work/QtPass/QtPass/src/configdialog.cpp, and /home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 190 of file qtpasssettings.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setWebDavPassword()

void QtPassSettings::setWebDavPassword ( const QString &  webDavPassword)
static

Save WebDAV password.

Parameters
webDavPasswordWebDAV password.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 569 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setWebDavUrl()

void QtPassSettings::setWebDavUrl ( const QString &  webDavUrl)
static

Save WebDAV URL.

Parameters
webDavUrlWebDAV URL.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 551 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

◆ setWebDavUser()

void QtPassSettings::setWebDavUser ( const QString &  webDavUser)
static

Save WebDAV username.

Parameters
webDavUserWebDAV username.
Examples
/home/runner/work/QtPass/QtPass/src/qtpasssettings.cpp.

Definition at line 560 of file qtpasssettings.cpp.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: