diff options
Diffstat (limited to 'lib/koproperty/factory.cpp')
-rw-r--r-- | lib/koproperty/factory.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/koproperty/factory.cpp b/lib/koproperty/factory.cpp index 864d4895..03d466f4 100644 --- a/lib/koproperty/factory.cpp +++ b/lib/koproperty/factory.cpp @@ -53,8 +53,8 @@ static KoProperty::FactoryManager* m_manager = 0; namespace KoProperty { -CustomPropertyFactory::CustomPropertyFactory(TQObject *tqparent) - : TQObject(tqparent) +CustomPropertyFactory::CustomPropertyFactory(TQObject *parent) + : TQObject(parent) { } @@ -241,23 +241,23 @@ FactoryManager::registerFactoryForProperties(const TQValueList<int> &propertyTyp } CustomProperty* -FactoryManager::createCustomProperty(Property *tqparent) +FactoryManager::createCustomProperty(Property *parent) { - const int type = tqparent->type(); + const int type = parent->type(); CustomPropertyFactory *factory = d->registeredWidgets.find(type); if (factory) - return factory->createCustomProperty(tqparent); + return factory->createCustomProperty(parent); switch(type) { case Size: case Size_Width: case Size_Height: - return new SizeCustomProperty(tqparent); + return new SizeCustomProperty(parent); case Point: case Point_X: case Point_Y: - return new PointCustomProperty(tqparent); + return new PointCustomProperty(parent); case Rect: case Rect_X: case Rect_Y: case Rect_Width: case Rect_Height: - return new RectCustomProperty(tqparent); + return new RectCustomProperty(parent); case SizePolicy: case SizePolicy_HorStretch: case SizePolicy_VerStretch: case SizePolicy_HorData: case SizePolicy_VerData: - return new SizePolicyCustomProperty(tqparent); + return new SizePolicyCustomProperty(parent); default: return 0; } |