summaryrefslogtreecommitdiffstats
path: root/kresources/factory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kresources/factory.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/factory.cpp')
-rw-r--r--kresources/factory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/factory.cpp b/kresources/factory.cpp
index 14f905603..462d6be9c 100644
--- a/kresources/factory.cpp
+++ b/kresources/factory.cpp
@@ -45,7 +45,7 @@ Factory *Factory::self( const TQString& resourceFamily )
if ( !mSelves )
staticDeleter.setObject( mSelves, new TQDict<Factory> );
- factory = mSelves->tqfind( resourceFamily );
+ factory = mSelves->find( resourceFamily );
if ( !factory ) {
factory = new Factory( resourceFamily );
@@ -79,7 +79,7 @@ TQStringList Factory::typeNames() const
ConfigWidget *Factory::configWidget( const TQString& type, TQWidget *parent )
{
- if ( type.isEmpty() || !mTypeMap.tqcontains( type ) )
+ if ( type.isEmpty() || !mTypeMap.contains( type ) )
return 0;
KService::Ptr ptr = mTypeMap[ type ];
@@ -109,7 +109,7 @@ ConfigWidget *Factory::configWidget( const TQString& type, TQWidget *parent )
TQString Factory::typeName( const TQString &type ) const
{
- if ( type.isEmpty() || !mTypeMap.tqcontains( type ) )
+ if ( type.isEmpty() || !mTypeMap.contains( type ) )
return TQString();
KService::Ptr ptr = mTypeMap[ type ];
@@ -118,7 +118,7 @@ TQString Factory::typeName( const TQString &type ) const
TQString Factory::typeDescription( const TQString &type ) const
{
- if ( type.isEmpty() || !mTypeMap.tqcontains( type ) )
+ if ( type.isEmpty() || !mTypeMap.contains( type ) )
return TQString();
KService::Ptr ptr = mTypeMap[ type ];
@@ -129,7 +129,7 @@ Resource *Factory::resource( const TQString& type, const KConfig *config )
{
kdDebug(5650) << "Factory::resource( " << type << ", config )" << endl;
- if ( type.isEmpty() || !mTypeMap.tqcontains( type ) ) {
+ if ( type.isEmpty() || !mTypeMap.contains( type ) ) {
kdDebug(5650) << "Factory::resource() no such type " << type << endl;
return 0;
}