summaryrefslogtreecommitdiffstats
path: root/tderesources
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-02-14 21:12:15 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2014-02-14 21:12:15 -0600
commit0b621eebc843e0c604d76f1da596353c82898316 (patch)
tree200a3fd4e7c1a02d28cb6d8894b8d2880b0577b7 /tderesources
parentf2321faae08cbc87adc3f81b574fb25cdc193037 (diff)
downloadtdelibs-0b621eebc843e0c604d76f1da596353c82898316.tar.gz
tdelibs-0b621eebc843e0c604d76f1da596353c82898316.zip
Finish renaming kresources->tderesources.
Diffstat (limited to 'tderesources')
-rw-r--r--tderesources/configpage.cpp4
-rw-r--r--tderesources/factory.cpp2
-rw-r--r--tderesources/kcmtderesources.cpp10
-rw-r--r--tderesources/kcmtderesources.h4
-rw-r--r--tderesources/manager.h2
-rw-r--r--tderesources/managerimpl.cpp2
-rw-r--r--tderesources/tderesources_manager.desktop2
-rw-r--r--tderesources/tderesources_plugin.desktop2
8 files changed, 14 insertions, 14 deletions
diff --git a/tderesources/configpage.cpp b/tderesources/configpage.cpp
index 8378707e6..4ba33cc83 100644
--- a/tderesources/configpage.cpp
+++ b/tderesources/configpage.cpp
@@ -174,7 +174,7 @@ void ConfigPage::load()
// KDE-3.3 compatibility code: get families from the plugins
TQStringList compatFamilyNames;
- const TDETrader::OfferList plugins = TDETrader::self()->query( "KResources/Plugin" );
+ const TDETrader::OfferList plugins = TDETrader::self()->query( "TDEResources/Plugin" );
TDETrader::OfferList::ConstIterator it = plugins.begin();
TDETrader::OfferList::ConstIterator end = plugins.end();
for ( ; it != end; ++it ) {
@@ -183,7 +183,7 @@ void ConfigPage::load()
compatFamilyNames.append( family );
}
- const TDETrader::OfferList managers = TDETrader::self()->query( "KResources/Manager" );
+ const TDETrader::OfferList managers = TDETrader::self()->query( "TDEResources/Manager" );
TDETrader::OfferList::ConstIterator m_it;
for( m_it = managers.begin(); m_it != managers.end(); ++m_it ) {
TQString displayName = (*m_it)->property( "Name" ).toString();
diff --git a/tderesources/factory.cpp b/tderesources/factory.cpp
index eea2d3673..bb6c31a53 100644
--- a/tderesources/factory.cpp
+++ b/tderesources/factory.cpp
@@ -58,7 +58,7 @@ Factory *Factory::self( const TQString& resourceFamily )
Factory::Factory( const TQString& resourceFamily ) :
mResourceFamily( resourceFamily )
{
- TDETrader::OfferList plugins = TDETrader::self()->query( "KResources/Plugin", TQString( "[X-TDE-ResourceFamily] == '%1'" )
+ TDETrader::OfferList plugins = TDETrader::self()->query( "TDEResources/Plugin", TQString( "[X-TDE-ResourceFamily] == '%1'" )
.arg( resourceFamily ) );
TDETrader::OfferList::ConstIterator it;
for ( it = plugins.begin(); it != plugins.end(); ++it ) {
diff --git a/tderesources/kcmtderesources.cpp b/tderesources/kcmtderesources.cpp
index c3d5ae09e..60eda28b2 100644
--- a/tderesources/kcmtderesources.cpp
+++ b/tderesources/kcmtderesources.cpp
@@ -29,10 +29,10 @@
#include "kcmtderesources.h"
-typedef KGenericFactory<KCMKResources, TQWidget> ResourcesFactory;
+typedef KGenericFactory<KCMTDEResources, TQWidget> ResourcesFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_tderesources, ResourcesFactory( "kcmtderesources" ) )
-KCMKResources::KCMKResources( TQWidget *parent, const char *name, const TQStringList& )
+KCMTDEResources::KCMTDEResources( TQWidget *parent, const char *name, const TQStringList& )
: TDECModule( ResourcesFactory::instance(), parent, name )
{
TQVBoxLayout *layout = new TQVBoxLayout( this );
@@ -50,17 +50,17 @@ KCMKResources::KCMKResources( TQWidget *parent, const char *name, const TQString
setAboutData(about);
}
-void KCMKResources::load()
+void KCMTDEResources::load()
{
mConfigPage->load();
}
-void KCMKResources::save()
+void KCMTDEResources::save()
{
mConfigPage->save();
}
-void KCMKResources::defaults()
+void KCMTDEResources::defaults()
{
mConfigPage->defaults();
}
diff --git a/tderesources/kcmtderesources.h b/tderesources/kcmtderesources.h
index 08bf7ca4d..4c6b99214 100644
--- a/tderesources/kcmtderesources.h
+++ b/tderesources/kcmtderesources.h
@@ -24,12 +24,12 @@
#include <tdecmodule.h>
-class TDERESOURCES_EXPORT KCMKResources : public TDECModule
+class TDERESOURCES_EXPORT KCMTDEResources : public TDECModule
{
Q_OBJECT
public:
- KCMKResources( TQWidget *parent, const char *name, const TQStringList& );
+ KCMTDEResources( TQWidget *parent, const char *name, const TQStringList& );
void load();
void save();
diff --git a/tderesources/manager.h b/tderesources/manager.h
index 676f3bf4a..0a3fca823 100644
--- a/tderesources/manager.h
+++ b/tderesources/manager.h
@@ -73,7 +73,7 @@ class ManagerNotifier
Since KDE 3.4 it's required to supply your application with a *.desktop
file for each resource family you introduce. The ServiceType should be of
- KResources/Manager.
+ TDEResources/Manager.
*/
template<class T>
class Manager : private ManagerNotifier
diff --git a/tderesources/managerimpl.cpp b/tderesources/managerimpl.cpp
index 288a40223..ee93fc8b0 100644
--- a/tderesources/managerimpl.cpp
+++ b/tderesources/managerimpl.cpp
@@ -49,7 +49,7 @@ ManagerImpl::ManagerImpl( ManagerNotifier *notifier, const TQString &family )
// Register with DCOP
if ( !kapp->dcopClient()->isRegistered() ) {
- kapp->dcopClient()->registerAs( "KResourcesManager" );
+ kapp->dcopClient()->registerAs( "TDEResourcesManager" );
kapp->dcopClient()->setDefaultObject( objId() );
}
diff --git a/tderesources/tderesources_manager.desktop b/tderesources/tderesources_manager.desktop
index 35a0d1b5d..f340cc804 100644
--- a/tderesources/tderesources_manager.desktop
+++ b/tderesources/tderesources_manager.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=ServiceType
-X-TDE-ServiceType=KResources/Manager
+X-TDE-ServiceType=TDEResources/Manager
Comment=KResource Manager
Comment[af]=KHulpbron bestuurder
Comment[be]=Кіраўнік рэсурсаў KResource
diff --git a/tderesources/tderesources_plugin.desktop b/tderesources/tderesources_plugin.desktop
index 56cfe5bad..daa65f898 100644
--- a/tderesources/tderesources_plugin.desktop
+++ b/tderesources/tderesources_plugin.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=ServiceType
-X-TDE-ServiceType=KResources/Plugin
+X-TDE-ServiceType=TDEResources/Plugin
Comment=KResource Framework Plugin
Comment[af]=KHulpbron Raamwerk Inprop module
Comment[az]=KResource Əlavəsi