TemplateParser::TemplatesConfiguration Class

The TemplatesConfiguration class. More...

Header: #include <TemplateParser/TemplatesConfiguration>
CMake: find_package(KPim6TemplateParser REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::TemplateParser)

Public Functions

virtual ~TemplatesConfiguration() override
int *helpLabel() const
void loadFromGlobal()
void loadFromIdentity(uint id)
void resetToDefault()
void saveToGlobal()
void saveToIdentity(uint id)

Public Slots

void slotInsertCommand(const QString &cmd, int adjustCursor = 0)
void slotTextChanged()

Signals

void changed()

Static Public Members

QString configIdString(uint id)

Detailed Description

Member Function Documentation

[override virtual noexcept] TemplatesConfiguration::~TemplatesConfiguration()

Destructor

[signal] void TemplatesConfiguration::changed()

[static] QString TemplatesConfiguration::configIdString(uint id)

Returns the template configuration identifier string for a given identity.

int *TemplatesConfiguration::helpLabel() const

Returns the help label Returns QLabel pointer

void TemplatesConfiguration::loadFromGlobal()

Loads templates from global settings

void TemplatesConfiguration::loadFromIdentity(uint id)

Loads templates from identity id identity ID

void TemplatesConfiguration::resetToDefault()

Resets templates to default

void TemplatesConfiguration::saveToGlobal()

Saves templates to global settings

void TemplatesConfiguration::saveToIdentity(uint id)

Saves templates to identity id identity ID

[slot] void TemplatesConfiguration::slotInsertCommand(const QString &cmd, int adjustCursor = 0)

[slot] void TemplatesConfiguration::slotTextChanged()

Slot called when text changes