summaryrefslogtreecommitdiffstats
path: root/kdesktop/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop/init.cpp')
-rw-r--r--kdesktop/init.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdesktop/init.cpp b/kdesktop/init.cpp
index 6bf87f333..25e3dd717 100644
--- a/kdesktop/init.cpp
+++ b/kdesktop/init.cpp
@@ -19,11 +19,11 @@
#include <tdeio/job.h>
#include <tdeio/netaccess.h>
-#include <kstandarddirs.h>
-#include <kdesktopfile.h>
+#include <tdestandarddirs.h>
+#include <tdedesktopfile.h>
#include <tdeglobalsettings.h>
#include <tdeapplication.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdemessagebox.h>
#include <tdelocale.h>
#include <kdebug.h>
@@ -40,7 +40,7 @@
#include <dirent.h>
#include <stdlib.h>
#include <errno.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
// for multihead
extern int kdesktop_screen_number;
@@ -134,7 +134,7 @@ static TQString realDesktopPath()
*/
static void copyDesktopLinks()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("General");
if (!config->readBoolEntry("CopyDesktopLinks", true))
return;
@@ -145,7 +145,7 @@ static void copyDesktopLinks()
TQString desktopPath = realDesktopPath();
for (TQStringList::ConstIterator it = list.begin(); it != list.end(); it++) {
- KDesktopFile desk( *it );
+ TDEDesktopFile desk( *it );
if (desk.readBoolEntry("Hidden"))
continue;
copyFile( *it, desktopPath );
@@ -213,13 +213,13 @@ void testLocalInstallation()
if ( emptyDesktop || firstTimeWithNewTrash || installNewTrashi18n ) {
TQString oldIcon, oldEmptyIcon;
if ( trashDesktopExists ) {
- KDesktopFile trashDesktop( trashDesktopPath, true );
+ TDEDesktopFile trashDesktop( trashDesktopPath, true );
oldIcon = trashDesktop.readIcon();
oldEmptyIcon = trashDesktop.readEntry( "EmptyIcon" );
}
copyFile( locate( "data", "kdesktop/directory.trash" ), trashDesktopPath );
if ( trashDesktopExists ) {
- KDesktopFile trashDesktop( trashDesktopPath );
+ TDEDesktopFile trashDesktop( trashDesktopPath );
trashDesktop.writeEntry( "Icon", oldIcon );
trashDesktop.writeEntry( "EmptyIcon", oldEmptyIcon );
trashDesktop.sync();
@@ -234,7 +234,7 @@ void testLocalInstallation()
(void)TDEIO::NetAccess::synchronousRun( job, 0 );
// OK the only thing missing is to convert the icon position...
- KSimpleConfig cfg( locateLocal("appdata", "IconPositions") );
+ TDESimpleConfig cfg( locateLocal("appdata", "IconPositions") );
if ( cfg.hasGroup( "IconPosition::Trash" ) && !cfg.hasGroup( "IconPosition::trash.desktop" ) ) {
const TQMap<TQString, TQString> entries = cfg.entryMap( "IconPosition::Trash" );
cfg.setGroup( "IconPosition::trash.desktop" );