summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/property.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/property.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/property.cpp')
-rw-r--r--lib/koproperty/property.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/koproperty/property.cpp b/lib/koproperty/property.cpp
index 0add7b91..49ca2b6c 100644
--- a/lib/koproperty/property.cpp
+++ b/lib/koproperty/property.cpp
@@ -43,7 +43,7 @@ class PropertyPrivate
: caption(0), listData(0), changed(false), storable(true),
readOnly(false), visible(true),
autosync(-1), custom(0), useCustomProperty(true),
- sets(0), tqparent(0), tqchildren(0), relatedProperties(0),
+ sets(0), parent(0), tqchildren(0), relatedProperties(0),
sortingKey(0)
{
}
@@ -98,7 +98,7 @@ class PropertyPrivate
TQPtrDict< TQGuardedPtr<Set> > *sets;
// TQValueList<Set*> sets;
- Property *tqparent;
+ Property *parent;
TQValueList<Property*> *tqchildren;
//! list of properties with the same name (when intersecting buffers)
TQValueList<Property*> *relatedProperties;
@@ -172,7 +172,7 @@ KoProperty::createValueListFromStringLists(const TQStringList &keys, const TQStr
Property::Property(const TQCString &name, const TQVariant &value,
const TQString &caption, const TQString &description,
- int type, Property* tqparent)
+ int type, Property* parent)
: d( new PropertyPrivate() )
{
d->name = name;
@@ -186,14 +186,14 @@ Property::Property(const TQCString &name, const TQVariant &value,
d->custom = FactoryManager::self()->createCustomProperty(this);
- if (tqparent)
- tqparent->addChild(this);
+ if (parent)
+ parent->addChild(this);
setValue(value, false);
}
Property::Property(const TQCString &name, const TQStringList &keys, const TQStringList &strings,
const TQVariant &value, const TQString &caption, const TQString &description,
- int type, Property* tqparent)
+ int type, Property* parent)
: d( new PropertyPrivate() )
{
d->name = name;
@@ -204,14 +204,14 @@ Property::Property(const TQCString &name, const TQStringList &keys, const TQStri
d->custom = FactoryManager::self()->createCustomProperty(this);
- if (tqparent)
- tqparent->addChild(this);
+ if (parent)
+ parent->addChild(this);
setValue(value, false);
}
Property::Property(const TQCString &name, ListData* listData,
const TQVariant &value, const TQString &caption, const TQString &description,
- int type, Property* tqparent)
+ int type, Property* parent)
: d( new PropertyPrivate() )
{
d->name = name;
@@ -222,8 +222,8 @@ Property::Property(const TQCString &name, ListData* listData,
d->custom = FactoryManager::self()->createCustomProperty(this);
- if (tqparent)
- tqparent->addChild(this);
+ if (parent)
+ parent->addChild(this);
setValue(value, false);
}
@@ -408,9 +408,9 @@ Property::resetValue()
if (cleared)
return; //property set has been cleared: no further actions make sense as 'this' is dead
- // maybe tqparent prop is also unchanged now
- if(d->tqparent && d->tqparent->value() == d->tqparent->oldValue())
- d->tqparent->d->changed = false;
+ // maybe parent prop is also unchanged now
+ if(d->parent && d->parent->value() == d->parent->oldValue())
+ d->parent->d->changed = false;
if (d->sets) {
for (TQPtrDictIterator< TQGuardedPtr<Set> > it(*d->sets); it.current(); ++it) {
@@ -648,9 +648,9 @@ Property::child(const TQCString &name)
}
Property*
-Property::tqparent() const
+Property::parent() const
{
- return d->tqparent;
+ return d->parent;
}
void
@@ -664,7 +664,7 @@ Property::addChild(Property *prop)
d->tqchildren = new TQValueList<Property*>();
d->tqchildren->append(prop);
prop->setSortingKey(d->tqchildren->count());
- prop->d->tqparent = this;
+ prop->d->parent = this;
}
else {
kopropertywarn << "Property::addChild(): property \"" << name()