diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/input/core/themepage.cpp | |
parent | 79b21d47bce1ee428affc97534cd8b257232a871 (diff) | |
download | tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/input/core/themepage.cpp')
-rw-r--r-- | kcontrol/input/core/themepage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kcontrol/input/core/themepage.cpp b/kcontrol/input/core/themepage.cpp index ed3975fc9..dcef9b85e 100644 --- a/kcontrol/input/core/themepage.cpp +++ b/kcontrol/input/core/themepage.cpp @@ -93,7 +93,7 @@ void ThemePage::save() bool whiteCursor = selectedTheme.right( 5 ) == "White"; bool largeCursor = selectedTheme.left( 5 ) == "Large"; - KConfig c( "kcminputrc" ); + TDEConfig c( "kcminputrc" ); c.setGroup( "Mouse" ); c.writeEntry( "LargeCursor", largeCursor ); c.writeEntry( "WhiteCursor", whiteCursor ); @@ -116,7 +116,7 @@ void ThemePage::load( bool useDefaults ) { bool largeCursor, whiteCursor; - KConfig c( "kcminputrc" ); + TDEConfig c( "kcminputrc" ); c.setReadDefaults( useDefaults ); @@ -179,14 +179,14 @@ void ThemePage::fixCursorFile() // Run mkfontdir to update fonts.dir in that dir. TDEGlobal::dirs()->addResourceType( "font", "share/fonts/" ); - KIO::mkdir( KURL::fromPathOrURL(TQDir::homeDirPath() + "/.fonts/kde-override") ); + TDEIO::mkdir( KURL::fromPathOrURL(TQDir::homeDirPath() + "/.fonts/kde-override") ); TQString overrideDir = TQDir::homeDirPath() + "/.fonts/kde-override/"; KURL installedFont; installedFont.setPath( overrideDir + "cursor.pcf.gz" ); if ( currentTheme == "SmallBlack" ) - KIO::NetAccess::del( installedFont, this ); + TDEIO::NetAccess::del( installedFont, this ); else { KURL source; @@ -197,7 +197,7 @@ void ThemePage::fixCursorFile() else if ( currentTheme == "SmallWhite" ) source.setPath( locate("data", "kcminput/cursor_small_white.pcf.gz") ); - KIO::NetAccess::file_copy( source, installedFont, -1, true ); + TDEIO::NetAccess::file_copy( source, installedFont, -1, true ); } TQString cmd = TDEGlobal::dirs()->findExe( "mkfontdir" ); |