diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/koproperty/customproperty.h | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-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/customproperty.h')
-rw-r--r-- | lib/koproperty/customproperty.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/koproperty/customproperty.h b/lib/koproperty/customproperty.h index 60584ca3..45107eb3 100644 --- a/lib/koproperty/customproperty.h +++ b/lib/koproperty/customproperty.h @@ -40,20 +40,20 @@ class Property; class KOPROPERTY_EXPORT CustomProperty { public: - CustomProperty(Property *tqparent); + CustomProperty(Property *parent); virtual ~CustomProperty(); /*! This function is called by \ref Property::setValue() when a custom property is set. You don't have to modify the property value, it is done by Property class. - You just have to update child or tqparent properties value (m_property->tqparent()->setValue()). + You just have to update child or parent properties value (m_property->parent()->setValue()). Note that, when calling Property::setValue, you <b>need</b> to set useCustomProperty (3rd parameter) to false, or there will be infinite recursion. */ virtual void setValue(const TQVariant &value, bool rememberOldValue) = 0; /*! This function is called by \ref Property::value() when a custom property is set and \ref handleValue() is true. - You should return property's value, taken from tqparent's value.*/ + You should return property's value, taken from parent's value.*/ virtual TQVariant value() const = 0; /*! Tells whether CustomProperty should be used to get the property's value. @@ -66,7 +66,7 @@ class KOPROPERTY_EXPORT CustomProperty Property *m_property; /*! This method emits the \a Set::propertyChanged() signal for all - sets our tqparent-property is registered in. */ + sets our parent-property is registered in. */ void emitPropertyChanged(); }; @@ -74,7 +74,7 @@ class KOPROPERTY_EXPORT CustomProperty class KOPROPERTY_EXPORT SizeCustomProperty : public CustomProperty { public: - SizeCustomProperty(Property *tqparent); + SizeCustomProperty(Property *parent); ~SizeCustomProperty(); void setValue(const TQVariant &value, bool rememberOldValue); @@ -86,7 +86,7 @@ class KOPROPERTY_EXPORT SizeCustomProperty : public CustomProperty class KOPROPERTY_EXPORT PointCustomProperty : public CustomProperty { public: - PointCustomProperty(Property *tqparent); + PointCustomProperty(Property *parent); ~PointCustomProperty(); void setValue(const TQVariant &value, bool rememberOldValue); @@ -98,7 +98,7 @@ class KOPROPERTY_EXPORT PointCustomProperty : public CustomProperty class KOPROPERTY_EXPORT RectCustomProperty : public CustomProperty { public: - RectCustomProperty(Property *tqparent); + RectCustomProperty(Property *parent); ~RectCustomProperty(); void setValue(const TQVariant &value, bool rememberOldValue); @@ -110,7 +110,7 @@ class KOPROPERTY_EXPORT RectCustomProperty : public CustomProperty class KOPROPERTY_EXPORT SizePolicyCustomProperty : public CustomProperty { public: - SizePolicyCustomProperty(Property *tqparent); + SizePolicyCustomProperty(Property *parent); ~SizePolicyCustomProperty(); void setValue(const TQVariant &value, bool rememberOldValue); |