diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:30:47 -0600 |
commit | cc74f360bb40da3d79f58048f8e8611804980aa6 (patch) | |
tree | c4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/input/xcursor/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/xcursor/themepage.cpp')
-rw-r--r-- | kcontrol/input/xcursor/themepage.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/input/xcursor/themepage.cpp b/kcontrol/input/xcursor/themepage.cpp index d716b9ab5..a0f0ef0cf 100644 --- a/kcontrol/input/xcursor/themepage.cpp +++ b/kcontrol/input/xcursor/themepage.cpp @@ -139,7 +139,7 @@ void ThemePage::save() if ( currentTheme == selectedTheme ) return; - KConfig c( "kcminputrc" ); + TDEConfig c( "kcminputrc" ); c.setGroup( "Mouse" ); c.writeEntry( "cursorTheme", selectedTheme != "system" ? selectedTheme : TQString::null ); @@ -162,7 +162,7 @@ void ThemePage::load( bool useDefaults ) currentTheme = theme; // Get the name of the theme TDE is configured to use - KConfig c( "kcminputrc" ); + TDEConfig c( "kcminputrc" ); c.setReadDefaults( useDefaults ); c.setGroup( "Mouse" ); currentTheme = c.readEntry( "cursorTheme", currentTheme ); @@ -221,7 +221,7 @@ void ThemePage::installClicked() return; TQString tmpFile; - if ( !KIO::NetAccess::download( url, tmpFile, this ) ) { + if ( !TDEIO::NetAccess::download( url, tmpFile, this ) ) { TQString text; if ( url.isLocalFile() ) @@ -238,7 +238,7 @@ void ThemePage::installClicked() KMessageBox::error( this, i18n( "The file %1 does not appear to be a valid " "cursor theme archive.").arg( url.fileName() ) ); - KIO::NetAccess::removeTempFile( tmpFile ); + TDEIO::NetAccess::removeTempFile( tmpFile ); } @@ -257,7 +257,7 @@ void ThemePage::removeClicked() // Delete the theme from the harddrive KURL u; u.setPath( themeInfo[ selectedTheme ]->path ); - KIO::del( u ); + TDEIO::del( u ); // Remove the theme from the listview and from the themeinfo dict delete listview->findItem( selectedTheme, DirColumn ); @@ -268,7 +268,7 @@ void ThemePage::removeClicked() // Since it's possible to substitute cursors in a system theme by adding a local // theme with the same name, we shouldn't remove the theme from the list if it's // still available elsewhere. This could be solved by calling insertThemes() here, - // but since KIO::del() is an asynchronos operation, the theme we're deleting will + // but since TDEIO::del() is an asynchronos operation, the theme we're deleting will // be readded to the list again before KIO has removed it. } |