diff options
Diffstat (limited to 'lib/kofficecore/KoOpenPane.cpp')
-rw-r--r-- | lib/kofficecore/KoOpenPane.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kofficecore/KoOpenPane.cpp b/lib/kofficecore/KoOpenPane.cpp index 1079d589..a8fa0f93 100644 --- a/lib/kofficecore/KoOpenPane.cpp +++ b/lib/kofficecore/KoOpenPane.cpp @@ -132,7 +132,7 @@ KoOpenPane::KoOpenPane(TQWidget *parent, TDEInstance* instance, const TQString& m_splitter->setSizes(sizes); // Set the sizes of the details pane splitters - KConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); + TDEConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); sizes = cfgGrp.readIntListEntry("DetailsPaneSplitterSizes"); emit splitterResized(0, sizes); @@ -146,7 +146,7 @@ KoOpenPane::~KoOpenPane() if(item) { if(!dynamic_cast<KoDetailsPaneBase*>(m_widgetStack->widget(item->widgetIndex()))) { - KConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); + TDEConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); cfgGrp.writeEntry("LastReturnType", "Custom"); } } @@ -162,7 +162,7 @@ void KoOpenPane::showOpenFileDialog() KURL url = KFileDialog::getOpenURL(":OpenDialog", mimeFilter.join(" "), this); if(!url.isEmpty()) { - KConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); + TDEConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); cfgGrp.writeEntry("LastReturnType", "File"); emit openExistingFile(url.url()); } @@ -231,7 +231,7 @@ void KoOpenPane::initTemplates(const TQString& templateType) firstItem = m_sectionList->firstChild(); } - KConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); + TDEConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); if(selectItem && (cfgGrp.readEntry("LastReturnType") == "Template")) { m_sectionList->setSelected(selectItem, true); @@ -247,7 +247,7 @@ void KoOpenPane::setCustomDocumentWidget(TQWidget *widget) { TQListViewItem* item = addPane(i18n("Custom Document"), TQString(), widget, INT_MAX); - KConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); + TDEConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); if(cfgGrp.readEntry("LastReturnType") == "Custom") { m_sectionList->setSelected(item, true); @@ -299,7 +299,7 @@ void KoOpenPane::selectionChanged(TQListViewItem* item) void KoOpenPane::saveSplitterSizes(KoDetailsPaneBase* /*sender*/, const TQValueList<int>& sizes) { - KConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); + TDEConfigGroup cfgGrp(d->m_instance->config(), "TemplateChooserDialog"); cfgGrp.writeEntry("DetailsPaneSplitterSizes", sizes); } |