# class KSwitchLanguageDialog

###

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Namespace | global
Class | KSwitchLanguageDialog
Inherits | KDialog

Standard "switch application language" dialog box.

This class provides "switch application language" dialog box that is used in KHelpMenu

Author Krzysztof Lichota (lichota@mimuw.edu.pl)

### methods

- KSwitchLanguageDialog (parent)

  returns a KSwitchLanguageDialog object

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | None

  Constructor. Creates a fully featured "Switch application language" dialog box. Note that this dialog is made modeless in the KHelpMenu class so the users may expect a modeless dialog.

  parent - The parent of the dialog box. You should use the toplevel window so that the dialog becomes centered.

  name - Internal name of the widget. This name in not used in the caption.

  modal - If false, this widget will be modeless and must be made visible using QWidget.show(). Otherwise it will be modal and must be made visible using QWidget.exec()

- languageOnButtonChanged (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

  Called when one of language buttons changes state.

- removeButtonClicked ()

  returns nothing

  Called when "Remove" language button is clicked.

- slotAddLanguageButton ()

  returns nothing

  Called to add one language button to dialog.

- slotOk ()

  returns nothing

  Activated when the Ok button has been clicked.