diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-19 23:15:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-19 23:15:02 -0600 |
commit | ac2a2efee3834bba4eb17228b7f405829242cd96 (patch) | |
tree | 955a74225aaf611e454fb6519c5da883cfa9e09d /kcontrol/locale/toplevel.cpp | |
parent | 0a8ecfb93b699a519ad9af9e548279d50c50093b (diff) | |
parent | 3b73654a279458e28f225b2cce77bee098fe1739 (diff) | |
download | tdebase-ac2a2efee3834bba4eb17228b7f405829242cd96.tar.gz tdebase-ac2a2efee3834bba4eb17228b7f405829242cd96.zip |
Merge branch 'master' of https://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'kcontrol/locale/toplevel.cpp')
-rw-r--r-- | kcontrol/locale/toplevel.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kcontrol/locale/toplevel.cpp b/kcontrol/locale/toplevel.cpp index a7a85e72f..d2a17ca74 100644 --- a/kcontrol/locale/toplevel.cpp +++ b/kcontrol/locale/toplevel.cpp @@ -206,6 +206,23 @@ void TDELocaleApplication::save() emit changed(false); } +TQString TDELocaleApplication::handbookSection() const +{ + int index = m_tab->currentPageIndex(); + if (index == 0) + return "locale-locale"; + else if (index == 1) + return "locale-numbers"; + else if (index == 2) + return "locale-money"; + else if (index == 3) + return "locale-datetime"; + else if (index == 4) + return "locale-other"; + else + return TQString::null; +} + void TDELocaleApplication::defaults() { load( true ); |