summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/motionautoaway
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/motionautoaway')
-rw-r--r--kopete/plugins/motionautoaway/CMakeLists.txt2
-rw-r--r--kopete/plugins/motionautoaway/Makefile.am2
-rw-r--r--kopete/plugins/motionautoaway/motionawayplugin.cpp12
3 files changed, 8 insertions, 8 deletions
diff --git a/kopete/plugins/motionautoaway/CMakeLists.txt b/kopete/plugins/motionautoaway/CMakeLists.txt
index 650766ef..a484ec5e 100644
--- a/kopete/plugins/motionautoaway/CMakeLists.txt
+++ b/kopete/plugins/motionautoaway/CMakeLists.txt
@@ -26,7 +26,7 @@ link_directories(
##### other data ################################
install( FILES kopete_motionaway.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kopete_motionaway_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog )
+install( FILES kopete_motionaway_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tdeconfiguredialog )
install( FILES motionawayconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
diff --git a/kopete/plugins/motionautoaway/Makefile.am b/kopete/plugins/motionautoaway/Makefile.am
index ff2c5bd8..8f8bbaa3 100644
--- a/kopete/plugins/motionautoaway/Makefile.am
+++ b/kopete/plugins/motionautoaway/Makefile.am
@@ -18,7 +18,7 @@ service_DATA = kopete_motionaway.desktop
servicedir = $(kde_servicesdir)
kcm_DATA = kopete_motionaway_config.desktop
-kcmdir = $(kde_servicesdir)/kconfiguredialog
+kcmdir = $(kde_servicesdir)/tdeconfiguredialog
kde_kcfg_DATA = motionawayconfig.kcfg
diff --git a/kopete/plugins/motionautoaway/motionawayplugin.cpp b/kopete/plugins/motionautoaway/motionawayplugin.cpp
index ea4bf2bc..56aed0ff 100644
--- a/kopete/plugins/motionautoaway/motionawayplugin.cpp
+++ b/kopete/plugins/motionautoaway/motionawayplugin.cpp
@@ -38,7 +38,7 @@
#include <tqtimer.h>
-#include <kconfig.h>
+#include <tdeconfig.h>
#include <kdebug.h>
#include <kgenericfactory.h>
@@ -159,12 +159,12 @@ MotionAwayPlugin::~MotionAwayPlugin()
}
void MotionAwayPlugin::loadSettings(){
- TDEConfig *kconfig = TDEGlobal::config();
- kconfig->setGroup("MotionAway Plugin");
+ TDEConfig *tdeconfig = TDEGlobal::config();
+ tdeconfig->setGroup("MotionAway Plugin");
- awayTimeout = kconfig->readNumEntry("AwayTimeout", 1);
- becomeAvailableWithActivity = kconfig->readBoolEntry("BecomeAvailableWithActivity", true);
- videoDevice = kconfig->readEntry("VideoDevice", "/dev/video0");
+ awayTimeout = tdeconfig->readNumEntry("AwayTimeout", 1);
+ becomeAvailableWithActivity = tdeconfig->readBoolEntry("BecomeAvailableWithActivity", true);
+ videoDevice = tdeconfig->readEntry("VideoDevice", "/dev/video0");
m_awayTimer->changeInterval(awayTimeout * 60 * 1000);
}