diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:43:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:43:14 -0600 |
commit | 79b21d47bce1ee428affc97534cd8b257232a871 (patch) | |
tree | 0df1fa0109d9f2bcef932eda8b5c25b2e06669ed /kcontrol/konq/rootopts.cpp | |
parent | 9a898d493f493adbc404f7223043c85f3817472b (diff) | |
download | tdebase-79b21d47bce1ee428affc97534cd8b257232a871.tar.gz tdebase-79b21d47bce1ee428affc97534cd8b257232a871.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/konq/rootopts.cpp')
-rw-r--r-- | kcontrol/konq/rootopts.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/konq/rootopts.cpp b/kcontrol/konq/rootopts.cpp index 589ad0e3a..ea3c5baa4 100644 --- a/kcontrol/konq/rootopts.cpp +++ b/kcontrol/konq/rootopts.cpp @@ -131,7 +131,7 @@ void DesktopPathConfig::load( bool useDefaults ) // Desktop Paths config.setReadDefaults( useDefaults ); config.setGroup("Paths"); - urAutostart->setURL( config.readPathEntry( "Autostart" , KGlobalSettings::autostartPath() )); + urAutostart->setURL( config.readPathEntry( "Autostart" , TDEGlobalSettings::autostartPath() )); KConfig xdguserconfig( TQDir::homeDirPath()+"/.config/user-dirs.dirs" ); @@ -148,7 +148,7 @@ void DesktopPathConfig::defaults() void DesktopPathConfig::save() { - KConfig *config = KGlobal::config(); + KConfig *config = TDEGlobal::config(); KConfig *xdgconfig = new KConfig( TQDir::homeDirPath()+"/.config/user-dirs.dirs" ); KConfigGroupSaver cgs( config, "Paths" ); @@ -156,17 +156,17 @@ void DesktopPathConfig::save() bool autostartMoved = false; KURL desktopURL; - desktopURL.setPath( KGlobalSettings::desktopPath() ); + desktopURL.setPath( TDEGlobalSettings::desktopPath() ); KURL newDesktopURL; newDesktopURL.setPath(urDesktop->url()); KURL autostartURL; - autostartURL.setPath( KGlobalSettings::autostartPath() ); + autostartURL.setPath( TDEGlobalSettings::autostartPath() ); KURL newAutostartURL; newAutostartURL.setPath(urAutostart->url()); KURL documentURL; - documentURL.setPath( KGlobalSettings::documentPath() ); + documentURL.setPath( TDEGlobalSettings::documentPath() ); KURL newDocumentURL; newDocumentURL.setPath(urDocument->url()); @@ -202,11 +202,11 @@ void DesktopPathConfig::save() if ( newAutostartURL.equals( futureAutostartURL, true ) ) autostartMoved = true; else - autostartMoved = moveDir( KURL( KGlobalSettings::autostartPath() ), KURL( urAutostart->url() ), i18n("Autostart") ); + autostartMoved = moveDir( KURL( TDEGlobalSettings::autostartPath() ), KURL( urAutostart->url() ), i18n("Autostart") ); } } - if ( moveDir( KURL( KGlobalSettings::desktopPath() ), KURL( urlDesktop ), i18n("Desktop") ) ) + if ( moveDir( KURL( TDEGlobalSettings::desktopPath() ), KURL( urlDesktop ), i18n("Desktop") ) ) { xdgconfig->writePathEntry( "XDG_DESKTOP_DIR", '"'+ urlDesktop + '"', true, false ); pathChanged = true; @@ -216,7 +216,7 @@ void DesktopPathConfig::save() if ( !newAutostartURL.equals( autostartURL, true ) ) { if (!autostartMoved) - autostartMoved = moveDir( KURL( KGlobalSettings::autostartPath() ), KURL( urAutostart->url() ), i18n("Autostart") ); + autostartMoved = moveDir( KURL( TDEGlobalSettings::autostartPath() ), KURL( urAutostart->url() ), i18n("Autostart") ); if (autostartMoved) { config->writePathEntry( "Autostart", urAutostart->url(), true, true ); |