summaryrefslogtreecommitdiffstats
path: root/korn/korncfgimpl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /korn/korncfgimpl.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'korn/korncfgimpl.cpp')
-rw-r--r--korn/korncfgimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korn/korncfgimpl.cpp b/korn/korncfgimpl.cpp
index 33af34065..b944087f1 100644
--- a/korn/korncfgimpl.cpp
+++ b/korn/korncfgimpl.cpp
@@ -39,7 +39,7 @@
*/
KornCfgImpl::KornCfgImpl( TQWidget * parent, const char * name )
: KornCfgWidget( parent, name ),
- _config( new KConfig( "kornrc" ) ),
+ _config( new TDEConfig( "kornrc" ) ),
_base( 0 )
{
elbBoxes->setSubGroupName( "korn-%1-%2" );
@@ -120,7 +120,7 @@ void KornCfgImpl::slotActivated( const int )
slotEditBox();
}
-void KornCfgImpl::slotSetDefaults( const TQString& name, const int index, KConfig* config )
+void KornCfgImpl::slotSetDefaults( const TQString& name, const int index, TDEConfig* config )
{
config->writeEntry( "name", name );
config->writeEntry( "hasnormalfgcolour", true );
@@ -234,14 +234,14 @@ void KornCfgImpl::rewritePasswords()
{
int box = 0 - 1;
int account = 0 - 1;
- KConfigGroup *group;
+ TDEConfigGroup *group;
while( _config->hasGroup( TQString( "korn-%1" ).arg( ++box ) ) )
{
account = 0 - 1;
while( _config->hasGroup( TQString( "korn-%1-%2" ).arg( box ).arg( ++account ) ) )
{
- group = new KConfigGroup( _config, TQString( "korn-%1-%2" ).arg( box ).arg( account ) );
+ group = new TDEConfigGroup( _config, TQString( "korn-%1-%2" ).arg( box ).arg( account ) );
KOrnPassword::rewritePassword( box, account, *group, chUseWallet->isChecked() );
delete group;
}