Sonnet::ConfigDialog Class

The sonnet ConfigDialog. More...

Header: #include <Sonnet/ConfigDialog>
CMake: find_package(KF6 REQUIRED COMPONENTS Sonnet)
target_link_libraries(mytarget PRIVATE KF6::SonnetUi)
Inherits: QDialog

Public Functions

ConfigDialog(QWidget *parent)
QString language() const
void setLanguage(const QString &language)

Signals

void configChanged()
void languageChanged(const QString &language)

Protected Slots

virtual void slotApply()
virtual void slotOk()

Detailed Description

Member Function Documentation

[explicit] ConfigDialog::ConfigDialog(QWidget *parent)

[signal] void ConfigDialog::configChanged()

This is emitted when configChanged

QString ConfigDialog::language() const

return selected language

See also setLanguage().

[signal] void ConfigDialog::languageChanged(const QString &language)

This is emitted all the time when we change config and not just language

language the language which the user has selected

void ConfigDialog::setLanguage(const QString &language)

Sets the language/dictionary that will be selected by default in this config dialog. This overrides the setting in the config file.

language the language which will be selected by default.

See also language().

[virtual protected slot] void ConfigDialog::slotApply()

[virtual protected slot] void ConfigDialog::slotOk()