Class sh::settings::ProfileNode¶
-
class
sh::settings
::
ProfileNode
¶ One entry in a Shallot settings profile, so one item as selectable in the ‘Manage settings’ dialog.
Public Functions
-
ProfileNode
()¶ Constructed only by the infrastructure and made available otherwise.
-
QString
nodeId
()¶ An identifier name.
-
void
setNodeId
(QString nodeId)¶ Sets the identifier name.
-
std::shared_ptr<const filesystem::Eurl>
eurl
()¶ The eurl of the directory, or 0 for global profile nodes.
Sets the eurl.
-
QString
profilename
()¶ The profile name.
-
void
setProfilename
(QString profilename)¶ Sets the profile name.
-
QStringList
inheritsFrom
()¶ List of profile names from which this node inherits.
-
void
setInheritsFrom
(QStringList profilenames)¶ Sets list of profile names from which this node inherits.
-
bool
withSubfolders
()¶ If this node also applies recursively on subfolders.
-
void
setWithSubfolders
(bool v)¶ Sets of this node also applies recursively on subfolders.
-
void
setSetting
(QString name, QString value, int onlyInFileview = -1)¶ Stores a value for a setting for applying it later.
-
QList<QString>
getSettingNames
()¶ List of settings names which are set in this node.
-
QString
getSettingValue
(QString name)¶ Gets the stored value of a setting by setting name.
-
int
getSettingOnlyInFileviewIndex
(QString name)¶ Gets if a setting applies to a certain fileview or to the entire window.
-