summaryrefslogtreecommitdiffstats
path: root/kpersonalizer/keyecandypage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpersonalizer/keyecandypage.cpp')
-rw-r--r--kpersonalizer/keyecandypage.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kpersonalizer/keyecandypage.cpp b/kpersonalizer/keyecandypage.cpp
index fb0f446d7..25855e871 100644
--- a/kpersonalizer/keyecandypage.cpp
+++ b/kpersonalizer/keyecandypage.cpp
@@ -24,9 +24,9 @@
#include <tqsettings.h>
#include <tqfont.h>
-#include <ksimpleconfig.h>
+#include <tdesimpleconfig.h>
#include <tdeglobal.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdelocale.h>
#include <dcopclient.h>
#include <kipc.h>
@@ -416,7 +416,7 @@ void KEyeCandyPage::enableIconEffectSizePanel(bool enable){
else
stream << panelsize;
- kapp->dcopClient()->send( "kicker", "Panel", "setPanelSize(int)",data);
+ tdeApp->dcopClient()->send( "kicker", "Panel", "setPanelSize(int)",data);
}
/** No descriptions */
@@ -623,13 +623,13 @@ void KEyeCandyPage::save(bool currSettings){
kdesktopconf->sync();
TDEGlobal::config()->sync();
// restart twin for window effects
- kapp->dcopClient()->send("knotify", "Notify", "reconfigure()", TQString(""));
- kapp->dcopClient()->send("twin*", "", "reconfigure()", TQString(""));
+ tdeApp->dcopClient()->send("knotify", "Notify", "reconfigure()", TQString(""));
+ tdeApp->dcopClient()->send("twin*", "", "reconfigure()", TQString(""));
// set the display options (style effects)
KIPC::sendMessageAll(KIPC::SettingsChanged);
TQApplication::syncX();
// kicker stuff: Iconzooming etc.
- kapp->dcopClient()->send( "kicker", "Panel", "configure()", TQString("") );
+ tdeApp->dcopClient()->send( "kicker", "Panel", "configure()", TQString("") );
// Icon stuff
for (int i=0; i<TDEIcon::LastGroup; i++) {
KIPC::sendMessageAll(KIPC::IconChanged, i);
@@ -637,10 +637,10 @@ void KEyeCandyPage::save(bool currSettings){
// font stuff
KIPC::sendMessageAll(KIPC::FontChanged);
// unfortunately, the konqiconview does not re-read the configuration to restructure the previews and the background picture
- kapp->dcopClient()->send( "konqueror*", "KonquerorIface", "reparseConfiguration()", TQString("") );
- kapp->dcopClient()->send( "kdesktop", "KDesktopIface", "configure()", TQString("") );
- kapp->dcopClient()->send( "kdesktop", "KBackgroundIface", "configure()", TQString("") );
- kapp->dcopClient()->send( "kdesktop", "KDesktopIface", "lineupIcons()", TQString("") );
+ tdeApp->dcopClient()->send( "konqueror*", "KonquerorIface", "reparseConfiguration()", TQString("") );
+ tdeApp->dcopClient()->send( "kdesktop", "KDesktopIface", "configure()", TQString("") );
+ tdeApp->dcopClient()->send( "kdesktop", "KBackgroundIface", "configure()", TQString("") );
+ tdeApp->dcopClient()->send( "kdesktop", "KDesktopIface", "lineupIcons()", TQString("") );
}
void KEyeCandyPage::slotEyeCandyShowDetails(bool details){
@@ -677,7 +677,7 @@ void KEyeCandyPage::getUserDefaults(){
TQByteArray replydata;
TQByteArray data;
TQCString replytype;
- kapp->dcopClient()->call( "kicker", "Panel", "panelSize()",data, replytype, replydata);
+ tdeApp->dcopClient()->call( "kicker", "Panel", "panelSize()",data, replytype, replydata);
TQDataStream stream( replydata, IO_ReadOnly );
stream >> panelsize;
@@ -689,7 +689,7 @@ void KEyeCandyPage::getUserDefaults(){
st_UserWallpaper.CommonDesktop = kdesktopconf->readBoolEntry("CommonDesktop", true);
kdesktopconf->setGroup("Desktop0"); // we only need to set one desktop
st_UserWallpaper.MultiWallpaperMode = kdesktopconf->readEntry("MultiWallpaperMode", "NoMulti");
- st_UserWallpaper.WallpaperMode = kdesktopconf->readEntry("WallpaperMode", "Scaled");
+ st_UserWallpaper.WallpaperMode = kdesktopconf->readEntry("WallpaperMode", "ScaledAndCrop");
st_UserWallpaper.Wallpaper = kdesktopconf->readPathEntry("Wallpaper", "NoWallpaper");
deskbgimage = kdesktopconf->readPathEntry("Wallpaper", DEFAULT_WALLPAPER);
// Wallpaper-User-Defaults (END)