summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/factory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/koproperty/factory.cpp
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/koproperty/factory.cpp')
-rw-r--r--lib/koproperty/factory.cpp18
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;
}