summaryrefslogtreecommitdiffstats
path: root/kview/config
diff options
context:
space:
mode:
Diffstat (limited to 'kview/config')
-rw-r--r--kview/config/kviewconfmodules.cpp6
-rw-r--r--kview/config/kviewconfmodules.h2
-rw-r--r--kview/config/kviewgeneralconfig.desktop2
-rw-r--r--kview/config/plugins/kviewpluginsconfig.desktop2
-rw-r--r--kview/config/plugins/kviewpluginsconfig.h4
5 files changed, 8 insertions, 8 deletions
diff --git a/kview/config/kviewconfmodules.cpp b/kview/config/kviewconfmodules.cpp
index 2b0a8537..f36da30c 100644
--- a/kview/config/kviewconfmodules.cpp
+++ b/kview/config/kviewconfmodules.cpp
@@ -33,7 +33,7 @@ typedef KGenericFactory<KViewGeneralConfig, TQWidget> KViewGeneralConfigFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kviewgeneralconfig, KViewGeneralConfigFactory( "kcm_kviewgeneralconfig" ) )
KViewGeneralConfig::KViewGeneralConfig( TQWidget * parent, const char * /*name*/, const TQStringList & args )
- : KCModule( KViewGeneralConfigFactory::instance(), parent, args )
+ : TDECModule( KViewGeneralConfigFactory::instance(), parent, args )
{
TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() );
@@ -57,7 +57,7 @@ KViewGeneralConfig::~KViewGeneralConfig()
void KViewGeneralConfig::save()
{
- KConfigGroup cfgGroup( TDEGlobal::config(), "KView General" );
+ TDEConfigGroup cfgGroup( TDEGlobal::config(), "KView General" );
m_savedPosition = m_pResizeGroup->id( m_pResizeGroup->selected() );
cfgGroup.writeEntry( "Resize Mode", m_savedPosition );
emit changed( false );
@@ -66,7 +66,7 @@ void KViewGeneralConfig::save()
void KViewGeneralConfig::load()
{
- KConfigGroup cfgGroup( TDEGlobal::config(), "KView General" );
+ TDEConfigGroup cfgGroup( TDEGlobal::config(), "KView General" );
int m_savedPosition = cfgGroup.readNumEntry( "Resize Mode", 2 );
if( m_savedPosition < 0 || m_savedPosition > 3 )
m_savedPosition = 2;
diff --git a/kview/config/kviewconfmodules.h b/kview/config/kviewconfmodules.h
index 20217233..3cb495a3 100644
--- a/kview/config/kviewconfmodules.h
+++ b/kview/config/kviewconfmodules.h
@@ -23,7 +23,7 @@
class TQVButtonGroup;
-class KViewGeneralConfig : public KCModule
+class KViewGeneralConfig : public TDECModule
{
Q_OBJECT
diff --git a/kview/config/kviewgeneralconfig.desktop b/kview/config/kviewgeneralconfig.desktop
index 04bc1106..ec6a3912 100644
--- a/kview/config/kviewgeneralconfig.desktop
+++ b/kview/config/kviewgeneralconfig.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Icon=kview
Type=Service
-ServiceTypes=KCModule
+ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kviewgeneralconfig
diff --git a/kview/config/plugins/kviewpluginsconfig.desktop b/kview/config/plugins/kviewpluginsconfig.desktop
index 38977149..c4f1d0e3 100644
--- a/kview/config/plugins/kviewpluginsconfig.desktop
+++ b/kview/config/plugins/kviewpluginsconfig.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Icon=plugin
Type=Service
-ServiceTypes=KCModule
+ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kviewpluginsconfig
diff --git a/kview/config/plugins/kviewpluginsconfig.h b/kview/config/plugins/kviewpluginsconfig.h
index 9b53dc05..99ac995b 100644
--- a/kview/config/plugins/kviewpluginsconfig.h
+++ b/kview/config/plugins/kviewpluginsconfig.h
@@ -21,7 +21,7 @@
#include <ksettings/pluginpage.h>
-class KConfig;
+class TDEConfig;
class KViewPluginsConfig : public KSettings::PluginPage
{
@@ -31,7 +31,7 @@ class KViewPluginsConfig : public KSettings::PluginPage
KViewPluginsConfig( TQWidget * parent, const char * name = 0, const TQStringList & args = TQStringList() );
~KViewPluginsConfig();
private:
- KConfig * m_config;
+ TDEConfig * m_config;
};
// vim: sw=4 ts=4 noet