From cc74f360bb40da3d79f58048f8e8611804980aa6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:30:47 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kcontrol/input/core/themepage.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kcontrol/input/core') 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" ); -- cgit v1.2.3