diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 15:29:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 15:39:34 +0900 |
commit | 51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3 (patch) | |
tree | 289d1261319b7c151c0f11c7917c057aa754026a /konqueror/konq_mainwindow.cpp | |
parent | fa284a459858f2255c485240121f7cd1cc7d17a0 (diff) | |
download | tdebase-51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3.tar.gz tdebase-51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3.zip |
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konqueror/konq_mainwindow.cpp')
-rw-r--r-- | konqueror/konq_mainwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/konqueror/konq_mainwindow.cpp b/konqueror/konq_mainwindow.cpp index 3454f0bf1..07033960f 100644 --- a/konqueror/konq_mainwindow.cpp +++ b/konqueror/konq_mainwindow.cpp @@ -844,7 +844,7 @@ bool KonqMainWindow::openView( TQString serviceType, const KURL &_url, KonqView if ( f.open(IO_ReadOnly) ) { f.close(); - KSimpleConfig config( urlDotDir.path(), true ); + TDESimpleConfig config( urlDotDir.path(), true ); config.setGroup( "URL properties" ); HTMLAllowed = config.readBoolEntry( "HTMLAllowed", m_bHTMLAllowed ); serviceName = config.readEntry( "ViewMode", serviceName ); @@ -1253,7 +1253,7 @@ void KonqMainWindow::slotCreateNewWindow( const KURL &url, const KParts::URLArgs } TQString profileName = TQString::fromLatin1( url.isLocalFile() ? "konqueror/profiles/filemanagement" : "konqueror/profiles/webbrowsing" ); - KSimpleConfig cfg( locate( "data", profileName ), true ); + TDESimpleConfig cfg( locate( "data", profileName ), true ); cfg.setGroup( "Profile" ); if ( windowArgs.x != -1 ) @@ -1714,7 +1714,7 @@ void KonqMainWindow::slotViewModeToggle( bool toggle ) u.addPath(".directory"); if ( u.isLocalFile() ) { - KSimpleConfig config( u.path() ); // if we have no write access, just drop it + TDESimpleConfig config( u.path() ); // if we have no write access, just drop it config.setGroup( "URL properties" ); config.writeEntry( "ViewMode", modeName ); config.sync(); @@ -1740,7 +1740,7 @@ void KonqMainWindow::showHTML( KonqView * _view, bool b, bool _activateView ) u.addPath(".directory"); if ( u.isLocalFile() ) { - KSimpleConfig config( u.path() ); // No checks for access + TDESimpleConfig config( u.path() ); // No checks for access config.setGroup( "URL properties" ); config.writeEntry( "HTMLAllowed", b ); config.sync(); @@ -2980,7 +2980,7 @@ void KonqMainWindow::slotRemoveLocalProperties() if ( f.open(IO_ReadWrite) ) { f.close(); - KSimpleConfig config( u.path() ); + TDESimpleConfig config( u.path() ); config.deleteGroup( "URL properties" ); // Bye bye config.sync(); // TODO: Notify the view... |