diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:33:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:33:36 -0600 |
commit | 3c5631f74d1c75204f950140331e10f739082ee9 (patch) | |
tree | a2811ff6c81d3c771745cde47734e65b1da3d806 /kview/kviewcanvas/config/confmodules.cpp | |
parent | 6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef (diff) | |
download | tdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.tar.gz tdegraphics-3c5631f74d1c75204f950140331e10f739082ee9.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kview/kviewcanvas/config/confmodules.cpp')
-rw-r--r-- | kview/kviewcanvas/config/confmodules.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kview/kviewcanvas/config/confmodules.cpp b/kview/kviewcanvas/config/confmodules.cpp index 4ecf07b9..84f897c4 100644 --- a/kview/kviewcanvas/config/confmodules.cpp +++ b/kview/kviewcanvas/config/confmodules.cpp @@ -35,8 +35,8 @@ typedef KGenericFactory<KViewCanvasConfig, TQWidget> KViewCanvasConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kviewcanvasconfig, KViewCanvasConfigFactory( "kcm_kviewcanvasconfig" ) ) KViewCanvasConfig::KViewCanvasConfig( TQWidget * parent, const char *, const TQStringList & args ) - : KCModule( KViewCanvasConfigFactory::instance(), parent, args ) - , m_config( new KConfig( "kviewcanvasrc" ) ) + : TDECModule( KViewCanvasConfigFactory::instance(), parent, args ) + , m_config( new TDEConfig( "kviewcanvasrc" ) ) { TQBoxLayout * layout = new TQVBoxLayout( this ); layout->setAutoAdd( true ); @@ -77,7 +77,7 @@ KViewCanvasConfig::~KViewCanvasConfig() void KViewCanvasConfig::save() { - KConfigGroup cfgGroup( m_config, "Settings" ); + TDEConfigGroup cfgGroup( m_config, "Settings" ); cfgGroup.writeEntry( "Smooth Scaling", m_pWidget->m_pSmoothScaling->isChecked() ); cfgGroup.writeEntry( "Keep Aspect Ratio", m_pWidget->m_pKeepRatio->isChecked() ); cfgGroup.writeEntry( "Center Image", m_pWidget->m_pCenterImage->isChecked() ); @@ -89,7 +89,7 @@ void KViewCanvasConfig::save() cfgGroup.writeEntry( "Maximum Width" , m_pWidget->m_pMaxWidth->value() ); cfgGroup.writeEntry( "Maximum Height", m_pWidget->m_pMaxHeight->value() ); - KConfigGroup cfgGroup2( m_config, "Blend Effects" ); + TDEConfigGroup cfgGroup2( m_config, "Blend Effects" ); TQCheckListItem *item = m_items.first(); for( int i = 1; item; item = m_items.next(), ++i ) cfgGroup2.writeEntry( TQString::number( i ), item->isOn() ); @@ -98,7 +98,7 @@ void KViewCanvasConfig::save() void KViewCanvasConfig::load() { - KConfigGroup cfgGroup( m_config, "Settings" ); + TDEConfigGroup cfgGroup( m_config, "Settings" ); m_pWidget->m_pSmoothScaling->setChecked( cfgGroup.readBoolEntry( "Smooth Scaling", Defaults::smoothScaling ) ); m_pWidget->m_pKeepRatio->setChecked( cfgGroup.readBoolEntry( "Keep Aspect Ratio", Defaults::keepAspectRatio ) ); m_pWidget->m_pCenterImage->setChecked( cfgGroup.readBoolEntry( "Center Image", Defaults::centerImage ) ); @@ -110,7 +110,7 @@ void KViewCanvasConfig::load() m_pWidget->m_pMaxWidth ->setValue( cfgGroup.readNumEntry( "Maximum Width" , Defaults::maxSize.width() ) ); m_pWidget->m_pMaxHeight->setValue( cfgGroup.readNumEntry( "Maximum Height", Defaults::maxSize.height() ) ); - KConfigGroup cfgGroup2( m_config, "Blend Effects" ); + TDEConfigGroup cfgGroup2( m_config, "Blend Effects" ); TQCheckListItem * item = m_items.first(); for( int i = 1; item; item = m_items.next(), ++i ) item->setOn( cfgGroup2.readBoolEntry( TQString::number( i ), false ) ); |