summaryrefslogtreecommitdiffstats
path: root/kcontrol/locale
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-19 23:15:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-11-19 23:16:52 -0600
commitf4eb973eac3a9f0f5e9137752f9b2061a6a7e1f0 (patch)
tree955a74225aaf611e454fb6519c5da883cfa9e09d /kcontrol/locale
parent0a8ecfb93b699a519ad9af9e548279d50c50093b (diff)
parent3b73654a279458e28f225b2cce77bee098fe1739 (diff)
downloadtdebase-f4eb973eac3a9f0f5e9137752f9b2061a6a7e1f0.tar.gz
tdebase-f4eb973eac3a9f0f5e9137752f9b2061a6a7e1f0.zip
Merge branch 'master' of https://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'kcontrol/locale')
-rw-r--r--kcontrol/locale/toplevel.cpp17
-rw-r--r--kcontrol/locale/toplevel.h5
2 files changed, 20 insertions, 2 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 );
diff --git a/kcontrol/locale/toplevel.h b/kcontrol/locale/toplevel.h
index e381d6749..abc1a47f9 100644
--- a/kcontrol/locale/toplevel.h
+++ b/kcontrol/locale/toplevel.h
@@ -53,6 +53,7 @@ public:
virtual void save();
virtual void defaults();
virtual TQString quickHelp() const;
+ virtual TQString handbookSection() const;
signals:
void languageChanged();
@@ -68,14 +69,14 @@ public slots:
private:
TDELocale *m_locale;
- TQTabWidget *m_tab;
+ TQTabWidget *m_tab;
TDELocaleConfig *m_localemain;
TDELocaleConfigNumber *m_localenum;
TDELocaleConfigMoney *m_localemon;
TDELocaleConfigTime *m_localetime;
TDELocaleConfigOther *m_localeother;
- TQGroupBox *m_gbox;
+ TQGroupBox *m_gbox;
TDELocaleSample *m_sample;
TDEConfig * m_globalConfig;