summaryrefslogtreecommitdiffstats
path: root/wizards/servertypemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/servertypemanager.cpp')
-rw-r--r--wizards/servertypemanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/wizards/servertypemanager.cpp b/wizards/servertypemanager.cpp
index bedb4e28..d7c9287f 100644
--- a/wizards/servertypemanager.cpp
+++ b/wizards/servertypemanager.cpp
@@ -28,8 +28,8 @@
ServerTypeManager* ServerTypeManager::mSelf = 0;
static KStaticDeleter<ServerTypeManager> serverManagerDeleter;
-ServerTypeManager::ServerTypeManager( TQObject *parent, const char *name )
- : TQObject( parent, name )
+ServerTypeManager::ServerTypeManager( TQObject *tqparent, const char *name )
+ : TQObject( tqparent, name )
{
loadPlugins();
}
@@ -54,18 +54,18 @@ TQStringList ServerTypeManager::identifiers() const
TQString ServerTypeManager::title( const TQString& identifier ) const
{
- ServerTypeFactoryMap::ConstIterator it = mServerTypeFactoryMap.find( identifier );
+ ServerTypeFactoryMap::ConstIterator it = mServerTypeFactoryMap.tqfind( identifier );
if ( it == mServerTypeFactoryMap.end() )
- return TQString::null;
+ return TQString();
else
return it.data()->title();
}
ServerType* ServerTypeManager::serverType( const TQString& identifier )
{
- ServerTypeMap::ConstIterator serverIt = mServerTypeMap.find( identifier );
+ ServerTypeMap::ConstIterator serverIt = mServerTypeMap.tqfind( identifier );
if ( serverIt == mServerTypeMap.end() ) { // none server type loaded yet
- ServerTypeFactoryMap::Iterator it = mServerTypeFactoryMap.find( identifier );
+ ServerTypeFactoryMap::Iterator it = mServerTypeFactoryMap.tqfind( identifier );
if ( it == mServerTypeFactoryMap.end() ) // no factory for this type
return 0;