From 6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 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/kdewebdev@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/utility/tagactionset.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'quanta/utility/tagactionset.cpp') diff --git a/quanta/utility/tagactionset.cpp b/quanta/utility/tagactionset.cpp index 7d85aaba..d74a2ca9 100644 --- a/quanta/utility/tagactionset.cpp +++ b/quanta/utility/tagactionset.cpp @@ -40,8 +40,8 @@ #include "resource.h" -TagActionSetAbstract::TagActionSetAbstract(TQObject *tqparent, const char *name) - : TQObject(tqparent, name), m_currentNode(0) +TagActionSetAbstract::TagActionSetAbstract(TQObject *parent, const char *name) + : TQObject(parent, name), m_currentNode(0) {} TagActionSetAbstract::~TagActionSetAbstract() @@ -53,7 +53,7 @@ Node* TagActionSetAbstract::parentTag(Node* node, TQString const& tagName) Node* aux = node; while(aux && aux->nodeName().lower() != tagName) - aux = aux->tqparent; + aux = aux->parent; return aux; } @@ -81,8 +81,8 @@ bool TagActionSetAbstract::fillWithTagActions(TQWidget* /*widget*/, DOM::Node co //_____________________________________________________________________________ -TagActionSet::TagActionSet(TQObject *tqparent, const char *name) - : TagActionSetAbstract(tqparent, name), m_separator(0) +TagActionSet::TagActionSet(TQObject *parent, const char *name) + : TagActionSetAbstract(parent, name), m_separator(0) { m_separator = new KActionSeparator(); } @@ -96,7 +96,7 @@ void TagActionSet::initActionMenus(TQWidget* /*widget*/) { } -void TagActionSet::initActions(TQWidget* /*tqparent*/) +void TagActionSet::initActions(TQWidget* /*parent*/) { KActionCollection* ac(TagActionManager::self()->actionCollection()); @@ -266,8 +266,8 @@ void TagActionSet::slotCutDivElement() //_____________________________________________________________________________ -TableTagActionSet::TableTagActionSet(TQObject *tqparent, const char *name) - : TagActionSetAbstract(tqparent, name), m_separator(0), m_tableActionMenu_0(0), m_insertActionMenu_1(0) +TableTagActionSet::TableTagActionSet(TQObject *parent, const char *name) + : TagActionSetAbstract(parent, name), m_separator(0), m_tableActionMenu_0(0), m_insertActionMenu_1(0) { m_separator = new KActionSeparator(); } @@ -287,10 +287,10 @@ void TableTagActionSet::initActionMenus(TQWidget* widget) } -void TableTagActionSet::initActions(TQWidget* tqparent) +void TableTagActionSet::initActions(TQWidget* parent) { if(!m_tableActionMenu_0) - initActionMenus(tqparent); + initActionMenus(parent); KActionCollection* ac(TagActionManager::self()->actionCollection()); @@ -587,7 +587,7 @@ void TableTagActionSet::slotInsertRowAbove() if(!nearRow) return; - Node* nodeParent= nearRow->tqparent; + Node* nodeParent= nearRow->parent; QuantaView* view = ViewManager::ref()->activeView(); NodeModifsSet *modifs = new NodeModifsSet(); @@ -619,7 +619,7 @@ void TableTagActionSet::slotInsertRowBelow() if(!nearRow) return; - Node* nodeParent= nearRow->tqparent; + Node* nodeParent= nearRow->parent; Node* nextSibling = nearRow->SNext(); QuantaView* view = ViewManager::ref()->activeView(); -- cgit v1.2.1