summaryrefslogtreecommitdiffstats
path: root/korn/kornboxcfgimpl.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/kornboxcfgimpl.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/kornboxcfgimpl.cpp')
-rw-r--r--korn/kornboxcfgimpl.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/korn/kornboxcfgimpl.cpp b/korn/kornboxcfgimpl.cpp
index ab6671427..fc699c10f 100644
--- a/korn/kornboxcfgimpl.cpp
+++ b/korn/kornboxcfgimpl.cpp
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-class KConfig;
+class TDEConfig;
#include "kornboxcfgimpl.h"
#include "keditlistboxman.h"
@@ -73,7 +73,7 @@ KornBoxCfgImpl::~KornBoxCfgImpl()
delete _anims[ 1 ];
}
-void KornBoxCfgImpl::readConfig( KConfig * config, const int index )
+void KornBoxCfgImpl::readConfig( TDEConfig * config, const int index )
{
_config = config;
_index = index;
@@ -86,7 +86,7 @@ void KornBoxCfgImpl::readConfig( KConfig * config, const int index )
readAccountsConfig();
}
-void KornBoxCfgImpl::writeConfig( KConfig * config, const int index )
+void KornBoxCfgImpl::writeConfig( TDEConfig * config, const int index )
{
config->setGroup( TQString( "korn-%1" ).arg( index ) );
@@ -165,7 +165,7 @@ void KornBoxCfgImpl::readDCOPConfig()
elbDCOP->insertStringList( _config->readListEntry( "dcop", ',' ) );
}
-void KornBoxCfgImpl::writeViewConfig( KConfig* config )
+void KornBoxCfgImpl::writeViewConfig( TDEConfig* config )
{
TQColor invalid;
@@ -194,7 +194,7 @@ void KornBoxCfgImpl::writeViewConfig( KConfig* config )
}
-void KornBoxCfgImpl::writeEventConfig( KConfig *config )
+void KornBoxCfgImpl::writeEventConfig( TDEConfig *config )
{
config->writeEntry( "leftrecheck", this->chLeftRecheck ->isChecked() );
config->writeEntry( "middlerecheck", this->chMiddleRecheck->isChecked() );
@@ -224,11 +224,11 @@ void KornBoxCfgImpl::writeEventConfig( KConfig *config )
config->writeEntry( "passivedate", this->chPassiveDate->isChecked() );
}
-void KornBoxCfgImpl::writeAccountsConfig( KConfig */*config */)
+void KornBoxCfgImpl::writeAccountsConfig( TDEConfig */*config */)
{
}
-void KornBoxCfgImpl::writeDCOPConfig( KConfig *config )
+void KornBoxCfgImpl::writeDCOPConfig( TDEConfig *config )
{
config->writeEntry( "dcop", elbDCOP->items(), ',' );
}
@@ -249,7 +249,7 @@ void KornBoxCfgImpl::slotEditBox()
connect( _base, TQT_SIGNAL( finished() ), this, TQT_SLOT( slotDialogDestroyed() ) );
- _group = new KConfigGroup( _config, TQString( "korn-%1-%2" ).
+ _group = new TDEConfigGroup( _config, TQString( "korn-%1-%2" ).
arg( _index ).arg(elbAccounts->listBox()->currentItem() ) );
TQMap< TQString, TQString > *map = new TQMap< TQString, TQString >( _config->entryMap( TQString( "korn-%1-%2" ).
@@ -270,7 +270,7 @@ void KornBoxCfgImpl::slotActivated( const int )
slotEditBox();
}
-void KornBoxCfgImpl::slotSetDefaults( const TQString& name, const int, KConfig* config )
+void KornBoxCfgImpl::slotSetDefaults( const TQString& name, const int, TDEConfig* config )
{
config->writeEntry( "name", name );
config->writeEntry( "protocol", "mbox" );