diff options
Diffstat (limited to 'kexi/plugins/macros/kexipart/keximacroproperty.h')
-rw-r--r-- | kexi/plugins/macros/kexipart/keximacroproperty.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/plugins/macros/kexipart/keximacroproperty.h b/kexi/plugins/macros/kexipart/keximacroproperty.h index b80857d1..9419304e 100644 --- a/kexi/plugins/macros/kexipart/keximacroproperty.h +++ b/kexi/plugins/macros/kexipart/keximacroproperty.h @@ -47,24 +47,24 @@ class KexiMacroProperty public: /** Constructor. */ - explicit KexiMacroProperty(KoProperty::Property* tqparent, KSharedPtr<KoMacro::MacroItem> macroitem, const TQString& name); + explicit KexiMacroProperty(KoProperty::Property* parent, KSharedPtr<KoMacro::MacroItem> macroitem, const TQString& name); /** Destructor. */ virtual ~KexiMacroProperty(); - /** @return the tqparent @a KoProperty::Property instance. */ + /** @return the parent @a KoProperty::Property instance. */ KoProperty::Property* parentProperty() const; /** This function is called by @ref KoProperty::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); /** This function is called by @ref KoProperty::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; /** Tells whether CustomProperty should be used to get the property's value. @@ -111,18 +111,18 @@ class KexiMacroPropertyFactory : public KoProperty::CustomPropertyFactory { public: /** Constructor. */ - explicit KexiMacroPropertyFactory(TQObject* tqparent); + explicit KexiMacroPropertyFactory(TQObject* parent); /** Destructor. */ virtual ~KexiMacroPropertyFactory(); - /** @return a new instance of custom property for @p tqparent. + /** @return a new instance of custom property for @p parent. Implement this for property types you want to support. - Use tqparent->type() to get type of the property. */ - virtual KoProperty::CustomProperty* createCustomProperty(KoProperty::Property* tqparent); + Use parent->type() to get type of the property. */ + virtual KoProperty::CustomProperty* createCustomProperty(KoProperty::Property* parent); /** @return a new instance of custom property for @p property. Implement this for property editor types you want to support. - Use tqparent->type() to get type of the property. */ + Use parent->type() to get type of the property. */ virtual KoProperty::Widget* createCustomWidget(KoProperty::Property* property); /** Initializes this factory. The factory may register itself at @@ -144,7 +144,7 @@ class KexiMacroPropertyWidget : public KoProperty::Widget public: /** Constructor. */ - explicit KexiMacroPropertyWidget(KoProperty::Property* property, TQWidget* tqparent = 0); + explicit KexiMacroPropertyWidget(KoProperty::Property* property, TQWidget* parent = 0); /** Destructor. */ virtual ~KexiMacroPropertyWidget(); |