kdeui
KSwitchLanguageDialog Class Reference
Standard "switch application language" dialog box. More...
#include <kswitchlanguagedialog.h>
Public Member Functions | |
KSwitchLanguageDialog (QWidget *parent=0, const char *name=0, bool modal=true) | |
virtual | ~KSwitchLanguageDialog () |
Protected Slots | |
virtual void | languageOnButtonChanged (const QString &) |
virtual void | removeButtonClicked () |
virtual void | slotAddLanguageButton () |
virtual void | slotOk () |
Protected Attributes | |
KSwitchLanguageDialogPrivate *const | d |
Detailed Description
Standard "switch application language" dialog box.This class provides "switch application language" dialog box that is used in KHelpMenu
Definition at line 38 of file kswitchlanguagedialog.h.
Constructor & Destructor Documentation
KSwitchLanguageDialog::KSwitchLanguageDialog | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 , |
|||
bool | modal = true | |||
) |
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.
- Parameters:
-
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()
Definition at line 85 of file kswitchlanguagedialog.cpp.
KSwitchLanguageDialog::~KSwitchLanguageDialog | ( | ) | [virtual] |
Definition at line 132 of file kswitchlanguagedialog.cpp.
Member Function Documentation
void KSwitchLanguageDialog::languageOnButtonChanged | ( | const QString & | languageCode | ) | [protected, virtual, slot] |
Called when one of language buttons changes state.
Definition at line 179 of file kswitchlanguagedialog.cpp.
void KSwitchLanguageDialog::removeButtonClicked | ( | ) | [protected, virtual, slot] |
Called when "Remove" language button is clicked.
Definition at line 143 of file kswitchlanguagedialog.cpp.
void KSwitchLanguageDialog::slotAddLanguageButton | ( | ) | [protected, virtual, slot] |
Called to add one language button to dialog.
Definition at line 137 of file kswitchlanguagedialog.cpp.
void KSwitchLanguageDialog::slotOk | ( | void | ) | [protected, virtual, slot] |
Activated when the Ok button has been clicked.
Overridden from KDialogBase.
Reimplemented from KDialogBase.
Definition at line 193 of file kswitchlanguagedialog.cpp.
Member Data Documentation
KSwitchLanguageDialogPrivate* const KSwitchLanguageDialog::d [protected] |
The documentation for this class was generated from the following files: