summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/factory.cpp')
-rw-r--r--lib/koproperty/factory.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/koproperty/factory.cpp b/lib/koproperty/factory.cpp
index a042ca28..864d4895 100644
--- a/lib/koproperty/factory.cpp
+++ b/lib/koproperty/factory.cpp
@@ -104,10 +104,10 @@ FactoryManager::registerFactoryForEditor(int editorType, CustomPropertyFactory *
{
if(!widgetFactory)
return;
- if(d->registeredWidgets.tqfind(editorType))
+ if(d->registeredWidgets.find(editorType))
kopropertywarn << "FactoryManager::registerFactoryForEditor(): "
"Overriding already registered custom widget type \"" << editorType << "\"" << endl;
- d->registeredWidgets.tqreplace(editorType, widgetFactory);
+ d->registeredWidgets.replace(editorType, widgetFactory);
}
void
@@ -121,7 +121,7 @@ FactoryManager::registerFactoryForEditors(const TQValueList<int> &editorTypes, C
CustomPropertyFactory *
FactoryManager::factoryForEditorType(int type)
{
- return d->registeredWidgets.tqfind(type);
+ return d->registeredWidgets.find(type);
}
Widget*
@@ -132,7 +132,7 @@ FactoryManager::createWidgetForProperty(Property *property)
const int type = property->type();
- CustomPropertyFactory *factory = d->registeredWidgets.tqfind(type);
+ CustomPropertyFactory *factory = d->registeredWidgets.find(type);
if (factory)
return factory->createCustomWidget(property);
@@ -224,11 +224,11 @@ FactoryManager::registerFactoryForProperty(int propertyType, CustomPropertyFacto
{
if(!factory)
return;
- if(d->registeredCustomProperties.tqfind(propertyType))
+ if(d->registeredCustomProperties.find(propertyType))
kopropertywarn << "FactoryManager::registerFactoryForProperty(): "
"Overriding already registered custom property type \"" << propertyType << "\"" << endl;
- d->registeredCustomProperties.tqreplace(propertyType, factory);
+ d->registeredCustomProperties.replace(propertyType, factory);
}
void
@@ -244,7 +244,7 @@ CustomProperty*
FactoryManager::createCustomProperty(Property *tqparent)
{
const int type = tqparent->type();
- CustomPropertyFactory *factory = d->registeredWidgets.tqfind(type);
+ CustomPropertyFactory *factory = d->registeredWidgets.find(type);
if (factory)
return factory->createCustomProperty(tqparent);