summaryrefslogtreecommitdiffstats
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/egroupwarewizard.cpp14
-rw-r--r--wizards/exchangewizard.cpp16
-rw-r--r--wizards/groupwisewizard.cpp16
-rw-r--r--wizards/kolabwizard.cpp4
-rw-r--r--wizards/scalixwizard.cpp4
-rw-r--r--wizards/sloxwizard.cpp16
6 files changed, 35 insertions, 35 deletions
diff --git a/wizards/egroupwarewizard.cpp b/wizards/egroupwarewizard.cpp
index a23762049..fc4f68a12 100644
--- a/wizards/egroupwarewizard.cpp
+++ b/wizards/egroupwarewizard.cpp
@@ -67,12 +67,12 @@ class CreateEGroupwareKabcResource : public TDEConfigPropagator::Change
{
kdDebug() << "Create eGroupware Addressbook Resource" << endl;
- KRES::Manager<KABC::Resource> manager( "contact" );
+ KRES::Manager<TDEABC::Resource> manager( "contact" );
manager.readConfig();
TQString url = createURL( EGroupwareConfig::self()->server(), EGroupwareConfig::self()->useSSLConnection(), EGroupwareConfig::self()->xmlrpc_location() );
- KABC::ResourceXMLRPC *resource = new KABC::ResourceXMLRPC( url, EGroupwareConfig::self()->domain(),
+ TDEABC::ResourceXMLRPC *resource = new TDEABC::ResourceXMLRPC( url, EGroupwareConfig::self()->domain(),
EGroupwareConfig::self()->user(),
EGroupwareConfig::self()->password() );
resource->setResourceName( i18n( "eGroupware" ) );
@@ -95,13 +95,13 @@ class ChangeEGroupwareKabcResource : public TDEConfigPropagator::Change
{
kdDebug() << "Change eGroupware Addressbook Resource" << endl;
- KRES::Manager<KABC::Resource> manager( "contact" );
+ KRES::Manager<TDEABC::Resource> manager( "contact" );
manager.readConfig();
- KRES::Manager<KABC::Resource>::Iterator it;
+ KRES::Manager<TDEABC::Resource>::Iterator it;
for ( it = manager.begin(); it != manager.end(); ++it ) {
if ( (*it)->identifier() == mIdentifier ) {
- KABC::ResourceXMLRPC *resource = static_cast<KABC::ResourceXMLRPC*>( *it );
+ TDEABC::ResourceXMLRPC *resource = static_cast<TDEABC::ResourceXMLRPC*>( *it );
resource->prefs()->setUrl( createURL( EGroupwareConfig::self()->server(),
EGroupwareConfig::self()->useSSLConnection(), EGroupwareConfig::self()->xmlrpc_location() ) );
@@ -273,9 +273,9 @@ class EGroupwarePropagator : public TDEConfigPropagator
changes.append( new ChangeEGroupwareKcalResource( (*kcalIt)->identifier() ) );
}
- KRES::Manager<KABC::Resource> kabcManager( "contact" );
+ KRES::Manager<TDEABC::Resource> kabcManager( "contact" );
kabcManager.readConfig();
- KRES::Manager<KABC::Resource>::Iterator kabcIt;
+ KRES::Manager<TDEABC::Resource>::Iterator kabcIt;
for ( kabcIt = kabcManager.begin(); kabcIt != kabcManager.end(); ++kabcIt ) {
if ( (*kabcIt)->type() == "xmlrpc" ) break;
}
diff --git a/wizards/exchangewizard.cpp b/wizards/exchangewizard.cpp
index 79e982682..58ca94004 100644
--- a/wizards/exchangewizard.cpp
+++ b/wizards/exchangewizard.cpp
@@ -118,14 +118,14 @@ class CreateExchangeKabcResource : public TDEConfigPropagator::Change
void apply()
{
#if 0
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
KURL url( exchangeUrl() );
TQString user( ExchangeConfig::self()->user() );
TQString password( ExchangeConfig::self()->password() );
- KABC::ResourceExchange *r = new KABC::ResourceExchange( url, user, password );
+ TDEABC::ResourceExchange *r = new TDEABC::ResourceExchange( url, user, password );
r->setResourceName( i18n("Exchange Server") );
m.add( r );
m.writeConfig();
@@ -146,15 +146,15 @@ class UpdateExchangeKabcResource : public TDEConfigPropagator::Change
void apply()
{
# if 0
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
KURL url( exchangeUrl() );
- KRES::Manager<KABC::Resource>::Iterator it;
+ KRES::Manager<TDEABC::Resource>::Iterator it;
for ( it = m.begin(); it != m.end(); ++it ) {
if ( (*it)->identifier() == ExchangeConfig::kabcResource() ) {
- KABC::ResourceExchange *r = static_cast<KABC::ResourceExchange *>( *it );
+ TDEABC::ResourceExchange *r = static_cast<TDEABC::ResourceExchange *>( *it );
r->prefs()->setUrl( url.url() );
r->prefs()->setUser( ExchangeConfig::self()->user() );
r->prefs()->setPassword( ExchangeConfig::self()->password() );
@@ -201,9 +201,9 @@ class ExchangePropagator : public TDEConfigPropagator
}
}
}
- KRES::Manager<KABC::Resource> m2( "contact" );
+ KRES::Manager<TDEABC::Resource> m2( "contact" );
m2.readConfig();
- KRES::Manager<KABC::Resource>::Iterator it2;
+ KRES::Manager<TDEABC::Resource>::Iterator it2;
for ( it2 = m2.begin(); it2 != m2.end(); ++it2 ) {
if ( (*it2)->type() == "exchange" ) break;
}
@@ -211,7 +211,7 @@ class ExchangePropagator : public TDEConfigPropagator
changes.append( new CreateExchangeKabcResource );
} else {
if ( (*it2)->identifier() == ExchangeConfig::kabcResource() ) {
- KABC::ExchangePrefs *prefs = static_cast<KABC::ResourceExchange *>( *it2 )->prefs();
+ TDEABC::ExchangePrefs *prefs = static_cast<TDEABC::ResourceExchange *>( *it2 )->prefs();
if ( prefs->url() != exchangeUrl() ||
prefs->user() != ExchangeConfig::user() ||
prefs->password() != ExchangeConfig::password() ) {
diff --git a/wizards/groupwisewizard.cpp b/wizards/groupwisewizard.cpp
index 52df469b4..44a962925 100644
--- a/wizards/groupwisewizard.cpp
+++ b/wizards/groupwisewizard.cpp
@@ -119,14 +119,14 @@ class CreateGroupwiseKabcResource : public TDEConfigPropagator::Change
void apply()
{
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
TQString url = serverUrl();
TQString user( GroupwiseConfig::self()->user() );
TQString password( GroupwiseConfig::self()->password() );
- KABC::ResourceGroupwise *r = new KABC::ResourceGroupwise( url, user,
+ TDEABC::ResourceGroupwise *r = new TDEABC::ResourceGroupwise( url, user,
password,
TQStringList(),
TQString() );
@@ -148,13 +148,13 @@ class UpdateGroupwiseKabcResource : public TDEConfigPropagator::Change
void apply()
{
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
- KRES::Manager<KABC::Resource>::Iterator it;
+ KRES::Manager<TDEABC::Resource>::Iterator it;
for ( it = m.begin(); it != m.end(); ++it ) {
if ( (*it)->identifier() == GroupwiseConfig::kabcResource() ) {
- KABC::ResourceGroupwise *r = static_cast<KABC::ResourceGroupwise *>( *it );
+ TDEABC::ResourceGroupwise *r = static_cast<TDEABC::ResourceGroupwise *>( *it );
r->prefs()->setUrl( serverUrl() );
r->prefs()->setUser( GroupwiseConfig::self()->user() );
r->prefs()->setPassword( GroupwiseConfig::self()->password() );
@@ -221,9 +221,9 @@ class GroupwisePropagator : public TDEConfigPropagator
}
}
- KRES::Manager<KABC::Resource> m2( "contact" );
+ KRES::Manager<TDEABC::Resource> m2( "contact" );
m2.readConfig();
- KRES::Manager<KABC::Resource>::Iterator it2;
+ KRES::Manager<TDEABC::Resource>::Iterator it2;
for ( it2 = m2.begin(); it2 != m2.end(); ++it2 ) {
if ( (*it2)->type() == "groupwise" ) break;
}
@@ -231,7 +231,7 @@ class GroupwisePropagator : public TDEConfigPropagator
changes.append( new CreateGroupwiseKabcResource );
} else {
if ( (*it2)->identifier() == GroupwiseConfig::kabcResource() ) {
- KABC::GroupwisePrefs *prefs = static_cast<KABC::ResourceGroupwise *>( *it2 )->prefs();
+ TDEABC::GroupwisePrefs *prefs = static_cast<TDEABC::ResourceGroupwise *>( *it2 )->prefs();
if ( prefs->url() != serverUrl() ||
prefs->user() != GroupwiseConfig::user() ||
prefs->password() != GroupwiseConfig::password() ) {
diff --git a/wizards/kolabwizard.cpp b/wizards/kolabwizard.cpp
index f781917fd..ca338d664 100644
--- a/wizards/kolabwizard.cpp
+++ b/wizards/kolabwizard.cpp
@@ -123,9 +123,9 @@ class CreateContactImapResource : public TDEConfigPropagator::Change
void apply()
{
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
- KABC::ResourceKolab *r = new KABC::ResourceKolab( 0 );
+ TDEABC::ResourceKolab *r = new TDEABC::ResourceKolab( 0 );
r->setResourceName( i18n("Kolab Server") );
m.add( r );
m.setStandardResource( r );
diff --git a/wizards/scalixwizard.cpp b/wizards/scalixwizard.cpp
index 59c38766a..cb89e298c 100644
--- a/wizards/scalixwizard.cpp
+++ b/wizards/scalixwizard.cpp
@@ -179,9 +179,9 @@ class CreateContactImapResource : public TDEConfigPropagator::Change
void apply()
{
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
- KABC::ResourceScalix *r = new KABC::ResourceScalix( 0 );
+ TDEABC::ResourceScalix *r = new TDEABC::ResourceScalix( 0 );
r->setResourceName( i18n("Scalix Server") );
m.add( r );
m.setStandardResource( r );
diff --git a/wizards/sloxwizard.cpp b/wizards/sloxwizard.cpp
index 8486a74fc..6107f75ce 100644
--- a/wizards/sloxwizard.cpp
+++ b/wizards/sloxwizard.cpp
@@ -118,14 +118,14 @@ class CreateSloxKabcResource : public TDEConfigPropagator::Change
void apply()
{
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
KURL url( sloxUrl() );
TQString user( SloxConfig::self()->user() );
TQString password( SloxConfig::self()->password() );
- KABC::ResourceSlox *r = new KABC::ResourceSlox( url, user, password );
+ TDEABC::ResourceSlox *r = new TDEABC::ResourceSlox( url, user, password );
r->setResourceName( i18n("Openexchange Server") );
m.add( r );
m.writeConfig();
@@ -144,15 +144,15 @@ class UpdateSloxKabcResource : public TDEConfigPropagator::Change
void apply()
{
- KRES::Manager<KABC::Resource> m( "contact" );
+ KRES::Manager<TDEABC::Resource> m( "contact" );
m.readConfig();
KURL url( sloxUrl() );
- KRES::Manager<KABC::Resource>::Iterator it;
+ KRES::Manager<TDEABC::Resource>::Iterator it;
for ( it = m.begin(); it != m.end(); ++it ) {
if ( (*it)->identifier() == SloxConfig::kabcResource() ) {
- KABC::ResourceSlox *r = static_cast<KABC::ResourceSlox *>( *it );
+ TDEABC::ResourceSlox *r = static_cast<TDEABC::ResourceSlox *>( *it );
r->prefs()->setUrl( url.url() );
r->prefs()->setUser( SloxConfig::self()->user() );
r->prefs()->setPassword( SloxConfig::self()->password() );
@@ -198,9 +198,9 @@ class SloxPropagator : public TDEConfigPropagator
}
}
- KRES::Manager<KABC::Resource> m2( "contact" );
+ KRES::Manager<TDEABC::Resource> m2( "contact" );
m2.readConfig();
- KRES::Manager<KABC::Resource>::Iterator it2;
+ KRES::Manager<TDEABC::Resource>::Iterator it2;
for ( it2 = m2.begin(); it2 != m2.end(); ++it2 ) {
if ( (*it2)->type() == "slox" ) break;
}
@@ -208,7 +208,7 @@ class SloxPropagator : public TDEConfigPropagator
changes.append( new CreateSloxKabcResource );
} else {
if ( (*it2)->identifier() == SloxConfig::kabcResource() ) {
- KABC::SloxPrefs *prefs = static_cast<KABC::ResourceSlox *>( *it2 )->prefs();
+ TDEABC::SloxPrefs *prefs = static_cast<TDEABC::ResourceSlox *>( *it2 )->prefs();
if ( prefs->url() != sloxUrl() ||
prefs->user() != SloxConfig::user() ||
prefs->password() != SloxConfig::password() ) {