summaryrefslogtreecommitdiffstats
path: root/libtdepim/kconfigwizard.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 /libtdepim/kconfigwizard.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 'libtdepim/kconfigwizard.cpp')
-rw-r--r--libtdepim/kconfigwizard.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/libtdepim/kconfigwizard.cpp b/libtdepim/kconfigwizard.cpp
index bceacd656..c2baafcc7 100644
--- a/libtdepim/kconfigwizard.cpp
+++ b/libtdepim/kconfigwizard.cpp
@@ -31,7 +31,7 @@
#include <tqlayout.h>
#include <tqtimer.h>
-KConfigWizard::KConfigWizard( TQWidget *parent,
+TDEConfigWizard::TDEConfigWizard( TQWidget *parent,
char *name, bool modal )
: KDialogBase( TreeList, i18n("Configuration Wizard"), Ok|Cancel, Ok, parent,
name, modal ),
@@ -40,7 +40,7 @@ KConfigWizard::KConfigWizard( TQWidget *parent,
init();
}
-KConfigWizard::KConfigWizard( KConfigPropagator *propagator, TQWidget *parent,
+TDEConfigWizard::TDEConfigWizard( TDEConfigPropagator *propagator, TQWidget *parent,
char *name, bool modal )
: KDialogBase( TreeList, i18n("Configuration Wizard"), Ok|Cancel, Ok, parent,
name, modal ),
@@ -49,12 +49,12 @@ KConfigWizard::KConfigWizard( KConfigPropagator *propagator, TQWidget *parent,
init();
}
-KConfigWizard::~KConfigWizard()
+TDEConfigWizard::~TDEConfigWizard()
{
delete mPropagator;
}
-void KConfigWizard::init()
+void TDEConfigWizard::init()
{
connect( this, TQT_SIGNAL( aboutToShowPage( TQWidget * ) ),
TQT_SLOT( slotAboutToShowPage( TQWidget * ) ) );
@@ -62,24 +62,24 @@ void KConfigWizard::init()
TQTimer::singleShot( 0, this, TQT_SLOT( readConfig() ) );
}
-void KConfigWizard::setPropagator( KConfigPropagator *p )
+void TDEConfigWizard::setPropagator( TDEConfigPropagator *p )
{
mPropagator = p;
}
-void KConfigWizard::slotAboutToShowPage( TQWidget *page )
+void TDEConfigWizard::slotAboutToShowPage( TQWidget *page )
{
if ( page == mChangesPage ) {
updateChanges();
}
}
-TQFrame *KConfigWizard::createWizardPage( const TQString &title )
+TQFrame *TDEConfigWizard::createWizardPage( const TQString &title )
{
return addPage( title );
}
-void KConfigWizard::setupRulesPage()
+void TDEConfigWizard::setupRulesPage()
{
TQFrame *topFrame = addPage( i18n("Rules") );
TQVBoxLayout *topLayout = new TQVBoxLayout( topFrame );
@@ -94,25 +94,25 @@ void KConfigWizard::setupRulesPage()
updateRules();
}
-void KConfigWizard::updateRules()
+void TDEConfigWizard::updateRules()
{
if ( !mPropagator ) {
- kdError() << "KConfigWizard: No KConfigPropagator set." << endl;
+ kdError() << "TDEConfigWizard: No TDEConfigPropagator set." << endl;
return;
}
mRuleView->clear();
- KConfigPropagator::Rule::List rules = mPropagator->rules();
- KConfigPropagator::Rule::List::ConstIterator it;
+ TDEConfigPropagator::Rule::List rules = mPropagator->rules();
+ TDEConfigPropagator::Rule::List::ConstIterator it;
for( it = rules.begin(); it != rules.end(); ++it ) {
- KConfigPropagator::Rule r = *it;
+ TDEConfigPropagator::Rule r = *it;
TQString source = r.sourceFile + "/" + r.sourceGroup + "/" +
r.sourceEntry;
TQString target = r.targetFile + "/" + r.targetGroup + "/" +
r.targetEntry;
TQString condition;
- KConfigPropagator::Condition c = r.condition;
+ TDEConfigPropagator::Condition c = r.condition;
if ( c.isValid ) {
condition = c.file + "/" + c.group + "/" + c.key + " = " + c.value;
}
@@ -120,7 +120,7 @@ void KConfigWizard::updateRules()
}
}
-void KConfigWizard::setupChangesPage()
+void TDEConfigWizard::setupChangesPage()
{
TQFrame *topFrame = addPage( i18n("Changes") );
TQVBoxLayout *topLayout = new TQVBoxLayout( topFrame );
@@ -136,12 +136,12 @@ void KConfigWizard::setupChangesPage()
mChangesPage = topFrame;
}
-void KConfigWizard::updateChanges()
+void TDEConfigWizard::updateChanges()
{
- kdDebug() << "KConfigWizard::updateChanges()" << endl;
+ kdDebug() << "TDEConfigWizard::updateChanges()" << endl;
if ( !mPropagator ) {
- kdError() << "KConfigWizard: No KConfigPropagator set." << endl;
+ kdError() << "TDEConfigWizard: No TDEConfigPropagator set." << endl;
return;
}
@@ -151,16 +151,16 @@ void KConfigWizard::updateChanges()
mChangeView->clear();
- KConfigPropagator::Change::List changes = mPropagator->changes();
- KConfigPropagator::Change *c;
+ TDEConfigPropagator::Change::List changes = mPropagator->changes();
+ TDEConfigPropagator::Change *c;
for( c = changes.first(); c; c = changes.next() ) {
new TQListViewItem( mChangeView, mChangeView->lastItem(), c->title(), c->arg1(), c->arg2() );
}
}
-void KConfigWizard::readConfig()
+void TDEConfigWizard::readConfig()
{
- kdDebug() << "KConfigWizard::readConfig()" << endl;
+ kdDebug() << "TDEConfigWizard::readConfig()" << endl;
int result = KMessageBox::warningContinueCancel( this,
i18n("Please make sure that the programs which are "
@@ -172,14 +172,14 @@ void KConfigWizard::readConfig()
usrReadConfig();
}
-void KConfigWizard::slotOk()
+void TDEConfigWizard::slotOk()
{
TQString error = validate();
if ( error.isNull() ) {
usrWriteConfig();
if ( !mPropagator ) {
- kdError() << "KConfigWizard: No KConfigPropagator set." << endl;
+ kdError() << "TDEConfigWizard: No TDEConfigPropagator set." << endl;
return;
} else {
if ( mPropagator->skeleton() ) {