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)
(since 4.8.1) QString language() const
(since 4.1) void setLanguage(const QString &language)

Signals

(since 4.8.1) void configChanged()
(since 4.1) void languageChanged(const QString &language)

Protected Slots

virtual void slotApply()
virtual void slotOk()

Detailed Description

Member Function Documentation

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

[signal, since 4.8.1] void ConfigDialog::configChanged()

This is emitted when configChanged

This function was introduced in 4.8.1.

[since 4.8.1] QString ConfigDialog::language() const

return selected language

This function was introduced in 4.8.1.

See also setLanguage().

[signal, since 4.1] 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

This function was introduced in 4.1.

[since 4.1] 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.

This function was introduced in 4.1.

See also language().

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

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