+void UnicodeWidget::readChoices()
+{
+ // Get a pointer to a shared configuration instance, then get the TitleWidget group.
+ KSharedConfigPtr config = KGlobal::config();
+ KConfigGroup titleConfig(config, "TitleWidget");
+
+ // Default is 2013 because there is also (perhaps interesting) information.
+ m_lastUnicodeNumber = titleConfig.readEntry("unicode_number", QString("2013"));
+}
+
+void UnicodeWidget::writeChoices()
+{
+ // Get a pointer to a shared configuration instance, then get the TitleWidget group.
+ KSharedConfigPtr config = KGlobal::config();
+ KConfigGroup titleConfig(config, "TitleWidget");
+
+ titleConfig.writeEntry("unicode_number", m_lastUnicodeNumber);
+}
+