From 04766b207afba7961d4d802313e426f5a2fbef63 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- kexi/formeditor/formIO.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kexi/formeditor/formIO.h') diff --git a/kexi/formeditor/formIO.h b/kexi/formeditor/formIO.h index 5556b240..bb272a13 100644 --- a/kexi/formeditor/formIO.h +++ b/kexi/formeditor/formIO.h @@ -42,7 +42,7 @@ class KFORMEDITOR_EXPORT CustomWidget : public TQWidget TQ_OBJECT public: - CustomWidget(const TQCString &className, TQWidget *tqparent, const char *name); + CustomWidget(const TQCString &className, TQWidget *parent, const char *name); virtual ~CustomWidget(); virtual void paintEvent(TQPaintEvent *ev); @@ -127,13 +127,13 @@ class KFORMEDITOR_EXPORT FormIO : public TQObject static bool loadFormFromFile(Form *form, TQWidget *container, const TQString &filename=TQString()); /*! Saves the widget associated to the ObjectTreeItem \a item into DOM document \a domDoc, - with \a tqparent as tqparent node. + with \a parent as parent node. It calls readPropertyValue() for each object property, readAttribute() for each attribute and itself to save child widgets.\n \return true if saving succeeded. This is used to copy/paste widgets. */ - static void saveWidget(ObjectTreeItem *item, TQDomElement &tqparent, TQDomDocument &domDoc, + static void saveWidget(ObjectTreeItem *item, TQDomElement &parent, TQDomDocument &domDoc, bool insideGridLayout=false); /*! Cleans the "UI" TQDomElement after saving widget. It deletes the "includes" element @@ -142,12 +142,12 @@ class KFORMEDITOR_EXPORT FormIO : public TQObject static void cleanClipboard(TQDomElement &uiElement); /*! Loads the widget associated to the TQDomElement \a el into the Container \a container, - with \a tqparent as tqparent widget. - If tqparent = 0, the Container::widget() is used as tqparent widget. + with \a parent as parent widget. + If parent = 0, the Container::widget() is used as parent widget. This is used to copy/paste widgets. */ static void loadWidget(Container *container, - const TQDomElement &el, TQWidget *tqparent=0); + const TQDomElement &el, TQWidget *parent=0); /*! Save an element in the \a domDoc as child of \a parentNode. The element will be saved like this : @@ -174,15 +174,15 @@ class KFORMEDITOR_EXPORT FormIO : public TQObject Properties of subwidget are saved with subwidget="true" arribute added to 'property' XML element. */ - static void savePropertyValue(TQDomElement &parentNode, TQDomDocument &tqparent, const char *name, + static void savePropertyValue(TQDomElement &parentNode, TQDomDocument &parent, const char *name, const TQVariant &value, TQWidget *w, WidgetLibrary *lib=0); protected: /*! Saves the TQVariant \a value as text to be included in an xml file, with \a parentNode.*/ - static void writeVariant(TQDomDocument &tqparent, TQDomElement &parentNode, TQVariant value); + static void writeVariant(TQDomDocument &parent, TQDomElement &parentNode, TQVariant value); /*! Creates a toplevel widget from the TQDomElement \a element in the Form \a form, - with \a tqparent as tqparent widget. + with \a parent as parent widget. It calls readPropertyValue() and loadWidget() to load child widgets. */ static void createToplevelWidget(Form *form, TQWidget *container, TQDomElement &element); -- cgit v1.2.1