diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:10:32 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:10:32 -0600 |
commit | 3fe437def8063926892bddf2dcc733861308836d (patch) | |
tree | 021d66ad023a32bc8ea0074a1ab3d01316aff8b0 /lib/kofficecore/KoOpenPane.cpp | |
parent | 5b8ab149469c8e186ee8b05d90c0103ae722dd85 (diff) | |
download | koffice-3fe437def8063926892bddf2dcc733861308836d.tar.gz koffice-3fe437def8063926892bddf2dcc733861308836d.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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); } |