diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-03-07 21:07:13 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-03-07 21:07:13 (GMT) |
commit | 42eb3f9c14016086a2d2b18951585816eaf7bcab (patch) | |
tree | 3f86b13900ced91ef5e802650b33a38767bf6c11 /addon/doxywizard/doxywizard.cpp | |
parent | 47b04448404f708d25de41246b04fb2219cc81df (diff) | |
download | Doxygen-42eb3f9c14016086a2d2b18951585816eaf7bcab.zip Doxygen-42eb3f9c14016086a2d2b18951585816eaf7bcab.tar.gz Doxygen-42eb3f9c14016086a2d2b18951585816eaf7bcab.tar.bz2 |
Release-1.4.1-20050307
Diffstat (limited to 'addon/doxywizard/doxywizard.cpp')
-rw-r--r-- | addon/doxywizard/doxywizard.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp index 83ae3b6..2d3556b 100644 --- a/addon/doxywizard/doxywizard.cpp +++ b/addon/doxywizard/doxywizard.cpp @@ -823,12 +823,12 @@ MainWidget::MainWidget(QWidget *parent) // load default settings m_settings.setPath("www.doxygen.org","Doxygen GUI"); bool ok; - QString config = m_settings.readEntry("/config/default",QString::null,&ok); + QString config = m_settings.readEntry("/doxywizard/config/default",QString::null,&ok); if (ok && !config.isEmpty()) { Config::instance()->parseString("default settings",config); } - QString workingDir = m_settings.readEntry("/config/workingdir",QString::null,&ok); + QString workingDir = m_settings.readEntry("/doxywizard/config/workingdir",QString::null,&ok); if (ok && !workingDir.isEmpty()) { m_workingDir->setText(workingDir); @@ -836,7 +836,7 @@ MainWidget::MainWidget(QWidget *parent) setConfigSaved(FALSE); for (int i=0;i<10;i++) { - QString entry = m_settings.readEntry(QString().sprintf("/recent/config%d",i)); + QString entry = m_settings.readEntry(QString().sprintf("/doxywizard/recent/config%d",i)); if (!entry.isEmpty()) { addRecentFile(entry); @@ -1178,8 +1178,8 @@ void MainWidget::saveDefaults() QString newConfig; QTextStream t(&newConfig,IO_WriteOnly); Config::instance()->writeTemplate(t,TRUE,FALSE); - m_settings.writeEntry("/config/default",newConfig); - m_settings.writeEntry("/config/workingdir",m_workingDir->text()); + m_settings.writeEntry("/doxywizard/config/default",newConfig); + m_settings.writeEntry("/doxywizard/config/workingdir",m_workingDir->text()); statusBar()->message("Current configuration saved as default",messageTimeout); } } @@ -1361,7 +1361,7 @@ void MainWidget::addRecentFile(const QString &file) for ( it = m_recentFiles.begin(); it != m_recentFiles.end(); ++it, ++i ) { m_recentMenu->insertItem(*it); - m_settings.writeEntry(QString().sprintf("/recent/config%d",i),*it); + m_settings.writeEntry(QString().sprintf("/doxywizard/recent/config%d",i),*it); } } |