summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/config
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
commitf21aaec952493cb5688c73de6e82a569ddbd7fb2 (patch)
tree78ccb5117063da3e08e3277e11054b912a9f2ae7 /kopete/kopete/config
parentc48e769eb275917717e2b55eb869f7e559293ac8 (diff)
downloadtdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.tar.gz
tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kopete/kopete/config')
-rw-r--r--kopete/kopete/config/accounts/kopete_accountconfig.desktop2
-rw-r--r--kopete/kopete/config/accounts/kopeteaccountconfig.cpp2
-rw-r--r--kopete/kopete/config/accounts/kopeteaccountconfig.h2
-rw-r--r--kopete/kopete/config/appearance/appearanceconfig.cpp14
-rw-r--r--kopete/kopete/config/appearance/appearanceconfig.h2
-rw-r--r--kopete/kopete/config/appearance/emoticonseditdialog.cpp2
-rw-r--r--kopete/kopete/config/appearance/kopete_appearanceconfig.desktop2
-rw-r--r--kopete/kopete/config/avdevice/avdeviceconfig.cpp2
-rw-r--r--kopete/kopete/config/avdevice/avdeviceconfig.h2
-rw-r--r--kopete/kopete/config/avdevice/kopete_avdeviceconfig.desktop2
-rw-r--r--kopete/kopete/config/behavior/behaviorconfig.cpp6
-rw-r--r--kopete/kopete/config/behavior/behaviorconfig.h2
-rw-r--r--kopete/kopete/config/behavior/kopete_behaviorconfig.desktop2
-rw-r--r--kopete/kopete/config/identity/kopete_identityconfig.desktop2
-rw-r--r--kopete/kopete/config/identity/kopeteidentityconfig.cpp8
-rw-r--r--kopete/kopete/config/identity/kopeteidentityconfig.h2
16 files changed, 27 insertions, 27 deletions
diff --git a/kopete/kopete/config/accounts/kopete_accountconfig.desktop b/kopete/kopete/config/accounts/kopete_accountconfig.desktop
index 09d43a5a..f7645dc7 100644
--- a/kopete/kopete/config/accounts/kopete_accountconfig.desktop
+++ b/kopete/kopete/config/accounts/kopete_accountconfig.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Icon=personal
Type=Service
-ServiceTypes=KCModule
+ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kopete_accountconfig
diff --git a/kopete/kopete/config/accounts/kopeteaccountconfig.cpp b/kopete/kopete/config/accounts/kopeteaccountconfig.cpp
index 1bb9357f..28af94f6 100644
--- a/kopete/kopete/config/accounts/kopeteaccountconfig.cpp
+++ b/kopete/kopete/config/accounts/kopeteaccountconfig.cpp
@@ -54,7 +54,7 @@ typedef KGenericFactory<KopeteAccountConfig, TQWidget> KopeteAccountConfigFactor
K_EXPORT_COMPONENT_FACTORY( kcm_kopete_accountconfig, KopeteAccountConfigFactory( "kcm_kopete_accountconfig" ) )
KopeteAccountConfig::KopeteAccountConfig( TQWidget *parent, const char * /* name */, const TQStringList &args )
-: KCModule( KopeteAccountConfigFactory::instance(), parent, args )
+: TDECModule( KopeteAccountConfigFactory::instance(), parent, args )
{
( new TQVBoxLayout( this ) )->setAutoAdd( true );
diff --git a/kopete/kopete/config/accounts/kopeteaccountconfig.h b/kopete/kopete/config/accounts/kopeteaccountconfig.h
index dc3ff2d6..5cb474a8 100644
--- a/kopete/kopete/config/accounts/kopeteaccountconfig.h
+++ b/kopete/kopete/config/accounts/kopeteaccountconfig.h
@@ -30,7 +30,7 @@ class KopeteAccountConfigBase;
/**
* @author Olivier Goffart <ogoffart @ kde.org>
*/
-class KopeteAccountConfig : public KCModule
+class KopeteAccountConfig : public TDECModule
{
Q_OBJECT
diff --git a/kopete/kopete/config/appearance/appearanceconfig.cpp b/kopete/kopete/config/appearance/appearanceconfig.cpp
index aff81a39..106622c9 100644
--- a/kopete/kopete/config/appearance/appearanceconfig.cpp
+++ b/kopete/kopete/config/appearance/appearanceconfig.cpp
@@ -179,16 +179,16 @@ public:
}
};
-// TODO: Someday, this configuration dialog must(not should) use KConfigXT
+// TODO: Someday, this configuration dialog must(not should) use TDEConfigXT
AppearanceConfig::AppearanceConfig(TQWidget *parent, const char* /*name*/, const TQStringList &args )
-: KCModule( KopeteAppearanceConfigFactory::instance(), parent, args )
+: TDECModule( KopeteAppearanceConfigFactory::instance(), parent, args )
{
d = new Private;
(new TQVBoxLayout(this))->setAutoAdd(true);
d->mAppearanceTabCtl = new TQTabWidget(this, "mAppearanceTabCtl");
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "ChatWindowSettings" );
// "Emoticons" TAB ==========================================================
@@ -629,7 +629,7 @@ void AppearanceConfig::slotInstallChatStyle()
if( !styleToInstall.isEmpty() )
{
TQString stylePath;
- if( KIO::NetAccess::download( styleToInstall, stylePath, this ) )
+ if( TDEIO::NetAccess::download( styleToInstall, stylePath, this ) )
{
int styleInstallReturn = 0;
styleInstallReturn = ChatWindowStyleManager::self()->installStyle( stylePath );
@@ -662,7 +662,7 @@ void AppearanceConfig::slotInstallChatStyle()
}
// removeTempFile check if the file is a temp file, so it's ok for local files.
- KIO::NetAccess::removeTempFile( stylePath );
+ TDEIO::NetAccess::removeTempFile( stylePath );
}
}
}
@@ -846,14 +846,14 @@ void AppearanceConfig::removeSelectedEmoticonTheme()
return;
KURL themeUrl(TDEGlobal::dirs()->findResource("emoticons", themeName+"/"));
- KIO::NetAccess::del(themeUrl, this);
+ TDEIO::NetAccess::del(themeUrl, this);
updateEmoticonlist();
}
void AppearanceConfig::slotGetEmoticonThemes()
{
- KConfig* config = TDEGlobal::config();
+ TDEConfig* config = TDEGlobal::config();
config->setGroup( "KNewStuff" );
config->writeEntry( "ProvidersUrl",
"http://download.kde.org/khotnewstuff/emoticons-providers.xml" );
diff --git a/kopete/kopete/config/appearance/appearanceconfig.h b/kopete/kopete/config/appearance/appearanceconfig.h
index 60f769a4..15d761f8 100644
--- a/kopete/kopete/config/appearance/appearanceconfig.h
+++ b/kopete/kopete/config/appearance/appearanceconfig.h
@@ -27,7 +27,7 @@
* @author Duncan Mac-Vicar P. <duncan@kde.org>
* @author Michaël Larouche <michael.larouche@kdemail.net>
*/
-class AppearanceConfig : public KCModule
+class AppearanceConfig : public TDECModule
{
Q_OBJECT
diff --git a/kopete/kopete/config/appearance/emoticonseditdialog.cpp b/kopete/kopete/config/appearance/emoticonseditdialog.cpp
index 4bfb0468..d432d22e 100644
--- a/kopete/kopete/config/appearance/emoticonseditdialog.cpp
+++ b/kopete/kopete/config/appearance/emoticonseditdialog.cpp
@@ -226,7 +226,7 @@ void EmoticonsEditDialog::slotRemoveClicked()
void EmoticonsEditDialog::addEmoticon(TQString emo, TQString text, bool copy)
{
if(copy)
- KIO::copy(emo, TDEGlobal::dirs()->saveLocation( "emoticons", themeName, false ));
+ TDEIO::copy(emo, TDEGlobal::dirs()->saveLocation( "emoticons", themeName, false ));
KListViewItem *itm = new KListViewItem(mMainWidget->klvEmoticons);
itm->setPixmap(0, TQPixmap(emo));
diff --git a/kopete/kopete/config/appearance/kopete_appearanceconfig.desktop b/kopete/kopete/config/appearance/kopete_appearanceconfig.desktop
index de74d4bd..e5afd8f8 100644
--- a/kopete/kopete/config/appearance/kopete_appearanceconfig.desktop
+++ b/kopete/kopete/config/appearance/kopete_appearanceconfig.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Icon=looknfeel
Type=Service
-ServiceTypes=KCModule
+ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kopete_appearanceconfig
diff --git a/kopete/kopete/config/avdevice/avdeviceconfig.cpp b/kopete/kopete/config/avdevice/avdeviceconfig.cpp
index 4f8bafc0..cf619fd7 100644
--- a/kopete/kopete/config/avdevice/avdeviceconfig.cpp
+++ b/kopete/kopete/config/avdevice/avdeviceconfig.cpp
@@ -44,7 +44,7 @@ typedef KGenericFactory<AVDeviceConfig, TQWidget> KopeteAVDeviceConfigFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kopete_avdeviceconfig, KopeteAVDeviceConfigFactory( "kcm_kopete_avdeviceconfig" ) )
AVDeviceConfig::AVDeviceConfig(TQWidget *parent, const char * name , const TQStringList &args)
- : KCModule( KopeteAVDeviceConfigFactory::instance(), parent, args )
+ : TDECModule( KopeteAVDeviceConfigFactory::instance(), parent, args )
{
kdDebug() << "kopete:config (avdevice): KopeteAVDeviceConfigFactory::instance() called. " << endl;
(new TQVBoxLayout(this))->setAutoAdd(true);
diff --git a/kopete/kopete/config/avdevice/avdeviceconfig.h b/kopete/kopete/config/avdevice/avdeviceconfig.h
index ee03faf5..23b74e28 100644
--- a/kopete/kopete/config/avdevice/avdeviceconfig.h
+++ b/kopete/kopete/config/avdevice/avdeviceconfig.h
@@ -37,7 +37,7 @@ class AVDeviceConfig_AudioDevice;
/**
@author Cl�dio da Silveira Pinheiro
*/
-class AVDeviceConfig : public KCModule
+class AVDeviceConfig : public TDECModule
{
Q_OBJECT
diff --git a/kopete/kopete/config/avdevice/kopete_avdeviceconfig.desktop b/kopete/kopete/config/avdevice/kopete_avdeviceconfig.desktop
index 05eed0c4..55bd8c3e 100644
--- a/kopete/kopete/config/avdevice/kopete_avdeviceconfig.desktop
+++ b/kopete/kopete/config/avdevice/kopete_avdeviceconfig.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Icon=kopete_avdevice
Type=Service
-ServiceTypes=KCModule
+ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kopete_avdeviceconfig
diff --git a/kopete/kopete/config/behavior/behaviorconfig.cpp b/kopete/kopete/config/behavior/behaviorconfig.cpp
index dc21e28a..bae2d832 100644
--- a/kopete/kopete/config/behavior/behaviorconfig.cpp
+++ b/kopete/kopete/config/behavior/behaviorconfig.cpp
@@ -49,7 +49,7 @@ K_EXPORT_COMPONENT_FACTORY( kcm_kopete_behaviorconfig, KopeteBehaviorConfigFacto
BehaviorConfig::BehaviorConfig(TQWidget *parent, const char * /* name */, const TQStringList &args) :
- KCModule( KopeteBehaviorConfigFactory::instance(), parent, args )
+ TDECModule( KopeteBehaviorConfigFactory::instance(), parent, args )
{
(new TQVBoxLayout(this))->setAutoAdd(true);
mBehaviorTabCtl = new TQTabWidget(this, "mBehaviorTabCtl");
@@ -159,7 +159,7 @@ void BehaviorConfig::save()
// kdDebug(14000) << k_funcinfo << "called." << endl;
KopetePrefs *p = KopetePrefs::prefs();
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
// "General" TAB ============================================================
p->setShowTray(mPrfsGeneral->mShowTrayChk->isChecked());
@@ -219,7 +219,7 @@ void BehaviorConfig::load()
{
// kdDebug(14000) << k_funcinfo << "called" << endl;
KopetePrefs *p = KopetePrefs::prefs();
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
awayInstance = Kopete::Away::getInstance();
// "General" TAB ============================================================
diff --git a/kopete/kopete/config/behavior/behaviorconfig.h b/kopete/kopete/config/behavior/behaviorconfig.h
index c181cda4..0b37bd1e 100644
--- a/kopete/kopete/config/behavior/behaviorconfig.h
+++ b/kopete/kopete/config/behavior/behaviorconfig.h
@@ -32,7 +32,7 @@ class BehaviorConfig_Chat;
class KopeteAwayConfigBaseUI;
class KPluginInfo;
-class BehaviorConfig : public KCModule
+class BehaviorConfig : public TDECModule
{
Q_OBJECT
diff --git a/kopete/kopete/config/behavior/kopete_behaviorconfig.desktop b/kopete/kopete/config/behavior/kopete_behaviorconfig.desktop
index 06880ef3..e02c4c84 100644
--- a/kopete/kopete/config/behavior/kopete_behaviorconfig.desktop
+++ b/kopete/kopete/config/behavior/kopete_behaviorconfig.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Icon=configure
Type=Service
-ServiceTypes=KCModule
+ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kopete_behaviorconfig
diff --git a/kopete/kopete/config/identity/kopete_identityconfig.desktop b/kopete/kopete/config/identity/kopete_identityconfig.desktop
index 7c2f6c4e..8ab9dc92 100644
--- a/kopete/kopete/config/identity/kopete_identityconfig.desktop
+++ b/kopete/kopete/config/identity/kopete_identityconfig.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Icon=identity
Type=Service
-ServiceTypes=KCModule
+ServiceTypes=TDECModule
X-TDE-ModuleType=Library
X-TDE-Library=kopete_identityconfig
diff --git a/kopete/kopete/config/identity/kopeteidentityconfig.cpp b/kopete/kopete/config/identity/kopeteidentityconfig.cpp
index 94e19a94..da13d3cc 100644
--- a/kopete/kopete/config/identity/kopeteidentityconfig.cpp
+++ b/kopete/kopete/config/identity/kopeteidentityconfig.cpp
@@ -85,13 +85,13 @@ public:
typedef KGenericFactory<KopeteIdentityConfig, TQWidget> KopeteIdentityConfigFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kopete_identityconfig, KopeteIdentityConfigFactory( "kcm_kopete_identityconfig" ) )
-KopeteIdentityConfig::KopeteIdentityConfig(TQWidget *parent, const char */*name*/, const TQStringList &args) : KCModule( KopeteIdentityConfigFactory::instance(), parent, args)
+KopeteIdentityConfig::KopeteIdentityConfig(TQWidget *parent, const char */*name*/, const TQStringList &args) : TDECModule( KopeteIdentityConfigFactory::instance(), parent, args)
{
d = new Private;
( new TQVBoxLayout( this ) )->setAutoAdd( true );
d->m_view = new KopeteIdentityConfigBase( this, "KopeteIdentityConfig::m_view" );
- // Setup KConfigXT link with GUI.
+ // Setup TDEConfigXT link with GUI.
addConfig( Kopete::Config::self(), d->m_view );
// Load config
@@ -160,7 +160,7 @@ KopeteIdentityConfig::~KopeteIdentityConfig()
void KopeteIdentityConfig::load()
{
- KCModule::load();
+ TDECModule::load();
// Populate the select Identity combo box.
loadIdentities();
@@ -181,7 +181,7 @@ void KopeteIdentityConfig::load()
void KopeteIdentityConfig::save()
{
- KCModule::save();
+ TDECModule::save();
saveCurrentIdentity();
diff --git a/kopete/kopete/config/identity/kopeteidentityconfig.h b/kopete/kopete/config/identity/kopeteidentityconfig.h
index 107d1ee5..83b80683 100644
--- a/kopete/kopete/config/identity/kopeteidentityconfig.h
+++ b/kopete/kopete/config/identity/kopeteidentityconfig.h
@@ -33,7 +33,7 @@ class KopeteIdentityConfigBase;
/**
* @author Michaël Larouche <shock@shockdev.ca.tc>
*/
-class KopeteIdentityConfig : public KCModule
+class KopeteIdentityConfig : public TDECModule
{
Q_OBJECT