diff options
Diffstat (limited to 'kopete/plugins/motionautoaway/motionawayplugin.cpp')
-rw-r--r-- | kopete/plugins/motionautoaway/motionawayplugin.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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); } |