diff options
Diffstat (limited to 'kexi/widget/kexicustompropertyfactory.cpp')
-rw-r--r-- | kexi/widget/kexicustompropertyfactory.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/widget/kexicustompropertyfactory.cpp b/kexi/widget/kexicustompropertyfactory.cpp index e89727d0..7936ddb1 100644 --- a/kexi/widget/kexicustompropertyfactory.cpp +++ b/kexi/widget/kexicustompropertyfactory.cpp @@ -29,8 +29,8 @@ using namespace KoProperty; class PixmapIdCustomProperty : public CustomProperty { public: - PixmapIdCustomProperty(Property *tqparent) - : CustomProperty(tqparent) { + PixmapIdCustomProperty(Property *parent) + : CustomProperty(parent) { } virtual ~PixmapIdCustomProperty() {}; virtual void setValue(const TQVariant &value, bool rememberOldValue) { @@ -47,8 +47,8 @@ class PixmapIdCustomProperty : public CustomProperty class IdentifierCustomProperty : public CustomProperty { public: - IdentifierCustomProperty(Property *tqparent) - : CustomProperty(tqparent) { + IdentifierCustomProperty(Property *parent) + : CustomProperty(parent) { } virtual ~IdentifierCustomProperty() {}; virtual void setValue(const TQVariant &value, bool rememberOldValue) @@ -66,8 +66,8 @@ class IdentifierCustomProperty : public CustomProperty //--------------- -KexiCustomPropertyFactory::KexiCustomPropertyFactory(TQObject* tqparent) -: CustomPropertyFactory(tqparent) +KexiCustomPropertyFactory::KexiCustomPropertyFactory(TQObject* parent) +: CustomPropertyFactory(parent) { } @@ -75,13 +75,13 @@ KexiCustomPropertyFactory::~KexiCustomPropertyFactory() { } -CustomProperty* KexiCustomPropertyFactory::createCustomProperty(Property *tqparent) +CustomProperty* KexiCustomPropertyFactory::createCustomProperty(Property *parent) { - const int type = tqparent->type(); + const int type = parent->type(); if (type==(int)KexiCustomPropertyFactory::PixmapId) - return new PixmapIdCustomProperty(tqparent); + return new PixmapIdCustomProperty(parent); else if (type==(int)KexiCustomPropertyFactory::Identifier) - return new IdentifierCustomProperty(tqparent); + return new IdentifierCustomProperty(parent); return 0; } |