swift
Static Public Member Functions | List of all members
swift::core::application::TUpdatePreferences Struct Reference

Update info settings, QStringList with 2 values: channel/platform. More...

Inheritance diagram for swift::core::application::TUpdatePreferences:
[legend]

Static Public Member Functions

static const char * key ()
 Key string of the value. Reimplemented in derived class. More...
 
static const QStringListdefaultValue ()
 Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value. More...
 
static const QStringhumanReadable ()
 Optional human readable name. More...
 
- Static Public Member Functions inherited from swift::misc::TSettingTrait< QStringList >
static const char * key ()
 Key string of the value. Reimplemented in derived class.
 
static const QStringhumanReadable ()
 Optional human readable name.
 
static bool isValid (const QStringList &value, QString &reason)
 Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value.
 
static const QStringListdefaultValue ()
 Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value.
 

Additional Inherited Members

- Public Types inherited from swift::misc::TSettingTrait< QStringList >
using type = QStringList
 Data type of the value.
 
- Public Member Functions inherited from swift::misc::TSettingTrait< QStringList >
 TSettingTrait ()=delete
 Deleted default constructor.
 
 TSettingTrait (const TSettingTrait &)=delete
 Deleted copy constructor.
 
TSettingTraitoperator= (const TSettingTrait &)=delete
 Deleted copy assignment operator.
 

Detailed Description

Update info settings, QStringList with 2 values: channel/platform.

Definition at line 18 of file updatesettings.h.

Member Function Documentation

◆ defaultValue()

static const QStringList& swift::core::application::TUpdatePreferences::defaultValue ( )
inlinestatic

Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value.

Definition at line 24 of file updatesettings.h.

◆ humanReadable()

static const QString& swift::core::application::TUpdatePreferences::humanReadable ( )
inlinestatic

Optional human readable name.

Definition at line 35 of file updatesettings.h.

◆ key()

static const char* swift::core::application::TUpdatePreferences::key ( )
inlinestatic

Key string of the value. Reimplemented in derived class.

Definition at line 21 of file updatesettings.h.


The documentation for this struct was generated from the following file: