• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

KSwitchLanguageDialog Class Reference

Standard "switch application language" dialog box. More...

#include <kswitchlanguagedialog.h>

Inheritance diagram for KSwitchLanguageDialog:

Inheritance graph
[legend]

List of all members.


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

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

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]

Reimplemented from KDialogBase.

Definition at line 82 of file kswitchlanguagedialog.h.


The documentation for this class was generated from the following files:
  • kswitchlanguagedialog.h
  • kswitchlanguagedialog.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal